Age Word Problem Solver
Solve classic age word problems step by step — "X is N years older than Y", "in Y years X will be K times Y", three-person age ratios, and father-son past-vs-present puzzles. Sets up the algebra, solves the linear system, verifies the answer, and animates an age timeline for past, present, and future ages.
Your ad blocker is preventing us from showing ads
MiniWebtool is free because of ads. If this tool helped you, please support us by going Premium (ad‑free + faster tools), or allowlist MiniWebtool.com and reload.
- Allow ads for MiniWebtool.com, then reload
- Or upgrade to Premium (ad‑free)
About Age Word Problem Solver
Age word problems are the bread-and-butter of school algebra: a couple of sentences in plain English, two unknown ages, and one or two relationships that connect them. The Age Word Problem Solver translates those sentences into a small system of linear equations, solves the system step by step, and animates a timeline of past, present, and future ages so you can see why the answer makes sense. The five built-in patterns — sum-and-difference, multiple-and-difference, now-vs-future, now-vs-past, and three-person ratio — cover the vast majority of textbook puzzles.
How to use this solver
- Pick the pattern that best matches your puzzle from the dropdown — for example, "X is N years older than Y; sum is S".
- Type the names of the two (or three) people. The names appear inside the equations and in the timeline so the answer reads naturally.
- Toggle the relation between "older than" and "younger than" — both work; the solver flips the sign of the difference automatically.
- Fill in the numbers: age difference, sum, multiple, or years from now or ago, depending on the scenario.
- Watch the live story preview at the top — if the sentence does not match your puzzle, adjust the inputs.
- Click Solve. You will see both ages, the equations the solver set up, the algebraic steps, a verification, and an animated timeline showing the ages at every relevant moment.
The five canonical patterns at a glance
1. Sum and difference
"A is N years older than B; A + B = S."
\( A = \dfrac{S + N}{2}, \quad B = \dfrac{S - N}{2} \)
2. Multiple and difference
"A is N years older than B; A is K times B."
\( B = \dfrac{N}{K - 1}, \quad A = K \cdot B \)
3. Now vs future
"In Y years, A will be K times B."
\( B = \dfrac{N}{K - 1} - Y, \quad A = B + N \)
4. Now vs past
"Y years ago, A was K times B."
\( B = \dfrac{N}{K - 1} + Y, \quad A = B + N \)
5. Three-person ratio
"A : B : C = p : q : r; sum is S."
\( A = \dfrac{p \, S}{p + q + r}, \quad B = \dfrac{q \, S}{p + q + r}, \quad C = \dfrac{r \, S}{p + q + r} \)
The trick that makes age problems easy
Everyone ages at the same rate. So if A is N years older than B today, A is still N years older than B in ten years, in twenty years, or ten years ago. That single invariant is what turns sentences like "in 5 years she will be twice as old as he is" into linear equations rather than a tangle of unknowns:
\[ \text{age difference} \;=\; \text{constant in time} \]
Once you write each person's age as "now" plus or minus the time shift, the equation becomes a single linear relation between two unknowns. With one more piece of information — a sum, a multiple, or a ratio — the system has a unique solution.
Worked example: now vs future
Anna is 8 years older than Ben. In 5 years, Anna will be twice as old as Ben. How old is each now?
- Let Ben's current age be \( b \). Then Anna's current age is \( b + 8 \).
- In 5 years, the ages are \( b + 5 \) and \( b + 13 \).
- The condition "Anna will be twice as old as Ben" gives \( b + 13 = 2(b + 5) \).
- Expand: \( b + 13 = 2b + 10 \), so \( b = 3 \).
- Therefore Ben is 3 and Anna is 11.
- Verify: in 5 years Ben is 8, Anna is 16, and \( 16 = 2 \cdot 8 \). ✓
Worked example: three-person ratio
The ages of Ava, Bea, and Cy are in the ratio 3 : 4 : 5, and the three together are 60 years old.
- Let one ratio unit be \( x \). Then Ava is \( 3x \), Bea is \( 4x \), Cy is \( 5x \).
- Their sum: \( 3x + 4x + 5x = 12x = 60 \).
- Solve: \( x = 5 \). So Ava is 15, Bea is 20, Cy is 25.
- Verify: \( 15 + 20 + 25 = 60 \). ✓
Common pitfalls and how to avoid them
- Forgetting that the difference is constant — students often write \( A + Y \) but forget that B has also aged Y years. Always shift both ages by the same amount.
- Confusing "K times" with "K times older than" — "twice as old" usually means \( A = 2B \). Some textbooks use "twice older" to mean \( A = 3B \). Pick the convention that matches your textbook and stick to it. The solver uses "K times" = \( A = K \cdot B \).
- K = 1 has no solution — that would mean A = B but you also said A is N years older than B, which contradicts a non-zero difference. The solver flags this case.
- Negative past ages — if a problem says "5 years ago A was 4 times as old as B" and the math gives B = 2 today, then 5 years ago B would be \( -3 \) — impossible. The solver checks this and warns you.
- Mixing "older" and "younger" — the relation toggle handles either direction. If A is younger, just swap names or toggle to "younger than"; the algebra is the same.
Quick translation table
| English phrase | Algebra | Example |
|---|---|---|
| A is N years older than B | \( A = B + N \) | Anna is 8 older → \( A = B + 8 \) |
| A is N years younger than B | \( A = B - N \) | Anna is 5 younger → \( A = B - 5 \) |
| A is K times as old as B | \( A = K \cdot B \) | Twice as old → \( A = 2B \) |
| In Y years, A will be … | \( A + Y \) | In 5 years, Anna → \( A + 5 \) |
| Y years ago, A was … | \( A - Y \) | 3 years ago, Anna → \( A - 3 \) |
| Sum of their ages is S | \( A + B = S \) | Together 50 → \( A + B = 50 \) |
| Their ages are in ratio p : q | \( A : B = p : q \) | 3 : 4 → \( A/B = 3/4 \) |
Frequently asked questions
What is an age word problem?
An age word problem describes the ages of two or more people using a mix of differences ("X is N years older than Y"), multiples ("X is K times Y"), and time shifts ("in Y years…", "Y years ago…"). They translate into a small system of linear equations that you solve for each person's current age. The Age Word Problem Solver does the translation and the algebra for you and shows every step.
Why do age problems always come out as linear equations?
Because everyone ages at the same rate, age relationships are always linear in time. If A is N years older than B today, A is N years older than B at every other point in time. The unknowns multiply only by constants, never by other unknowns, so the resulting system is always linear and has a unique solution as soon as you have as many equations as unknowns.
How do I solve "In 5 years, Anna will be 3 times as old as Ben"?
Pick the "Now vs future" scenario. Let Ben's age now be \( b \). Anna's age now is \( b + N \), where \( N \) is the current age difference. In 5 years the ages are \( b + 5 \) and \( b + N + 5 \). Set Anna's future age equal to 3 times Ben's future age and solve. The solver writes all of these steps and verifies the answer.
What does "X is K times as old as Y" mean exactly?
It means age of X equals K times age of Y, i.e. \( X = K \cdot Y \). For example, "Anna is 3 times as old as Ben" means Anna = 3 × Ben. If Ben is 8, Anna is 24. K can be a fraction — 0.5 means half as old, 1.5 means one-and-a-half times as old.
How do you solve a three-person age ratio problem?
If the ratio is \( A : B : C = p : q : r \) and the sum is S, let one ratio unit be \( x \). Then \( A = px \), \( B = qx \), \( C = rx \). The sum equation gives \( (p + q + r)\,x = S \), so \( x = \dfrac{S}{p + q + r} \). Multiply each ratio share by \( x \) to get each age.
What if my puzzle has no realistic solution?
The solver flags the problem if the math gives a negative age, an age below zero in a past-tense scenario, or if the multiplier K equals 1 (which would mean two identical ages, contradicting a non-zero age difference). Adjust the inputs to fit. The error message tells you which constraint failed and how to fix it.
Reference this content, page, or tool as:
"Age Word Problem Solver" at https://MiniWebtool.com// from MiniWebtool, https://MiniWebtool.com/
by miniwebtool team. Updated: 2026-05-10
You can also try our AI Math Solver GPT to solve your math problems through natural language question and answer.