This calculator tells you the exact age between a date of birth and any reference date. Enter a birth date and the calculator returns the age as years, months, and days, along with running totals in every unit down to seconds.
How the age calculation works
Age is not simply the difference in years between two dates — it depends on whether the birthday in the current year has been passed yet, and on the varying lengths of months.
The calculation works in three steps:
Years: Count how many times the birth month and day have been passed on or before the reference date. If the reference date is before the birth month and day in the current year, subtract one.
Months: After accounting for full years, count how many complete months have elapsed since the last birthday. A month is complete only when the day of the reference date equals or exceeds the day of birth (clamped to the length of the current month).
Days: Count the remaining days since the last “month anniversary” — the most recent date that shares the birth day-of-month.
The total-unit values (weeks, days, hours, minutes, seconds) are derived from the raw count of calendar days between the two dates, so they are independent of the year-month-day breakdown:
These totals are rounded to whole numbers at day precision — they do not account for the time of day you were born.
February 29 birthdays
People born on February 29 have a birthday that does not exist in most years. The calculator uses the convention that in non-leap years, the birthday falls on February 28. So a person born February 29, 2000 turns 24 on February 29, 2024 (a leap year, so their actual birthday exists), 25 on February 28, 2025 (the closest available date in a non-leap year), and 28 on February 29, 2028 — the next time their real calendar birthday comes around.
Example: born September 14, 1991
With a reference date of April 14, 2026:
- From September 14, 1991 to September 14, 2025 = 34 full years
- From September 14, 2025 to April 14, 2026 = 7 months (the birthday in 2026 has not yet been passed)
- From March 14, 2026 to April 14, 2026 = 31 days — but these are the same day, so 0 remaining days
- Result: 34 years, 7 months, 0 days
- Total days: approximately 12,631
- Total hours: approximately 303,144
When to use this
Use this calculator when you need the exact age for a legal or administrative form — driving licence eligibility, retirement date calculations, school year cut-offs, or passport applications that require age in years and months. It is also useful for checking eligibility thresholds: many pediatric medication dosing charts require age in months for children under two, and the calculator shows that directly in the total-months figure.
Common mistakes
-
Confusing total days with years × 365: A year is not always 365 days. Leap years add an extra day, so a person who has lived through several leap years will have more total days than years × 365 suggests. Always use the total-days value from the calculator rather than multiplying.
-
Using the wrong reference date for legal purposes: Age cutoffs for school enrollment, pension eligibility, and similar rules are usually evaluated at a specific date (often September 1 or December 31), not today. Change the reference date field to the correct cutoff date to get the right result.
-
Expecting hours to account for birth time: The calculator counts whole calendar days and multiplies by 24. If you were born at 11 pm and the reference time is 6 am, the calculator does not know you were alive for fewer hours on your birth day. Total hours here means total elapsed calendar days × 24, useful for rough estimates, not exact elapsed clock hours. For arbitrary start-and-end date pairs (not specifically “age from a birthday”), the date difference calculator is the more general tool.