Age is a count of completed years
A person’s age in years counts the birthdays they have had. It goes up on the birthday itself, and stays the same on every day before it. On the day before a birthday the last year isn’t complete yet, so the age is still the old one, however close the date is.
For forms and records, a number of years is often all that is asked. When more detail is wanted, the same span can be written as years, months and days, or as a total of months, weeks or days.
The Age calculator shows all of these from two dates. The first field is Date of birth. The second is Age on, which starts as today. Change it to any date on or after the date of birth, past or future, to find the age on that day.
What the calculator shows
The result has a headline and five rows.
- Age is the whole years, such as 36 years.
- Years, months and days splits the span into those three units, leaving out any that are zero.
- Total months is the whole months from the date of birth.
- Weeks and days and Total days count the calendar days between the two dates.
- Next birthday names the date, with its weekday, and how many days remain.
The birth date is day 0. Born on 15 June 1990, someone is 1 day old on 16 June 1990, and the Total days row says 1 day.
Worked examples
Each example sets Date of birth and Age on in the Age calculator.
Born on 31 January 1990, measured on 1 March 2026
The Age row reads 36 years. Years, months and days reads 36 years, 1 month and 1 day. Total months is 433 months, Weeks and days is 1,882 weeks and 4 days and Total days is 13,178 days.
The Next birthday row reads Sunday, 31 January 2027 · in 336 days.
Born on 29 February 2004, in a year with no 29 February
The year 2026 has no 29 February. With Age on set to 27 February 2026, Age reads 21 years and Years, months and days reads 21 years, 11 months and 29 days. Next birthday reads Saturday, 28 February 2026 · tomorrow.
On 28 February 2026, Age reads 22 years and Years, months and days reads just 22 years. On 1 March 2026 it reads 22 years and 1 day, and Total days is 8,036 days. The calculator counts a 29 February birthday on 28 February in years that lack the date.
The day before a birthday and the birthday itself
Born on 15 June 1990, the Age on 14 June 2026 is 35 years, and Years, months and days reads 35 years, 11 months and 30 days. Total days is 13,148 days.
One day later, on 15 June 2026, Age reads 36 years, Years, months and days reads just 36 years and Total days is 13,149 days. Next birthday is then Tuesday, 15 June 2027 · in 365 days.
Why months in an age need a rule
Years always have 12 months, but a month is not a fixed number of days. A calendar month has 28, 29, 30 or 31, so “one month after the 31st of January” has no clear answer when February is short.
The calculator uses one rule: a month is counted each time the same day of the month comes round again, and when the next month is too short to have that day, the last day of that month counts. Any days left after the whole months are shown as days.
Here is the rule at work. Someone born on 31 January 1990 and measured on 28 February 2026 is 36 years and 1 month old, because the last day of February counts as the 31st. Born on 30 January 1990, the answer on the same date is also 36 years and 1 month. One day later, on 1 March, the first person is 1 month and 1 day past 36 years, as in the first worked example.
The rule is a convention, and other rules exist. A form that defines age or months in its own way is the authority for that form.
Leap-day birthdays
Someone born on 29 February can only have the exact date in a leap year. The calculator counts the birthday on 28 February in the other years, and says so under its assumptions. On 28 February 2026 the person born in 2004 turns 22, as the example above shows.
In the next leap year the birthday is back on 29 February. Measured on 28 February 2028, the same person is 23 years, 11 months and 30 days, with the birthday the next day, Tuesday, 29 February 2028. On 29 February 2028 the Age row reads 24 years.
Limits and what is stored
The calendar is Gregorian, applied back to the year 1, and the last date accepted is 31 December 9999. The date of birth can’t be later than the Age on date, and the calculator marks the Date of birth field when it is. If the next birthday would fall after the year 9999, the row reads After the year 9999.
Both fields are calendar dates, with no time of day. The dates are used for the sum and nothing else: they aren’t uploaded, and the page doesn’t remember them for next time.