How to Calculate Age from Date of Birth (Manual Formula + Free Tool)
Learn how to calculate age from date of birth manually, in exact years, months, and days, plus try our free age calculator for instant, accurate results.
Filling out a form, checking eligibility for something age-restricted, or just settling a casual argument about exactly how old someone is down to the day: there are more reasons to know how to calculate age from date of birth precisely than most people expect. The simple version, subtracting birth year from the current year, is almost always slightly wrong.
This guide walks through the correct manual method, how to express age in years, months, and days at the same time, how to calculate age as of any specific date rather than just today, and how to find your birth weekday and total elapsed time in days or hours.
How to Calculate Age Manually
Start with the obvious step: subtract the birth year from the current year. Then check whether the birthday has actually occurred yet this year by comparing the current month and day to the birth month and day. If the birthday has not happened yet, subtract one more year from your initial result.
The core check
Age = Current Year − Birth Year (− 1 if this year's birthday hasn't happened yet)
For example, someone born on June 15, 1995, calculated on June 20, 2026: the simple subtraction gives 2026 − 1995 = 31. Since June 15th has already passed this year (the calculation date is June 20th), no adjustment is needed, and the age is confirmed at 31.
Now compare that to someone born on June 15, 1995, but calculated on June 10, 2026, five days before that year's birthday. The simple subtraction still gives 2026 − 1995 = 31, but this time the birthday has not happened yet, so one year has to be subtracted from that initial result, giving a true age of 30. This is the exact scenario where naive year subtraction silently overstates someone's age by one, and it is the single most common manual age-calculation mistake.
Calculating Age in Years, Months, and Days
A single age-in-years number is often not precise enough, especially for forms that need exact age in years, months, and days. The process extends the year-subtraction approach by also comparing months and days directly:
- Subtract birth year from current year to get a starting year count.
- Subtract birth month from current month. If negative, borrow a year from the result above and add 12.
- Subtract birth day from current day. If negative, borrow a month from the result above and add the number of days in the previous calendar month.
This three-step borrowing process is exactly how calendar subtraction works in general, similar to borrowing across columns in long subtraction, just applied to years, months, and days instead of ordinary digits.
Walking through a full example: someone born June 15, 1995, measured on April 3, 2026. The year subtraction gives 2026 − 1995 = 31. The month subtraction, April (4) minus June (6), is negative, so borrow a year (now 30) and add 12 to get 10 months. The day subtraction, 3 minus 15, is also negative, so borrow a month (now 9 months) and add the number of days in March, 31, to get 3 − 15 + 31 = 19 days. The final result is 30 years, 9 months, and 19 days.
Try it yourself
Age Calculator
Enter a date of birth and a target date to get exact age in years, months, and days, a next birthday countdown, and fun facts like your birth weekday and generation.
How to Calculate Age Between Two Specific Dates
Sometimes you need an age calculation that is not based on today's date at all, such as figuring out how old someone was at the time of a historical event, or how old a child will be on the first day of school. The method is identical to calculating current age, except you substitute the specific target date everywhere "today" would normally be used, comparing the target date's year, month, and day against the birth date's year, month, and day in exactly the same order.
This version of the calculation comes up constantly in practical, non-trivial situations. School enrollment cutoffs often specify a minimum age as of a fixed date rather than the application date. Insurance and legal eligibility rules frequently reference age as of a specific qualifying date rather than the current date. In every one of these cases, plugging the correct target date into the same year, month, and day comparison produces the right answer, even though the date in question might be months or years away from today.
What Day of the Week Were You Born?
Determining the day of the week for an arbitrary historical date involves a calendar algorithm, since the day of the week shifts in a pattern tied to leap years and the specific number of days in each month. Doing this by hand is genuinely tedious, which is part of why it is one of the more popular "fun fact" outputs in age calculators, alongside generational labels based on birth year ranges.
The underlying reason this is hard to do mentally is that the calendar does not repeat on a perfectly clean cycle. A non-leap year has 365 days, which is 52 weeks plus one extra day, so the same calendar date shifts forward by one weekday in most years, except leap years, where it shifts by two. Tracking that shift accurately across decades by hand requires carefully counting every leap year in between, which is exactly the kind of repetitive bookkeeping a calculator handles instantly and without error.
How to Calculate Age in Total Days or Hours
To express age as a single number of elapsed days, calculate the number of days between the birth date and the target date directly, accounting for the exact number of days in every month and year in between, including leap years. From there, total hours is simply the total days multiplied by 24, and total minutes is total hours multiplied by 60.
This kind of total-elapsed-time figure is mostly used for novelty purposes, such as celebrating a "10,000th day" milestone, but the underlying date-difference calculation is the same one used for more practical purposes like contract terms or eligibility windows. A related fun fact some age calculators include is an estimate of how many weekend days a person has lived through so far, calculated by counting every Saturday and Sunday between the birth date and the target date, which gives a rough sense of how much of a lifetime has actually been "off the clock" so far.
Frequently asked questions
Why is calculating exact age harder than just subtracting years?
Subtracting birth year from the current year only gives the correct age if the birthday has already happened this year. If it has not happened yet, that simple subtraction overstates the age by one year, which is why the month and day also need to be checked before finalizing the result.
How do leap years affect age calculations?
Leap years add an extra day, February 29th, roughly every four years. This mostly affects people born on February 29th, who technically have a birthday that only occurs in leap years, and it has a small effect on total day counts for everyone else over long spans of time.
How do I calculate someone's age on a date other than today?
Use the same method, but substitute the specific target date wherever the current date would normally go. Compare the target date's month and day to the birth date's month and day exactly the same way, using the target year for the year subtraction.
What is the easiest way to find out what day of the week I was born on?
If you do not want to work through a calendar algorithm by hand, the simplest approach is to use a calculator that returns it directly. Knowing your birth weekday is a fun, low-stakes fact, but the calculation behind it (called a day-of-week algorithm) is genuinely tedious to do manually for an arbitrary date.
Now that you know how to calculate age from date of birth using the year, month, and day borrowing method, the same logic applies whether you are checking today's date or any date in the past or future. Use the Age Calculator above to get the exact breakdown instantly, along with a next birthday countdown and fun facts about your birth date.
For related date math, see how to calculate days between two dates , or for tracking hours on the clock, see how to calculate work hours with a lunch break.