Short answer: to calculate your age, subtract your birth year from the current year, then subtract one if your birthday has not happened yet this year. For an exact age in years, months and days, or the total number of days between any two dates, use the calculator below.

Age and date difference calculator

All calculations run in your browser; no date you enter is sent or stored.

How to calculate your age by hand

  1. Subtract the birth year from the current year.
  2. Compare months: if the current month is earlier than the birth month, subtract one year.
  3. If the months are the same, compare days: if today’s day is earlier than the birth day, subtract one year.

For example, someone born on June 15, 1990 is 36 years old on October 29, 2026, because their 2026 birthday has already passed (2026 − 1990 = 36).

Exact age in years, months and days

To go further than whole years, the method borrows from the next unit, just like subtraction in school:

  • Subtract the years, months and days separately.
  • If the day result is negative, remove one month and add the number of days in the previous month.
  • If the month result is negative, remove one year and add 12 months.

Worked example: from June 15, 1990 to October 29, 2026. Years: 2026 − 1990 = 36. Months: 10 − 6 = 4. Days: 29 − 15 = 14. Result: 36 years, 4 months and 14 days. No borrowing was needed here; with an end date of October 10, the days would be 10 − 15 = −5, so you would borrow the 30 days of September to get 25 days and 3 months.

How to count the days between two dates

Counting days by hand means adding the days left in the start month, the full months in between and the days of the end month, while watching for leap years. The calculator converts both dates to a time value and divides the difference by the number of milliseconds in a day, which avoids errors.

MonthDays
January, March, May, July, August, October, December31
April, June, September, November30
February28 (29 in a leap year)

Leap years and February 29 birthdays

A year is a leap year if it is divisible by 4, except century years, which must also be divisible by 400. So 2000 was a leap year but 1900 was not. People born on February 29 usually celebrate on February 28 or March 1 in common years; for legal purposes, the applicable rule depends on the jurisdiction.

Inclusive or exclusive counting

The calculator counts the days between two dates, not including the start date. If you need to count both the first and last day, for example for a rental or a vacation, add one day to the result. The same logic applies when you track time for payroll; see our guide on how to calculate hours worked.

Practical uses

  • Checking age eligibility for a program, a licence or a school entry date.
  • Counting the days until a deadline, an event or a vacation.
  • Measuring the length of a lease, a contract or a warranty.
  • Tracking a pregnancy; see how a due date is calculated.
  • Estimating how long money has been invested, for example with compound interest.

FAQ

How old am I if I was born in 2000?

In 2026, you are 26 if your birthday has passed this year, or 25 if it has not yet arrived.

How many days are in a year?

A common year has 365 days and a leap year has 366 days.

Does the calculator include the start date?

No. It counts the days between the two dates. Add one if you need inclusive counting.

Can I calculate an age on a future date?

Yes. Change the second date to any date up to 2100 to see how old someone will be on that day.