Guides

How to Calculate Your Age from a Birth Year

Work out your age from a birth year with the 2002, 2003 and 1997 examples. See why your birthday shifts the answer by a year, plus a formula, table and FAQs.

Miryori Editorial Team3 min read
Open the calculator

Knowing only the year you were born is almost enough to know your age — but not quite. Whether your birthday has happened yet in the reference year changes the answer by a full year. The age-to-birthday calculator handles this by comparing a birth date with a reference date, and its source guide gives worked examples for three birth years.

To work out your age from a birth year, subtract the birth year from the year in which you want the age, then check whether your birthday has already happened in that year. The sourced examples use 2025 as the reference year: someone born in 2002 turns 23, born in 2003 turns 22, and born in 1997 turns 28. Before the birthday, each is one year younger.

What is the birth-year-to-age formula?

The calculator defines age from the gap between a reference date and a date of birth, divided by 365.2425 days per year:

age=reference date−date of birth365.2425\text{age} = \frac{\text{reference date} - \text{date of birth}}{365.2425}

With whole years, the source guide reduces this to a subtraction followed by a birthday check:

age=reference year−birth yearafter the birthday\text{age} = \text{reference year} - \text{birth year} \quad \text{after the birthday}

age=reference year−birth year−1before the birthday\text{age} = \text{reference year} - \text{birth year} - 1 \quad \text{before the birthday}

The first line matches the source's "Current year - Birth year" step; the second line is the same source's warning that you are still a year younger until the birthday arrives.

How old are people born in 2002, 2003 and 1997?

These are the three birth years answered in the source guide's FAQ, all measured against 2025:

Birth year Calculation Age after birthday in 2025 Age before birthday in 2025
2002 2025 - 2002 23 22
2003 2025 - 2003 22 21
1997 2025 - 1997 28 27

The pattern is identical in each row: the subtraction gives the age reached during 2025, and the "before birthday" column is one less. The source states the 2002 case plainly — once your birthday occurs in 2025 you are 23, because 23 years have passed from 2002 to 2025, and if it has not occurred yet you are still 22.

Why does the birthday matter for the answer?

A birth year names a range of twelve months, while an age counts completed years. Someone born late in 2003 and someone born early in 2003 are both "born in 2003", but on any date in the first weeks of 2025 only one of them has completed 22 years. That is why the source guide always pairs the subtraction with a second step: look at your birthday and decide whether it has occurred in the reference year yet.

Worked example: born in 2003

The source guide walks through this case in two steps:

  1. Subtract the birth year from the current year: 2025 - 2003 = 22 years.
  2. Look at the birthday. If it has not occurred in 2025 yet, you are still 21; once the birthday arrives, you are 22.

With a birth date rather than just a year, the age-to-birthday calculator performs the same comparison against the On... reference date and returns the age directly, so you do not have to do the birthday check by hand.

FAQ

How old am I if I was born in 1997?

Once your birthday occurs in 2025, you will be 28, because 2025 - 1997 = 28 years have passed. If your birthday has not occurred yet that year, you are still 27.

What if my birthday has not happened yet this year?

You are one year younger than the simple subtraction suggests. The source guide repeats this for every birth year it answers: 22 instead of 23 for 2002, 21 instead of 22 for 2003, and 27 instead of 28 for 1997.

Does the birth year alone give my age?

No. The source method needs the birthday as well: the year subtraction gives the age you will reach during the reference year, and the month and day tell you whether you have reached it yet.

References

  • The age-to-birthday calculator source FAQ, including the 2002, 2003 and 1997 examples.
  • The calculator equation age = (end_date - date_of_birth) / 365.2425.
  • Standard calendar arithmetic for completed years between a birth date and a reference date.
Calculator

Age to Birthday Calculator

Age to Birthday: input your age and calculate your birthday with this tool!. Free, fast and private.

Open the calculator