Everyday

Age Relationship Calculator

Solve a stated age relationship: find when one age is a multiple of another, or find present ages from a difference and another condition.

Your result appears here after you calculate.

Check this calculator’s assumptions and limits below.

How the calculation works

For present ages A and B and time t, A + t = r × (B + t). If r is not 1, t = (rB − A) / (1 − r). With difference d and a specified t, B = d / (r − 1) − t and A = B + d. With sum s and difference d, A = (s + d) / 2 and B = (s − d) / 2.

A worked example

If person A is 40 and person B is 10, A will be twice B’s age in 20 years: 60 = 2 × 30. To find when a child is half a parent’s age, set A to the parent, B to the child and the ratio to 2.

Before you use the result

This is a worksheet for three stated algebra templates. Enter all ages in the same continuous decimal-year unit; whole-birthday ages alone cannot identify an exact calendar date. Person A must be the older person in the difference templates. Present-age inputs and differences are 0–1,000 years, the sum is 0–2,000, the time offset is −1,000 to 1,000, and the ratio is greater than 0 and at most 1,000, with up to six decimal places. Results may exceed the input ranges and do not predict survival. Ratio comparisons require both ages to be positive. Results round to eight decimal places; very small nonzero results retain their sign. No birth-date discovery, calculator magic trick, arbitrary word-problem parser, or missing-condition guess is provided.

References