All AddonSpot tools are 100% free, 24/7 — no signup, no limits. Suggest a tool →

Age Calculator

“How old is that, exactly?” is a surprisingly fiddly question once you go past whole years. Months have different lengths, leap years shift the math, and counting on your fingers from a birth date to today is easy to get wrong. The Age Calculator does it precisely: enter a date of birth and it returns the exact age in years, months, and days, plus totals in months, weeks, days, and hours. Leave the second field blank to measure to today, or set it to any date to find an age at a past or future moment. It’s handy for filling in forms, working out eligibility, planning milestones and anniversaries, or just settling the question of exactly how many days you’ve been around.

Age Calculator

Find an exact age in years, months, and days from a birth date.

How to use the Age Calculator

  1. Enter the date of birth in the first field.
  2. Optionally set a second date. Leave it blank to calculate age as of today, or pick any date to measure the age at that point.
  3. Press Calculate (or just change a date) to see the result update instantly.
  4. Read the breakdown. The top shows years, months, and days; below it you get total months, weeks, days, and hours.

What is chronological age?

Chronological age is simply the amount of time that has passed since the moment you were born, measured against the calendar. It is the number you write on a passport application, the number a school uses to decide which year group you join, and the number a doctor records at the top of your chart. Nothing about your health, fitness, or lifestyle changes it — it advances at exactly one day per day for everyone, without exception.

Because it is purely a calendar measurement, chronological age is the only age that can be calculated with total certainty from two pieces of information: a date of birth and a reference date. That is precisely what this calculator does. Everything else people call “age” — mental age, fitness age, metabolic age — is an estimate produced by a model. Chronological age is a fact produced by subtraction.

Two details are worth pinning down. First, chronological age counts completed time, not time in progress. Someone who is eleven months old is still “zero years old” in the international system, and someone three days short of their fortieth birthday is still thirty-nine. Second, chronological age is measured against a specific calendar. This tool uses the Gregorian calendar, the civil standard almost everywhere in the world, and expects dates in the unambiguous order used by the ISO 8601 date standard so there is never confusion between day-month and month-day ordering.

What is the difference between chronological age and biological age?

Chronological age tells you how long you have existed. Biological age attempts to tell you how worn the body actually is — how closely your physiology resembles the typical physiology of people at a given chronological age. The two often disagree, and that disagreement is exactly why the concept exists. A sedentary smoker of forty may have the cardiovascular profile of a typical fifty-five-year-old; a lifelong athlete of sixty may test like a typical forty-five-year-old.

  Chronological age Biological age
What it measures Elapsed calendar time since birth Estimated physiological condition of the body
How it is obtained Date subtraction — exact Biomarker models — an estimate
Can it be changed? No Potentially, via health and lifestyle
Does everyone agree on it? Yes, given a date of birth No — different models give different answers
Used for Legal documents, eligibility, records Health research, risk assessment, wellness

Biological age is estimated from measurable markers: blood pressure, inflammatory markers, lung function, grip strength, cholesterol panels, and increasingly from DNA methylation patterns read by an epigenetic clock. Because every model weighs those markers differently, two biological-age tests on the same person on the same day can easily disagree by several years. The World Health Organization’s overview of ageing and health and the US National Institute on Aging’s summary of what we know about healthy aging both make the same point: the science is real but still developing, and the numbers should be read as indicators rather than verdicts.

The practical takeaway: use chronological age whenever a number has to be correct and defensible — forms, eligibility, legal thresholds, medical records. Treat biological age as a health conversation starter, never as a substitute. This calculator deals strictly in chronological age, which is why its output is exact rather than approximate.

Which formula does this age calculator use?

The calculator does not divide the elapsed time by 365.25 and round, which is the shortcut that produces most wrong answers. It uses calendar-aware borrowing subtraction, unit by unit, from smallest to largest. Written out, the formula is:

Step Formula If the result is negative
1. Days D = day(target) − day(birth) Add the number of days in the month immediately before the target month, then carry 1 from the months column.
2. Months M = month(target) − month(birth) − carry Add 12, then carry 1 from the years column.
3. Years Y = year(target) − year(birth) − carry The two dates are in the wrong order — swap them.

The totals shown underneath come from a separate and much simpler calculation. Total days is the raw difference between the two dates as absolute calendar days; weeks, hours, and the rest are derived from it:

Step-by-step diagram of the age calculator formula: borrowing subtraction from 15 June 1990 to 7 July 2026, giving 36 years, 0 months and 22 days.
The borrowing method, step by step. Days borrow the true length of the preceding month, then months and years follow.

Why the borrowing step matters

The borrow in step 1 is the whole reason this approach is accurate. A naive calculation borrows a fixed 30 days, or worse, 31. The correct behaviour is to borrow the true length of the month that sits immediately before the target month — which is 28 days after a common-year January, 29 days after a leap-year January, 30 days after March, and so on. Because the borrow adapts to the real calendar, leap years and short months are handled without any special-case code, and the result matches what a registrar or a court would calculate by hand.

This is also the reason the years/months/days figure and the total months figure will not always convert into each other perfectly. The first is exact. The second is an average-based approximation offered as a quick rough total. That is expected behaviour, not a bug — see the FAQ below.

Example age calculation, step by step

Take a birth date of 15 June 1990 and a target date of 7 July 2026, and run the formula in order.

  1. Days. 7 − 15 = −8. Negative, so borrow. The month immediately before the target month (July 2026) is June 2026, which has 30 days. 7 + 30 − 15 = 22 days, and carry 1 into the months column.
  2. Months. 7 − 6 − 1 = 0 months. Not negative, so nothing further to borrow.
  3. Years. 2026 − 1990 − 0 = 36 years.

Result: 36 years, 0 months, 22 days. The totals for the same span work out to 13,171 total days (that is 36 × 365 = 13,140, plus the nine leap days that fell in 1992, 1996, 2000, 2004, 2008, 2012, 2016, 2020 and 2024, plus the 22 days into July), which is 1,881 weeks and 4 days, 316,104 hours, and roughly 432 months.

Here are three more worked results, including the edge case that trips up most quick estimates:

Date of birth Measured to Result Total days
15 Jun 1990 7 Jul 2026 36 years, 0 months, 22 days 13,171
29 Feb 2000 28 Feb 2025 24 years, 11 months, 30 days 9,131
1 Jan 2010 1 Jan 2026 16 years, 0 months, 0 days 5,844

The second row is the interesting one. A leap-day baby born on 29 February has no exact birthday in a common year, so measured to 28 February 2025 the tool correctly reports just under 25 years rather than rounding up. Follow the formula and you can see why: 28 − 29 is negative, so it borrows the 31 days of January 2025 to give 30 days, which cascades a borrow through months and years. That is exactly the kind of edge case a “subtract the years” estimate gets wrong.

Number of days per month

Because the formula borrows the true length of the preceding month, it helps to have the month lengths in front of you when checking a calculation by hand.

# Month Days Notes
1 January 31  
2 February 28 or 29 29 in a leap year
3 March 31  
4 April 30  
5 May 31  
6 June 30  
7 July 31  
8 August 31 Only back-to-back 31-day pair with July
9 September 30  
10 October 31  
11 November 30  
12 December 31  

A common year totals 365 days; a leap year totals 366. The leap rule itself has three parts, applied in order: a year divisible by 4 is a leap year, except a year divisible by 100, unless it is also divisible by 400. That is why 1900 was not a leap year but 2000 was — a distinction that quietly breaks a lot of hand-rolled date code. Across a full 400-year cycle there are 97 leap days, giving an average year of 365.2425 days and an average month of about 30.44 days, which is the figure used for the approximate total-months output above.

How to calculate age from a birthdate in Excel

If you need to work out ages in bulk — a class register, a customer list, a payroll file — a spreadsheet is the right tool, and the function you want is DATEDIF. Assume the date of birth sits in cell A2.

Excel formulas

Goal Formula Example output
Age in whole years =DATEDIF(A2,TODAY(),"Y") 36
Whole months since birth =DATEDIF(A2,TODAY(),"M") 432
Total days lived =DATEDIF(A2,TODAY(),"D") 13171
Full years, months and days =DATEDIF(A2,TODAY(),"Y")&" years, "&DATEDIF(A2,TODAY(),"YM")&" months, "&DATEDIF(A2,TODAY(),"MD")&" days" 36 years, 0 months, 22 days
Age on a fixed date in B2 =DATEDIF(A2,B2,"Y") 36
Age without DATEDIF =INT(YEARFRAC(A2,TODAY(),1)) 36

The "YM" and "MD" unit codes are what let you reproduce the years/months/days breakdown this page’s calculator produces: "YM" returns leftover months ignoring years, and "MD" returns leftover days ignoring months and years. Microsoft’s reference for the DATEDIF function documents all six codes.

Google Sheets

Google Sheets supports the identical syntax, so every formula above works unchanged after pasting into a Sheets cell. The official Google Sheets DATEDIF reference covers the same DATEDIF(start_date, end_date, unit) signature. If TODAY() is recalculating more often than you want, swap it for a hard-coded date so the ages freeze at a chosen reporting date.

Two caveats worth knowing

First, DATEDIF is a legacy function carried over from Lotus 1-2-3. It does not appear in Excel’s formula autocomplete, so you have to type the whole name yourself — it is not missing, just hidden. Second, and more importantly, Microsoft explicitly warns that DATEDIF “may calculate incorrect results under certain scenarios,” with the "MD" unit being the known weak spot: it can return a negative number when the end day is earlier in the month than the start day. If the exact days figure matters, cross-check the spreadsheet output against the calculator on this page, which applies the borrowing rule correctly in every case.

Also make sure your cells are genuinely formatted as dates rather than text. A birth date stored as text will make DATEDIF return an error or a nonsense value, and it is the single most common reason a bulk age calculation goes wrong.

When do you need an exact chronological age calculation?

Working out an exact age is one of those small tasks that turns up far more often than you would expect, and in most of these cases an approximation is not good enough:

How is age counted differently around the world?

Most of the world uses the system this tool follows, usually called international age reckoning: you are zero years old at birth and turn one on your first birthday. It is not the only convention, and the differences are large enough to matter on forms and in conversation.

System Age at birth When it increases Where it is used
International reckoning 0 On each birthday Global standard; used by this calculator
Traditional East Asian reckoning 1 On New Year’s Day, for everyone at once Historically China, Japan, Korea, Vietnam; now largely informal
Korean “year age” 0 On 1 January Retained in Korea for a few specific legal purposes
Lunar-calendar birthdays 0 On the lunar-calendar anniversary Common culturally alongside civil ages

The gap can be startling. Under traditional East Asian age reckoning, a baby born on 31 December is one year old at birth and turns two the very next day — while being one day old by the international count. South Korea standardised on international reckoning for official purposes in June 2023, which instantly made the entire population one or two years “younger” on paper overnight.

There is a further wrinkle even within the international system: the exact moment of the birthday. Most jurisdictions treat you as attaining an age at the start of your birthday, but a handful of legal traditions have historically treated it as the day before. For anything with legal consequences, check the local rule rather than assuming. This calculator uses the standard international reckoning, counting completed years, months and days since birth.

Understanding the different units

The calculator shows the same span several ways because different situations call for different units, and they genuinely do not convert to one another cleanly.

Years, months, and days is the exact, human-readable age — the one you write on a form. Total months and total weeks are useful for tracking a baby’s development or a subscription period. Total days is the number couples and enthusiasts celebrate, and the one used in fields like interest calculation and length-of-service records. Total hours is mostly for curiosity, but it makes a striking figure for a newborn or a big birthday.

One thing worth repeating: the “total months” figure is an approximation based on an average month length, while the “years, months, days” figure is exact. Because months vary from 28 to 31 days, the two will not always convert perfectly — that is expected, not an error.

Why use this age calculator

Frequently asked questions

What formula does the age calculator use?

It uses calendar-aware borrowing subtraction: days first, then months, then years. When the day component goes negative it borrows the true number of days in the month immediately before the target month, then carries one from the months column. This is the same method a registrar would use by hand, and it is why leap years and short months come out right.

What is chronological age?

Chronological age is the elapsed calendar time since a person was born, counted in completed years, months and days. It is the age used on legal documents and medical records, it advances at one day per day for everyone, and it can be calculated exactly from a date of birth and a reference date.

What is the difference between chronological age and biological age?

Chronological age is exact calendar time since birth and cannot be changed. Biological age is an estimate of how worn the body is, derived from biomarkers such as blood pressure, lung function or DNA methylation, and it can differ from chronological age in either direction. Use chronological age for anything official; treat biological age as a health indicator, not a fact.

How do I calculate age from a birthdate in Excel?

With the date of birth in cell A2, use =DATEDIF(A2,TODAY(),”Y”) for whole years. For a full breakdown use the “YM” code for leftover months and “MD” for leftover days. The same formulas work unchanged in Google Sheets. Note that Microsoft warns the “MD” unit can return incorrect results in some cases, so cross-check the days figure.

How many days are in each month?

January, March, May, July, August, October and December have 31 days. April, June, September and November have 30. February has 28, or 29 in a leap year. A common year is 365 days and a leap year is 366.

Does the calculator account for leap years?

Yes. Because it borrows the actual number of days from the relevant month when subtracting, leap days are handled correctly and the result stays accurate. It also applies the full leap rule, including the century exception that made 1900 a common year and 2000 a leap year.

How is the age of someone born on 29 February calculated?

The formula handles it automatically. In a common year there is no 29 February, so measuring to 28 February returns just under a full year rather than rounding up. Measuring to 1 March returns the completed year. Both are correct under the borrowing method.

Can I calculate age on a future date?

Yes. Set the second date to any future day and the tool will tell you how old the person will be then, and how far away that date is.

How many days have I been alive?

Enter your date of birth and leave the second field blank. The tool shows your total days lived, alongside totals in weeks and hours.

Does it count the birthday itself?

It counts completed time since birth, so on the morning of your birthday the years figure ticks up to the full number of years you have completed.

Why are total months and years/months slightly different?

The “years, months, days” figure is exact. The “total months” figure is an approximation based on an average month length of about 30.44 days, provided as a quick rough total, so the two won’t always line up perfectly.

What happens if the second date is before the birth date?

The tool detects this and shows a gentle notice rather than a negative age, so you can correct the dates.

Are my dates kept private?

Yes. The calculation runs entirely in your browser and no dates are sent anywhere or stored.

Is the age calculator free?

Yes, completely free with no signup and no usage limits.

Related tools and further reading

This tool lives in our Text Tools & Calculators collection, alongside the rest of the free AddonSpot tools. Planning a milestone or launch date? Pair it with the timeline thinking in our brand name checklist, or browse more write-ups on the guides and blog. Questions about how our tools work are answered on the FAQ page — and if there is a calculator you wish existed, suggest a tool and we will take a look.