To calculate age from a date of birth, subtract the birth year from the current year, then subtract 1 if the birthday hasn't happened yet this year. Someone born on 03/15/1990 is 2026 − 1990 = 36 on 11/06/2026, because March 15 has already passed. Someone born on 12/30/1985 is 2026 − 1985 = 41 on paper, but the December birthday hasn't arrived, so the real age is 40.
For an exact age in years, months and days, keep subtracting after the years: 03/15/1990 to 11/06/2026 is 36 years, 7 months and 22 days. The same method gives the age on any other date, you just replace today with that date. In a spreadsheet, =DATEDIF(birth, date, "Y") returns the full years. The age calculator at Calterix does all of this in one step and also shows total months and days.
The quick method: age in years
The age most forms ask for is chronological age, the time elapsed since the date of birth (DOB), counted in full years. Two checks give it to you.
- Subtract the years. Current year minus birth year. For 1990 and 2026, that is 36.
- Check the birthday. Compare the birth month and day with today's. If the birthday has already happened this year, keep the result. If it is still ahead, subtract 1.
age = current year − birth year − 1 (if the birthday hasn't happened yet)
The check is a comparison of month first, then day. Born on 07/20/2001 and asking on 11/06/2026: November comes after July, so the birthday has passed and the age is 2026 − 2001 = 25. Born on 12/30/1985: November comes before December, so the birthday is still ahead and the age is 41 − 1 = 40. When the months match, compare the days. A birthday on 11/06 counts as reached on 11/06 itself.
Exact age in years, months and days
When full years are not enough, as with a baby's age or a precise eligibility check, subtract the date of birth from the target date one unit at a time. Use 03/15/1990 and 11/06/2026 as the example.
- Years: 2026 − 1990 = 36. The birthday has passed, so keep 36.
- Months: 11 − 3 = 8.
- Days: 6 − 15 = −9. The result is negative, so borrow (see below).
- Borrow: take one month from the months and add that month's length to the days. Months become 8 − 1 = 7 and days become 6 + 31 − 15 = 22.

The answer is 36 years, 7 months and 22 days. You can check it by counting forward: 03/15/1990 plus 36 years is 03/15/2026, plus 7 months is 10/15/2026, and from there to 11/06/2026 is 16 days left in October plus 6 in November, which is 22.
Borrowing days from the previous month
Borrowing works like borrowing in long subtraction. When the day of the target date is smaller than the birth day, you take a month and turn it into days. The month you borrow is the one just before the target date's month. For a target of 11/06, that is October, which has 31 days. For a target in March, you would borrow February's 28 or 29 days.
The same borrowing applies to months. If the target month is smaller than the birth month, add 12 to it and take 1 off the years. This is the situation of the 12/30/1985 example in the next section.
Worked examples
Three dates of birth, all measured on 11/06/2026:
| Date of birth | As of | Age |
|---|---|---|
| 03/15/1990 | 11/06/2026 | 36 years, 7 months, 22 days |
| 07/20/2001 | 11/06/2026 | 25 years, 3 months, 17 days |
| 12/30/1985 | 11/06/2026 | 40 years, 10 months, 7 days |
For 07/20/2001, the years are 25, the months are 11 − 7 = 4, and the days are 6 − 20 = −14. Borrow October's 31 days: 6 + 31 − 20 = 17 days, and months drop to 3.
For 12/30/1985, the year difference is 41 and the birthday is still ahead, so years become 40. Months are 11 − 12 = −1, so add 12 to get 11. Days are 6 − 30 = −24, so borrow October's 31 days: 6 + 31 − 30 = 7 days, and months drop from 11 to 10. The result is 40 years, 10 months and 7 days.
Age on a specific date
Age is always "as of" some date. Today is only the most common choice. To find age on another date, put that date in the place of today and run the same steps. Someone born on 12/30/1985 is 40 on 11/06/2026, but on 12/30/2026 the birthday arrives and the age becomes 41.
This matters for a school cutoff date, an event entry rule or any form that says "age as of" a fixed day. The cutoff is set by the school, league or program, so read its rules and use its date, not today's. To find the day someone reaches a given age, or the date a number of days after birth, use add days to a date. To count the exact days between two dates, use the days between dates calculator.
Age formula in a spreadsheet
Put the date of birth in A2 and the "as of" date in B2. Most spreadsheet programs support DATEDIF, which returns the difference between two dates in the unit you choose. Spreadsheet vendors document it differently, so check your program's help page if a result looks off.
| Goal | Formula | Result for the 1990 example |
|---|---|---|
| Full years | =DATEDIF(A2,B2,"Y") | 36 |
| Leftover months | =DATEDIF(A2,B2,"YM") | 7 |
| Leftover days | =DATEDIF(A2,B2,"MD") | 22 |
| Total months | =DATEDIF(A2,B2,"M") | 439 |
| Total days | =B2-A2 | 13,385 |
To get today's age, replace B2 with TODAY(). The YEARFRAC function returns age as a decimal, such as 36.64, which helps in statistics but not on a form. For forms, use the whole-year result from DATEDIF with "Y".
Age in months, weeks and days
Age in months is full years times 12, plus the leftover months. For 36 years and 7 months, that is 36 × 12 + 7 = 439 months. Pediatric charts and some program rules use months for the first two years or so.
Age in days is the difference between the two dates. From 03/15/1990 to 11/06/2026 it is 13,385 days: 36 years of 365 days is 13,140, plus 9 leap days (1992, 1996, 2000, 2004, 2008, 2012, 2016, 2020 and 2024), plus the 236 days from 03/15/2026 to 11/06/2026. In weeks, 13,385 ÷ 7 is 1,912 weeks and 1 day. A birthday countdown runs the same subtraction toward the next birthday.
If you like numeric milestones, the earlier posts on dates in Roman numerals and on how to simplify fractions to lowest terms cover other date and number conversions.
Birthdays on February 29
A leap day birthday (February 29) exists only in leap years. The U.S. Naval Observatory and NIST describe the leap-year rule: a year divisible by 4 gets the extra day, except century years not divisible by 400. In common years, some people celebrate on February 28 and others on March 1.
The age math in this article counts the birthday as passed on March 1. Born on 02/29/2000, a person is 2026 − 2000 = 26 on 11/06/2026, since the birthday has passed by then. On 02/28/2026, the same person is still 25 under this method, and turns 26 on 03/01/2026.
