Dates and time · Calculator

How old was someone on this exact date?

The exact age on any date by the civil calendar: completed years, months and days, total days and weeks lived, the next birthday and its day of the week, and the date a given age is reached, with an explicit rule for people born on 29 February.

Exact calculation Formula shown Your data stays in your browser

Your data

1. Dates

The date of birth and the date on which the age is calculated. The time of day and time zones play no part.

2. Leap-day rule

Only for people born on 29 February: which date counts as the birthday in a non-leap year. There is no universal legal meaning, so this is an explicit setting.

Affects only people born on 29 February.
3. Milestone age

The age whose milestone date you want to see.

How we calculate

  1. completed years = year of the date − year of birth, minus 1 if the anniversary in the year of the date is later than the date; next birthday = the anniversary on the date or after it; age at the next birthday = completed years + 1 (on the anniversary itself: completed years)
  2. exact age: from the anniversary of the completed years, full calendar months are added (no more than 11; the day is capped at the last day of a shorter month), days = the date difference after that; total days = the difference between the serial day numbers of the dates; weeks = ⌊total ÷ 7⌋
  3. milestone date for age N = the anniversary after N years; 29 February in a non-leap year → 28 February or 1 March by the chosen rule; serial day number = 365 × (year − 1) + ⌊(year − 1) ÷ 4⌋ − ⌊(year − 1) ÷ 100⌋ + ⌊(year − 1) ÷ 400⌋ + day of the year

Assumptions

  • All dates use the civil Gregorian calendar (proleptic for years before 1582); the time of day, time zones and daylight saving time play no part.
  • Completed years are the number of birthday anniversaries that have already come; the anniversary date itself counts as a completed year.
  • The exact age in months and days is a calendar breakdown: from the last birthday, full calendar months are added with the day capped at the last day of a shorter month; the rest are days.
  • For people born on 29 February, the birthday in a non-leap year is 28 February or 1 March, as you choose; this is not a legal interpretation. change

Limitations

  • It does not determine age for legal purposes: the age of majority, pension and insurance age, the right to vote, the age of consent and the treatment of 29 February follow the rules of a specific jurisdiction.
  • It does not take into account the time of birth, time zones or daylight saving time; for dates before 1582 the proleptic Gregorian calendar is used, not the Julian one.
  • Dates are possible only within the years 1–9999.

Sources

A universal formula with no external constants. Default values are labelled as approximate examples, not verified facts.

Questions and answers

Why are “months and days” counted this way?

Full calendar months are added from the last birthday: for example, 31 January plus one month is 28 February (or 29 in a leap year), because the shorter month caps the day. The rest are days. This is a calendar breakdown, not an “average month length” of 30.44 days.

When is the birthday of someone born on 29 February?

In leap years it is 29 February; in non-leap years the calculator uses 28 February or 1 March, as you choose. This decides whether a year is already completed on 28 February. The choice in the calculator has no legal force. The legal rules differ between countries.

Does the birthday itself count as a completed year?

Yes: on the anniversary date itself a new completed year is shown, the next birthday is that same day with 0 days to go, and “age at the next birthday” equals the current age.

Can this determine the age of majority or pension age?

No. The calculator shows calendar age. Age for legal purposes (majority, pension, insurance, voting) is set by the rules of a specific jurisdiction, including the day, or the moment of the day, from which an age counts as reached.

Related tools

The calculator shows calendar age, not age for legal purposes: the age of majority, pension or insurance age, the right to vote and the treatment of 29 February are set by the rules of a specific jurisdiction.

Formula version age-on-date@1.1.0 · checked 26 September 2026

Checked by the Calc editorial team: three independent implementations of the formula, test cases and the live page on a phone. Last check: 27 September 2026