Age Calculator

Calculate age between two dates — in years, months, days, weeks, hours, minutes, and seconds.

What is one month after 31 January? February has no 31st, so a calendar gives no clean answer, and age calculators that skip this question print odd results such as a negative number of days. This one settles it with a fixed rule: a month is counted from the birth date, and when the target month is too short the date falls back to that month's last day. The answer arrives in two shapes at once, a headline age in years, months and days, and a table of running totals, and the two shapes use the word months differently.

Anchor-date counting, with 31 Jan 2000 as the test case

Take Date of Birth 31 January 2000 and Age at the Date of 1 March 2025. The page first counts whole months between the two month-and-year pairs (25 × 12 + 2 = 302). The birth date plus 302 months would be 31 March 2025, which is after 1 March, so it steps back to 301 months. Birth date plus 301 months lands in February 2025, which has only 28 days, so the anchor is 28 February 2025. The days left are 1 March − 28 February = 1. The headline reads 25 years, 1 month, 1 day. No step produces a negative day count.

The same rule explains the neighbours. Measured to 28 February 2025 the age is 25 years, 1 month, 0 days; to 31 March 2025 it is 25 years, 2 months, 0 days. A leap-day birthday works the same way: 29 February 2000 measured on 28 February 2025 reads 25 years, 0 months, 0 days, and on 1 March 2025 reads 25 years, 0 months, 1 day.

The table uses a different formula. Months is every whole month since birth, 301 here, which is why it is larger than the 1 month in the headline. Days is the difference between the two calendar dates, 9,161. Weeks is days ÷ 7 rounded down, 1,308. Hours, Minutes and Seconds multiply the days by 24, 1,440 and 86,400: 219,864 hours, 13,191,840 minutes and 791,510,400 seconds. Years is just the first number of the headline, 25.

Day counts come from calendar dates converted to UTC midnights, so the visitor's time zone and daylight saving changes cannot move them. Between 31 January and 31 March 2025 the table reads 59 days in New York, Karachi or Sydney. There is no time-of-day or birth-time field, so every day counts as exactly 24 hours.

How to Use This Calculator

  1. Under Date of Birth: choose the month, day and year from the three drop-downs. They start on 1 January of the year 25 years before this year. The year list runs from the current year back to 1900.
  2. Under Age at the Date of: choose the date to measure to. It starts on today's date, and its year list runs from 1900 to 100 years after the current year, so you can ask for an age in a future year.
  3. Press Calculate. Nothing updates until you do, and the day list adjusts to the length of the chosen month and year.
  4. Read the green Age line first, then the table with Years, Months, Weeks, Days, Hours, Minutes and Seconds. A line below it repeats the two dates the result was built from.
  5. If the second date is earlier than the first, the page shows The 'Age at the Date of' must be on or after the date of birth. Fix a date or press Clear to return both pickers to their defaults.

Frequently Asked Questions

Why does the table say 301 months when the age line says 1 month?

They answer different questions. The age line counts the months left over after whole years, and the Months row counts every complete month since the birth date, which is years × 12 plus that leftover. Use the first for a form that asks for years and months, and the second for a total.

What does it show on the birthday itself?

Zeros in the month and day slots. 15 May 1990 measured on 15 May 2026 reads 36 years, 0 months, 0 days, with 13,149 in the Days row. A day later it reads 36 years, 0 months, 1 day.

How are birthdays on the 29th, 30th or 31st treated?

The birth date plus a number of months is cut back to the last day of a shorter month, so 31 January reaches 28 February in 2025 and 29 February in 2024. Test the dates on both sides of a month end if a deadline depends on the exact day.

Can I find an age on a date far in the past or future?

Yes, within limits. The first picker starts in 1900 and the second one runs from 1900 to 100 years past the current year. A birth year earlier than 1900 is not offered.

Do hours, minutes and seconds include the time of birth?

No. They are the day count multiplied by 24, 1,440 and 86,400, so they are exact for midnight-to-midnight spans and ignore birth time and time zone.