Date & Time

Age and date difference

Count a real calendar age, not “days divided by 365.” Or measure the gap between any two dates.

Result

—

How it works

The calculator walks forward from the start date. It adds whole years while the anniversary still falls on or before the end date, then whole months, then counts the leftover days. That is why 15 January 2020 to 10 March 2024 is 4 years, 1 month, and 24 days, rather than a decimal made from 365.25.

February 29 is observed on February 28 in years that are not leap years. Someone born on 29 February 2020 turns one on 28 February 2021. The date-difference tab uses the same engine without calling it a birthday. Total days are exact midnights on the calendar, so daylight saving time does not add or remove a day. Ages are calendar facts, not medical or legal advice.

Formula

  • Calendar age
    whole years, then whole months, then the remaining days
  • Total days
    UTC midnight of the end date minus UTC midnight of the start date
  • Leap day
    29 February is observed on 28 February in a non-leap year

Worked examples

A birthday in June

Born 15 June 1990, as of 16 November 2026: 36 years, 5 months, 1 day.

A leap-day birthday

Born 29 February 2020, as of 28 February 2021: exactly 1 year. The next observed birthday in 2021 falls on the 28th.

A project span

1 May 2024 to 1 May 2026 is 2 years and 731 days, because 2024 is a leap year and the span includes 29 February 2024.

Calendar spans from 1 January 2024
End dateAgeTotal days
2024-01-010 days0 days. Same day
2024-02-011 month31 days. A 31-day month
2025-01-011 year366 days. Includes 29 February 2024
2028-01-014 years1,461 days. Includes one leap day, 2024

Common questions

How is age calculated?

In completed years, then completed months, then leftover days. It does not divide the day count by 365.25, which would drift off the birthday.

What happens to a February 29 birthday?

In a year with no February 29, the birthday is observed on February 28. In a leap year it stays on the 29th. The next-birthday line uses that same rule.

Why can the total days and the years-months-days look unrelated?

Months have different lengths. One month and one day from 31 January 2024 lands on 1 March, because February 2024 has 29 days and there is no January 31 inside February. The total-days figure is the exact count alongside that calendar phrase.

Does the time of day matter?

No. Both tabs use calendar dates. A person born at 11 p.m. and a person born at 1 a.m. have the same date age on this page.

Can the end date be earlier?

Yes. The difference tab reports the gap and says it is earlier. The age tab does the same if the “age on” date is before the birth date.