GamifiedGamified challengesPracticeRaceLeaderboardPricing

Learn data structures by watching them move, then doing it yourself. Press M anytime to toggle sound.

A product of Amypo Technologies, Coimbatore.

Learn

  • Fundamentals & OOPs
  • Data structures and algorithms
  • Aptitude
  • Learning path
  • How it works
  • About dotprep

Practice

  • Practice arena
  • Daily challenge
  • Gamified challenges
  • Race mode
  • Leaderboard

Interview prep

  • Java interview
  • Coding questions
  • Company questions
  • System design
  • Jobs & careers

You

  • Dashboard
  • Settings
  • Pricing
  • Create account

© 2026 dotprep

Content last updated 27 November 2026

GamifiedGamified challengesPracticeRaceLeaderboardPricing
AptitudeQuantitative aptitude · Arithmetic

Problems on Ages

Using the one fixed fact — everyone ages at the same rate — to solve age ratios, multiples across time, sums and differences, and family-average problems.

5 min read 45 questions
Practice questions
4816+y

On this page

1/10
  1. 011. What makes age problems special
  2. 022. The three moves
  3. 033. Ratios of ages
  4. 044. Ratio now and a ratio later
  5. 055. Multiples across time
  6. 066. A worked hard problem
  7. 077. Shortcuts
  8. 088. Common traps
  9. 099. Revision sheet
  10. 10Practice
Back to top

1. What makes age problems special

Age problems are ratio and equation problems with one extra fact built in: everyone ages at the same rate. One year from now every person is exactly one year older, so the difference between any two ages never changes. That single idea solves most of these questions, and it is the one most people forget.

The gap stays 10 years throughout5 yr agoA 20, B 10+5nowA 25, B 15+5in 5 yrA 30, B 20
Both ages rise together, so the 10-year gap is the same in the past, the present and the future.

Tests ask them because they look wordy but reward a clear method: name the present ages, turn each sentence into an equation, and solve. The traps are reading "3 times as old" the wrong way round and forgetting to age both people when you move in time.

2. The three moves

PhraseWhat it means
"after n years"add n to every age
"n years ago"subtract n from every age
"A is t times B"A = t × B (now)
"A is older than B by d"A − B = d, always
"ratio of ages is a : c"ages are a·k and c·k for some k
"A is a/b of B"A = (a/b) × B

Whatever year the question moves to, change every person's age by the same amount. The difference of two ages is a constant; the ratio of two ages is not.

3. Ratios of ages

When ages are in a ratio, write them as equal parts. If two ages are in the ratio 3 : 4 and add up to 42, there are 3 + 4 = 7 parts, so one part is 42 ÷ 7 = 6 years, giving ages 18 and 24.

3 parts4 partssum = 42 years
Each person is a whole number of equal parts; find the value of one part first.

If instead the difference is given, divide it by the difference of the ratio numbers: for 3 : 4 the gap is 4 − 3 = 1 part. The ratio changes over time, so a present ratio and a future ratio are two different equations — never add the same k to both numbers of a ratio and expect it to stay the same.

The same idea scales to three or more people. Ages in the ratio 2 : 3 : 4 are 2k, 3k and 4k, so their sum is 9k and any one age fixes the rest. Because every part is the same number of years, the person with more parts is always older, and the youngest holds the smallest count of parts — a useful check when you are asked specifically for the eldest or the youngest.

4. Ratio now and a ratio later

This is the commonest medium question. Write the present ages from the first ratio, then shift them and set the second ratio. Present ages 4k and 5k, and after 6 years the ratio is 5 : 6:

Two ratios, one unknown know4k : 5k+6 eachin 6 yr5 : 6
Only k is unknown; the second ratio gives one equation to solve for it.

(4k + 6)/(5k + 6) = 5/6 → 6(4k + 6) = 5(5k + 6) → 24k + 36 = 25k + 30 → k = 6. The present ages are 24 and 30. Always clear the fraction by cross-multiplying, then collect k on one side.

5. Multiples across time

"A father will be 3 times as old as his son in 4 years" becomes (father + 4) = 3 × (son + 4). Combine it with a second fact — a present multiple, a difference, or a sum — to get two equations in two unknowns.

Grandfather6 partsFather2 partsSon1 part
Chained multiples (grandfather = 3 × father = 6 × son) are easiest as parts of the smallest age.

For three linked generations, call the youngest 1 part and build up: if the grandfather is 3 times the father and the father 2 times the son, the three are 6, 2 and 1 parts. Add the parts and divide the total age to find one part.

6. A worked hard problem

*Five years ago A and B were in the ratio 2 : 3; five years from now they will be in the ratio 3 : 4. Find A's present age.* Let the present ages be A and B.

  1. Past: (A − 5)/(B − 5) = 2/3 → 3A − 15 = 2B − 10 → 3A − 2B = 5.
  2. Future: (A + 5)/(B + 5) = 3/4 → 4A + 20 = 3B + 15 → 4A − 3B = −5.
  3. Solve the pair: A = 25, B = 35.
A past ratio and a future ratio5 yr ago2 : 3+5now25 : 35+5in 5 yr3 : 4
Two ratios at two times give two equations; solve them together for the present ages.

7. Shortcuts

  • Fix on the difference. It never changes, so it links any two moments in time.
  • Parts, not variables. A ratio a : c means ages a·k and c·k; find k first.
  • Ratio difference for a gap: if a : c differ by d years, one part = d ÷ (c − a).
  • Move everyone together. Add or subtract the same number from every age when you change year.
  • Chained multiples → parts of the youngest. Grandfather 3× father, father 2× son → 6 : 2 : 1.
  • Check your answer in the original sentences, not just the equations.

8. Common traps

  • Reading "A is 3 times B" as B = 3A instead of A = 3B.
  • Ageing only one person when moving to the past or future.
  • Treating a ratio like a difference — adding the same number to both parts and keeping the ratio.
  • Dividing a sum by the wrong number of parts.
  • Giving the age at the wrong time (now vs after n years) — read what the question actually asks.
  • Forgetting that "n years ago" needs n subtracted, not added.

9. Revision sheet

  • The difference between two ages is constant; the ratio is not.
  • "n years ago" → subtract n from every age; "after n years" → add n.
  • Ratio a : c → ages a·k, c·k; one part = sum ÷ (a + c) or gap ÷ (c − a).
  • Two ratios at two times → two equations; cross-multiply and solve for k.
  • "A is t times B" → A = t·B. Chained multiples → parts of the youngest.
  • Always answer for the exact person and time the question names.

Practice

45 questions in 3 sets. Every answer comes with its explanation, and each question you get right earns XP.

  • Easy · 15
  • Medium · 15
  • Hard · 15
Start practising
PreviousAveragesNextMixtures and Alligations
Log inStart free