Date Calculator
Days between two dates (with business days), or a date plus or minus years, months, weeks and days.
How old am I? This age calculator answers from your date of birth with the exact age in years, months and days, counted on the calendar (whole years, then whole months, then the days left).
It also gives your age in weeks, days, hours, minutes and seconds, your decimal age, the next birthday and the weekday you were born. Leave "Age on" blank for today.
Exact age
Plain-text formula: age = Y years + M months + D days
Y and M come from the largest number of whole calendar months that fit between the two dates (the date of birth plus that many months is not after the "age on" date). D is the number of days left over.
Total days
Plain-text formula: days = N(age on) − N(birth)
N is the day number in the Gregorian calendar, so leap days are counted exactly. Weeks, hours, minutes and seconds follow from the day count: 7 days per week, 24 hours per day, 1,440 minutes per day and 86,400 seconds per day.
Decimal age
Plain-text formula: decimal age = Y + days since the last birthday/days from the last birthday to the next
The fraction is the share of the current year of age that has passed. It uses the real length of that year (365 or 366 days) and is rounded down, so 36.99 never shows as 37.00 before the birthday.
Month rule
Plain-text formula: day = min(d, days in the target month)
When a month has no matching day, the last day of that month is used. That is why a birthday on February 29 falls on February 28 in common years.
The years figure is your age in the everyday sense: it goes up by one on each birthday. The months and days show how far you are into the current year of age. Together they give the chronological age used by schools, pediatricians and test scorers, often written in short form as years:months:days, for example 36:5:6.
Total days, weeks and months are exact counts on the calendar. Hours, minutes and seconds multiply the days and assume birth at midnight, so the true figure depends on the time of birth.
Ages for dates before the switch to the Gregorian calendar (1582 or later, depending on the country) use the Gregorian rules extended backward, so they can differ from dates recorded in the Julian calendar.
To calculate age by hand, write the later date above the date of birth and subtract days, then months, then years. When the days come out negative, borrow the number of days in the month before the later date and take 1 from the months. When the months come out negative, add 12 and take 1 from the years.
For a date of birth of August 25, 1995 and an "age on" date of March 10, 2026, the days need a borrow from February 2026, which has 28 days:
| Step | Years | Months | Days |
|---|---|---|---|
| Later date | 2026 | 3 | 10 |
| Date of birth | 1995 | 8 | 25 |
| Borrow February (28 days) for the days | 2026 | 2 | 38 |
| Borrow 12 months for the months | 2025 | 14 | 38 |
| Subtract | 30 | 6 | 13 |
Every total comes from the number of calendar days between the two dates. This table shows the full set for a date of birth of May 15, 1990 on October 21, 2026, which the calculator reproduces with those two dates.
| Unit | Age | How it is found |
|---|---|---|
| Years, months, days | 36 years, 5 months, 6 days | Whole years, whole months, then days left |
| Decimal years | 36.43 | 36 + 159 ÷ 365, rounded down |
| Months | 437 months and 6 days | 36 × 12 + 5 whole months |
| Weeks | 1,901 weeks and 1 day | 13,308 ÷ 7 |
| Days | 13,308 | Day count between the dates |
| Hours | 319,392 | 13,308 × 24 |
| Minutes | 19,163,520 | 13,308 × 1,440 |
| Seconds | 1,149,811,200 | 13,308 × 86,400 |
Hand subtraction and calendar counting can disagree when the birthday is on the 29th, 30th or 31st. Take a birth date of January 31, 2000 and an "age on" date of March 30, 2000. One calendar month after January 31 is February 29 (the last day of that February), and two months would be March 31, which is too far. So the age is 1 month and 30 days, the days from February 29 to March 30.
Subtracting by hand and borrowing the 29 days of February gives 1 month and 28 days instead. Both describe the same 59 days; they differ only in where the month boundary falls. This calculator always uses the calendar count, so adding the months and days back to the date of birth lands exactly on the "age on" date.
Someone born on February 29 has a calendar birthday only in leap years. This calculator follows its month rule and counts the birthday on February 28 in common years: a person born on February 29, 2000 turns 27 on February 28, 2027.
Rules for legal purposes vary. Some jurisdictions treat March 1 as the birthday in common years, so check the convention that applies to you when an exact legal age matters.
The traditional East Asian way of counting age starts at 1 at birth and adds a year every New Year’s Day, so it is the current year minus the birth year, plus 1. It can be up to two years more than the international age this calculator gives. South Korea switched to international age for legal and administrative use in June 2023, though the traditional count is still heard in daily life.
| System | Rule | Age |
|---|---|---|
| International age (this calculator) | Goes up on each birthday | 20 |
| Traditional East Asian age | Current year − birth year + 1 | 22 |
With the date of birth in cell A2, =DATEDIF(A2, TODAY(), "Y") returns the age in whole years, "YM" the months after the last birthday and "MD" the days after the last whole month. Microsoft notes that the "MD" option can give wrong results near month ends, so check those dates here. For the number of days between two dates without the age breakdown, use the date calculator.
Find the exact age, the total days, the decimal age and the next birthday.
Answer: 36 years, 5 months, 6 days (437 months and 6 days, or 13,308 days), a decimal age of 36.43. Next birthday: May 15, 2027, turning 37, in 206 days.
Count the whole years from your date of birth, then the whole calendar months, then the days left. From May 15, 1990 to October 21, 2026 that is 36 years to May 15, 2026, then 5 months to October 15, then 6 days: 36 years, 5 months and 6 days.
You will be 44 until your birthday in 2050 and 45 from that birthday on, because 2050 − 2005 = 45. Enter your full date of birth and a date in 2050 in "Age on" to get the exact age on that day.
Type the date of birth (or the earlier date) first and the later date in "Age on". The result is the exact gap in years, months and days, plus the total days, which is how school entry and exam age limits on a cutoff date are checked. For the age difference between two people, enter the older person’s date of birth and the younger person’s in "Age on".
Subtract the birth year from the current year, then take 1 away if the birthday has not happened yet this year. Someone born in 1990 is 36 in 2026 after their birthday and 35 before it.
In common years the birthday is counted on February 28, the last day of February. Someone born on February 29, 2000 is 27 years old on February 28, 2027. Some legal systems use March 1 instead.
The date of birth must be on or before the "Age on" date. Check the year, or leave "Age on" blank to use today.
No. The totals multiply the number of days by 24 hours, 1,440 minutes or 86,400 seconds, as if birth happened at midnight. Add or subtract the time since midnight on your birth day for an exact figure.
Days between two dates (with business days), or a date plus or minus years, months, weeks and days.
Add and subtract hours, minutes and seconds, add up a list of times, or find the time between two times.
Convert between units in 40 categories with exact factors, formulas and tables.
Type or tap expressions with exact fractions, memory, variables, constants and complex mode.
Results are calculated in your browser with methods checked by automated tests, and are intended for learning and general use. For engineering, medical, financial, legal or safety-critical decisions, verify important values independently and follow the rounding rules your work requires. How accurate are these results?