🎂

Age Calculator

Calculate exact age from a date of birth, in years, months and days, plus totals in days and hours. Free and instant.

✓ Free forever✓ No signup✓ 100% private — runs in your browser
Age Calculator
Calculate exact age in years, months, and days. Compare ages, find upcoming milestones.
Date of Birth
Calculate Age On
Select your date of birth →
Age Difference Calculator
Person A (DOB)
Person B (DOB)

Calculating an exact age sounds trivial and is not, because months have different lengths and leap years interrupt the pattern. For anything official — eligibility cutoffs, legal thresholds, visa and pension dates — the precise figure matters.

How to use the Age Calculator

  1. Enter the date of birth
  2. The age is calculated against today by default
  3. Change the comparison date to work out age at any point in time
  4. Read the exact years, months and days, plus the totals

Why month arithmetic is awkward

Months vary between 28 and 31 days, so 'one month later' has no fixed length. Date libraries handle this by convention, and the conventions differ.

The familiar edge case: what is one month after 31 January? Most systems answer 28 February (or 29 in a leap year), clamping to the last valid day. But that makes the operation non-reversible — one month back from 28 February gives 28 January, not the 31st you started from.

This is why age is calculated by counting whole years first, then whole months, then the remaining days, rather than by dividing a total day count.

Leap years

A year is a leap year if divisible by 4, except century years, which must be divisible by 400. So 1900 was not a leap year and 2000 was — a rule that caused a notable crop of software bugs in both years.

People born on 29 February have a birthday only once every four years. Jurisdictions handle the legal date differently: some treat 28 February as the anniversary in common years, others 1 March. It matters for thresholds like voting age or pension eligibility.

Ages and dates that have legal consequences

Several thresholds depend on an exact date rather than an approximate age, and the rules are less uniform than people assume.

Age of majority is 18 in India, the UK and most of Europe, and varies by state in the US. It is reached at the start of the birthday in most jurisdictions, though a few historically counted from the day before.

School admission cut-offs are the most common real-world dispute. Most Indian schools require a child to have turned a specific age by a fixed date, often 31 March or 30 June. A child born days after the cut-off waits a full year, which is why the precise date matters so much to parents.

Retirement and pension dates are usually defined as the last day of the month in which you reach the age, not the birthday itself.

Insurance age frequently uses "age next birthday" rather than current age, so premiums can rise months before you actually get older. Some insurers use "age nearest birthday", which differs again.

Where a date determines eligibility, check the exact definition in the governing document rather than relying on a calculated age. The calculation here gives the true elapsed age; institutions sometimes use a different convention deliberately.

The leap-day birthday, and other awkward cases

Someone born on 29 February has a birthday in only one year in four, and what happens in the other three has no single answer.

Most jurisdictions treat 1 March as the legal anniversary in non-leap years, on the reasoning that the full year has elapsed by then. Some — including parts of New Zealand and Taiwan — use 28 February. The difference is one day and occasionally matters for an age threshold reached in a non-leap year.

Related awkwardness appears in ordinary month arithmetic. What is 31 January plus one month? Most systems clamp to the last day of February; a few overflow into March. Neither is wrong, and code that mixes the two conventions drifts.

There is also the question of whether both endpoints count. From 1 March to 3 March is two days elapsed and three days inclusive. Rental terms, notice periods and hospital stays each use different conventions, and a contract that does not say which is ambiguous.

This calculator reports true elapsed time — complete years, then remaining months, then remaining days — and handles leap years correctly, including the century rule where 1900 was not a leap year and 2000 was.

Frequently asked questions

Does this account for leap years?

Yes. The calculation uses real calendar dates, so leap days are counted correctly in both the day totals and the year/month/day breakdown.

Can I calculate age at a future date?

Yes — change the comparison date. Useful for checking eligibility cutoffs, such as whether someone will be old enough by a given deadline.

How is age counted in different countries?

Most of the world counts completed years since birth. The traditional East Asian system counted a newborn as one and added a year at New Year rather than on the birthday — South Korea formally moved to the international system in 2023.

Why does the month count seem off by a day?

Because months have unequal lengths, the remainder after counting whole months depends on which months were crossed. This is correct calendar arithmetic, not an error.