Skip to content

Age Calculator

Enter your date of birth above to see your age.

Estimates for educational purposes — not financial, medical, or legal advice. See terms.

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:

totalWeeks=totalDays7\text{totalWeeks} = \left\lfloor \frac{\text{totalDays}}{7} \right\rfloor totalHours=totalDays×24\text{totalHours} = \text{totalDays} \times 24

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.

Frequently asked questions

How do you calculate age from a date of birth?

Subtract the birth date from the reference date. First find full elapsed years — the number of times the birth month and day have been passed. Then count remaining full months, and finally the leftover days within the current partial month. Simple date subtraction gives total days elapsed; converting to years-months-days requires handling varying month lengths and the birthday-passed check.

What happens if you were born on February 29?

In non-leap years, the calculator treats February 29 birthdays as falling on February 28. So a person born on February 29, 2000 turns 1 year old on February 28, 2001. On years when February 29 exists, the birthday lands on February 29 as expected. This is the most common legal convention in English-speaking countries.

Why does the total hours count not match clock hours?

The calculator works at day precision — it counts whole calendar days between dates, then multiplies by 24. This means it does not account for the time-of-day you were born. If you want exact hours from birth time to a specific hour, you would need birth time and reference time, not just dates.

Can I calculate someone else's age, or check a future date?

Yes. The reference date field defaults to today but accepts any date. Enter a past date to see what age someone was on a historical date, or a future date to calculate how old you will be on a given occasion.