Age Calculator

Enter a date of birth and this calculator returns the exact age in years, months and days. It also shows the total months, weeks, days and hours lived, the weekday of birth and how many days remain until the next birthday. Change the “age at” date to find an age on any day, past or future.

Age—Enter a date of birth to begin.

How age is calculated

The calculator counts whole calendar months between the two dates, then counts the days that are left over. Every complete 12 months is one year. In practice this matches how people say their age: you turn a year older on the same calendar date each year, not after a fixed number of days.

  1. Work out the number of months from the birth month to the “age at” month.
  2. Move the birth date forward by that many months. If the target month is shorter, the date is clamped to its last day, so 31 January plus one month is 28 February in 2026.
  3. If that date is later than the “age at” date, use one month less.
  4. The remaining days are counted from there. Years are the months divided by 12.
  5. Totals come from the exact day count between the two dates. Hours are days × 24.

The “next birthday” figure counts the days from the “age at” date to the next occurrence of the birthday, and shows Today if they are the same day. The calculation uses calendar dates only. It does not use a time of birth or a time zone, so it cannot change because you travel.

Worked examples

BornAge atResult
1990-05-152026-12-0536 years, 6 months, 20 days. That is 13,353 days in total, a Tuesday birth, and 161 days until the next birthday on 15 May 2027.
2000-02-292026-12-0526 years, 9 months, 6 days, with the next birthday on 28 February 2027, 85 days away.
2026-01-312026-03-010 years, 1 month, 1 day. One month after 31 January is 28 February, and one more day reaches 1 March.
2026-12-052026-12-050 years, 0 months, 0 days.

To check the first row by hand: 15 May 1990 plus 36 years is 15 May 2026, plus 6 months is 15 November 2026, and 15 November to 5 December is 20 days.

Leap-day birthdays

A person born on 29 February has a real birthday only in leap years. In other years the calculator counts the birthday on 28 February, which is the same clamping rule it uses for every month end. Some legal systems treat 1 March as the birthday in common years instead, and a form or contract may define it for you. If the exact day matters for a legal purpose, follow the rule in the document. The leap year guide explains the 4, 100 and 400 year rules that decide which years have a 29 February.

Edge cases and common mistakes

  • Dividing days by 365. Years are not 365 days long. The result drifts by about a day every four years, and that is the difference between being 36 and 35 on someone’s birthday. This tool counts calendar dates instead.
  • Month-end birthdays. Someone born on 31 January has no “31 February”. The calculator gives that person one month on 28 February in a common year and on 29 February in a leap year.
  • Future dates. If the “age at” date is before the date of birth the result says the person is not born yet. A future date later than today is fine, and it is useful for planning, such as the age someone will be on a trip or at a deadline.
  • Time of birth and time zones. Because only dates are used, a baby born just before midnight in one zone has the same calendar age everywhere. Exact elapsed hours would need a time and a zone, and that is a different calculation. See calendar time versus elapsed time.
  • Different age conventions. This is the common “completed years” way of counting. Some cultures and official forms count age differently, so check the definition on the form you are filling in.
  • Typed dates. The date fields use the year-month-day format of your browser’s date picker, which avoids the day/month confusion described in ambiguous date formats.

Related tools and guides

For the number of days between two arbitrary dates, use the days between dates calculator. To find a date that is a set number of months or years away, use the date add and subtract calculator. For the rules behind these results read how to add months to dates, what a calendar date is and inclusive date ranges.

Common questions

How do I calculate my exact age?

Enter your date of birth and leave the “age at” date as today. The result shows completed years, months and days, so a person born on 15 May 1990 is 36 years, 6 months and 20 days old on 5 December 2026.

How are months and days counted?

The calculator adds whole calendar months to the birth date and counts the remaining days. When a month is shorter than the birth day, the date is clamped to the month’s last day. For example, 31 January plus one month is 28 February in 2026.

What happens with a 29 February birthday?

In years without a 29 February the birthday is counted on 28 February. Some legal systems use 1 March instead, so check the rule that applies to a form or contract.

Can I find my age on a future or past date?

Yes. Change the “age at” date to any date after your birth. It is useful for planning eligibility dates, school entry and travel requirements.

Does the calculator use my time zone or time of birth?

No. It works with calendar dates only, so the result is the same wherever you are.

Why does dividing days by 365 give a different age?

A calendar year is 365 or 366 days, so dividing by 365 drifts by about one day every four years. Counting calendar months and days avoids that error.

Sources and further reading