What this calculator does
This is a solver for a classic arithmetic "age word problem": given a parent's current age, a child's current age, and a target multiple N, it finds how many years from now the parent's age will be exactly N times the child's age. It also tells you what each person's age will be at that moment. The result can be negative, meaning the event happened that many years in the past.
How to use it
Enter the parent's current age, the child's current age, and the multiple N (for example 2 means "twice as old"). The calculator returns the number of years from now, the child's age and the parent's age at that time, and the constant age difference. A negative "years from now" simply means the moment already passed.
The formula explained
The key insight is that the age difference between two people never changes: \(D = \text{parentAge} - \text{childAge}\) stays the same forever. At the target time we want \(\text{futureParentAge} = N \times \text{futureChildAge}\) while the difference is still \(D\). Substituting gives \(\text{futureChildAge} \times (N - 1) = D\), so:
$$\text{futureChildAge} = \frac{\text{parentAge} - \text{childAge}}{N - 1}$$, then $$\text{futureParentAge} = N \times \text{futureChildAge}$$, and $$\text{yearsFromNow} = \text{futureParentAge} - \text{parentAge}$$. If \(N = 1\) the formula divides by zero (two people can never share the same age while keeping a constant nonzero difference), so there is no solution.
Worked example
Parent 41, child 13, \(N = 2\). The difference $$D = 41 - 13 = 28.$$ $$\text{futureChildAge} = \frac{28}{2 - 1} = 28.$$ $$\text{futureParentAge} = 28 \times 2 = 56.$$ $$\text{yearsFromNow} = 56 - 41 = 15.$$ So in 15 years the child will be 28 and the parent 56, and \(56 = 2 \times 28\).
Scenario Comparison: How the Multiple N Changes the Answer
Take a parent who is 40 and a child who is 10, so the age difference is always \(D = 40 - 10 = 30\) years. At the moment the parent is N times as old as the child, the child's age is \(\frac{30}{N-1}\) and the parent's age is \(N \times \frac{30}{N-1}\). The years from now are the parent's age at that moment minus 40.
| N | Child's age then = 30/(N−1) | Parent's age then = N × child's age | Years from now = parent's age − 40 | Future or past? |
|---|---|---|---|---|
| 2 | 30 | 60 | +20 | Future |
| 3 | 15 | 45 | +5 | Future |
| 4 | 10 | 40 | 0 | Now (today) |
| 5 | 7.5 | 37.5 | −2.5 | Past |
| 6 | 6 | 36 | −4 | Past |
Check the N = 3 row: in 5 years the child is 15 and the parent is 45, and \(45 = 3 \times 15\).
The table shows a clear pattern. Today the parent is 4 times the child's age (40 ÷ 10). So any N below 4 lies in the future, because the ratio shrinks as both people age. Any N above 4 lies in the past, when the child was younger and the ratio was larger. As N grows, that moment moves further back in time.
The child's age at that moment, \(\frac{30}{N-1}\), is always positive. It gets closer to 0 as N increases but never reaches or goes below 0. So a past answer is only valid if it is not before the child was born. For N = 6, the child was 6, which is 4 years ago, so the answer is valid. A negative "years from now" means the event already happened, and it is only realistic when the child's age then is at least 0. The case N = 1 is impossible whenever there is an age difference, because the parent is always older.
FAQ
Why can the answer be negative? Because the relationship may have been true in the past. For example, parent 40, child 10, \(N = 5\) gives \(-2.5\) years: 2.5 years ago the parent (37.5) was 5 times the child (7.5).
What if I enter N = 1? There is no solution. Two people with a fixed nonzero age gap can never be equal in age.
Can the ages be fractional? Yes. The math is exact, so the child's and parent's future ages may be decimals such as 7.5 years.