Skip to content
CalcTide logo
Time & Date

Age Calculator

An age calculator turns a date of birth and a comparison date into an exact age broken into years, months, and days. Enter a date of birth and an as-of date (it defaults to today), and the tool returns a full age breakdown, the total number of days you have been alive as of that date, and a countdown of days until the next birthday. It is built for calendar-accurate math rather than rough estimates, so it correctly handles month-end dates, leap years, and February 29 birthdays instead of assuming every month is 30 days long. People use it to settle a quick birthday-math argument, to fill in an exact age field on a form, to check age eligibility rules, or to satisfy curiosity about how many days they have actually lived.

Time & DateBy

Quick answer

Age is calculated with calendar-accurate year, month, and day differences, not a flat 365-day-per-year estimate.

What this tells you

  • •Age is calculated with calendar-accurate year, month, and day differences, not a flat 365-day-per-year estimate.
  • •The calculator subtracts the birth date from the as-of date one calendar unit at a time: years first, then months, then days.
  • •Total days lived is the exact day count between the birth date and the as-of date, including every leap day in between.
  • •The next-birthday countdown is measured in days from the as-of date to the next occurrence of the birth month and day.
  • •You can set the as-of date to any date on or after the birth date, so the tool also works for past-dated or future-dated age checks.
  • •A birth date entered after the as-of date returns no result, since a person cannot have a negative age.

How to Use

  1. 1Enter the date of birth in the Date of birth field. This is the fixed starting point for every calculation.
  2. 2Enter the as-of date in the second field. It defaults to today, but you can change it to check age on a past date, a future date, or a specific event date.
  3. 3Click Calculate to see the full age breakdown alongside the years, months, and days figures.
  4. 4Check the secondary results for total days lived and the number of days remaining until the next birthday.
  5. 5If you need age on a specific document date, such as an enrollment cutoff or an eligibility deadline, set the as-of date to that exact date rather than leaving it on today.

How It Works

Formula

Age = calendar difference between birth date and as-of date, computed as years, then months, then days

The calculator starts by subtracting the birth year from the as-of year, the birth month from the as-of month, and the birth day from the as-of day. If the day subtraction goes negative, meaning the as-of day falls earlier in the month than the birth day, it borrows a month: it adds the number of days in the month before the as-of month to the day count and reduces the month count by one. If the month subtraction is then negative, it borrows a year the same way, adding 12 to the months and reducing the years by one. This mirrors how people count age by hand, working from the largest unit down to the smallest. Total days lived is a separate, direct calculation: the exact millisecond gap between the two dates converted to days. The next-birthday countdown builds a birthday date in the as-of date's year using the birth month and day. If that date has already passed, it moves the search to the same month and day in the following year, then reports the day gap to the as-of date.

Calculation note: values are processed in the order shown above, using the current input units.

Worked Examples

Standard adult age calculation

Date of birth2000-01-01
As-of date2026-05-07
Result26 years, 4 months, 6 days

From January 1, 2000 to May 7, 2026 is 26 full years plus 4 more months plus 6 more days, since May 7 is 6 days past the April-to-May monthly mark. Total days lived on that date comes out to 9,623, and the next birthday on January 1, 2027 is 239 days away. This is the typical case most people are checking when they want their exact age spelled out.

One day after a birthday just passed

Date of birth1990-06-15
As-of date2026-07-16
Result36 years, 1 month, 1 day

The person turned 36 on June 15, 2026, so by July 16 they are 36 years, 1 month, and 1 day old. Total days lived reaches 13,180, and the next birthday is 334 days out. This example shows how the month and day figures reset right after a birthday instead of continuing to climb toward the next full year.

Leap day birthday checked in a non-leap year

Date of birth2000-02-29
As-of date2026-07-16
Result26 years, 4 months, 17 days

Someone born on February 29, 2000 reaches 26 years, 4 months, and 17 days by July 16, 2026, with 9,634 total days lived. Because 2026 is not a leap year, the next-birthday calculation treats the birthday as landing on March 1, 2027, which is 228 days away. This is the clearest case of the calendar-math quirk that leap day birthdays create in years without a February 29.

Newborn age in the first weeks

Date of birth2026-06-30
As-of date2026-07-16
Result0 years, 0 months, 16 days

A baby born on June 30, 2026 is exactly 16 days old on July 16, 2026, with total days lived also equal to 16 since no full month has passed yet. The next birthday is 349 days away, which reflects the full year still ahead before the first birthday. This case is common for parents tracking a newborn's exact age for medical appointments or milestone records.

Eligibility check the day before an 18th birthday

Date of birth2008-10-08
As-of date2026-10-07
Result17 years, 11 months, 29 days

Sofia was born October 8, 2008, and a form asks whether she is 18 on October 7, 2026. The calculator reports 17 years, 11 months, 29 days, with 6,573 total days lived and the next birthday 1 day away. The day count is 29 rather than 30 because the borrow uses September's 30 days: 7 minus 8 is negative, so the tool adds 30 and drops one month. She is not 18 on the 7th and is 18 on the 8th. Set the as-of date to the deadline itself whenever an age rule hinges on one day.

Age calculated exactly on the birthday

Date of birth2005-08-20
As-of date2026-08-20
Result21 years, 0 months, 0 days

When the as-of date matches the birth month and day, the age lands on a clean whole number with 0 months and 0 days remaining, here 21 years exactly. Total days lived is 7,670, and the next-birthday countdown correctly reports 0 days, since the birthday is the as-of date itself. This confirms the calculator resets the month and day counters to zero right on the birthday rather than one day after it.

Age the day before a birthday

Date of birth2005-08-20
As-of date2026-08-19
Result20 years, 11 months, 30 days

One day before the same birthday, the person is still counted as 20 years, 11 months, and 30 days old, one day short of turning 21. Total days lived is 7,669, and the next birthday shows just 1 day away. Comparing this example with the one directly above shows how the age figures roll over cleanly at the exact moment the calendar date matches the birth date.

Ages the calculator reports on October 7, 2026

Eleven birth dates run against a fixed as-of date of October 7, 2026, so you can check the tool's year, month, and day counting against a date you can verify by hand. The rows include a birthday on the as-of date, one the day after, two February 29 births, and a month-end birth.

Date of birthAge reportedTotal days livedNext birthday in
1960-01-0166 years, 9 months, 6 days24,38686 days
1970-03-3156 years, 6 months, 6 days20,644175 days
1985-10-0741 years, 0 months, 0 days14,9750 days
1990-06-1536 years, 3 months, 22 days13,263251 days
1995-12-2530 years, 9 months, 12 days11,24479 days
1998-11-3027 years, 10 months, 7 days10,17354 days
2000-02-2926 years, 7 months, 8 days9,717145 days
2008-10-0817 years, 11 months, 29 days6,5731 day
2020-02-296 years, 7 months, 8 days2,412145 days
2024-08-312 years, 1 month, 6 days767328 days
2026-09-010 years, 1 month, 6 days36329 days

Computed with the formula above using 2026-10-07 as the as-of date. The two February 29 rows show 145 days to the next birthday because 2027 is not a leap year and the tool resolves the birthday to March 1, 2027. Total days include every leap day in the span, which is why 1960-01-01 reads 24,386 rather than 66 x 365 plus the partial year.

How the calculator counts, and the conventions it does not use

The tool counts the way a person does with a calendar in front of them: full years first, then full months, then leftover days. When the as-of day of the month is earlier than the birth day, it borrows the length of the month before the as-of month. Born March 31, 1970 and checked on October 7, 2026, the day subtraction is 7 minus 31, so the tool adds September's 30 days to get 6 and drops the month count from 7 to 6, giving 56 years, 6 months, 6 days. Both dates are read in the ISO 8601 form YYYY-MM-DD on the Gregorian calendar. ISO 8601 itself leaves a bare month duration ambiguous, since one month can be 28 to 31 days, which is exactly why the tool anchors every month to real calendar dates instead of a fixed 30 days.

Leap years follow the Gregorian rule: a year divisible by 4 is a leap year, unless it is divisible by 100, unless it is also divisible by 400. So 2000 and 2024 had a February 29, 1900 and 2100 do not, and the long-run average year is 365.2425 days. A February 29 birthday exists in only about one year in four. This calculator's next-birthday countdown lands on March 1 in common years, which is one defensible convention. Some jurisdictions treat February 28 as the legal birthday in a common year and others use March 1, so for a licensing or age-of-majority question check the rule that applies rather than the countdown here.

Not every culture counts age this way. Under traditional East Asian reckoning a baby is 1 at birth and everyone becomes a year older together at the New Year, so a child born in late December could be called 2 within days. South Korea used that system alongside the international one until a 2023 law standardized official age on the counting this tool uses, full years since birth. The Korean age calculator linked below shows the two side by side. The age this page reports is international age, which is also what passports, medical records, and most legal forms expect.

The limits are about what the inputs do not contain. The tool compares calendar dates at local midnight, so it ignores time of birth and time zones, and someone born late at night in one zone may be a day older or younger on paper in another. It applies no age-of-majority, voting, drinking, or retirement rule. Total days lived is the whole-day difference between the two dates, rounded to absorb daylight-saving shifts, and it is exact for the dates entered but says nothing about the hours either side of them.

Compare international and Korean age

Common mistakes

  • Using a future birth date. The calculator requires the birth date to fall on or before the as-of date, and it will not return a result for a birth date that is later than the comparison date.
  • Confusing today's date with the as-of date. Leaving the as-of date on today when you actually need age on a specific past or future date, such as an enrollment deadline, gives an answer for the wrong point in time.
  • Expecting each month to count as a fixed 30 days. The calculator uses the actual number of days in each calendar month, so the day figure in the breakdown will vary depending on which months fall between the two dates.
  • Assuming a February 29 birthday always lands on February 29 for the next-birthday countdown. In years without a leap day, that countdown resolves to March 1 instead, which can look off by a day if you were expecting February 29.
  • Reading total days lived as the same thing as age in years multiplied by 365. Because of leap years, total days lived is usually a few days higher than a simple 365-times-years estimate once someone has lived through several leap years.

Embed this calculator on your site

Paste this code where you want the calculator to appear. It is responsive, mobile-friendly, resizes automatically, and is free to use as long as the credit line stays in place.

<script src="https://calctide.com/embed.js" data-tool="age-calculator" async></script> <p style="font-size:12px;margin:4px 0 0">Age Calculator by <a href="https://calctide.com/time-date/age-calculator/">CalcTide</a></p>

Preview the embed at /embed/age-calculator/.

Frequently Asked Questions

It subtracts the date of birth from the as-of date using calendar-accurate math, working out full years first, then leftover months, then leftover days. It also reports the exact total number of days lived and the number of days remaining until the next birthday, all based on the same two dates you enter.
Yes. Change the as-of date to any date on or after the birth date, and the calculator recalculates the age breakdown, total days lived, and next-birthday countdown for that specific date instead of today.
Yes. All calculations use real calendar dates, so leap years and leap days are factored in automatically, both for the year-month-day breakdown and for the total days lived figure.
The age breakdown still works normally using calendar-accurate math. The next-birthday countdown treats the birthday as March 1 in any year that is not a leap year, since February 29 does not exist on the calendar that year.
The calculator uses the actual length of each calendar month rather than a flat 30-day assumption, so a leftover day count that spans a 31-day month or a 28-day February will differ from a simple 30-day estimate.
It is the exact number of full days between the birth date and the as-of date, calculated directly from the date difference rather than derived from the years, months, and days breakdown. It includes every leap day that fell within that span.
The calculator builds a birthday date in the current year using the birth month and day. If that date has already passed relative to the as-of date, it moves to the same month and day the following year and counts the days from the as-of date to that point.
Yes. The calculator only needs a date of birth and an as-of date, so it works the same way for checking a child's exact age, a document subject's age, or any other person's age as long as you know their birth date.
It uses standard calendar-date math, which matches how age is generally counted, but it does not apply jurisdiction-specific legal rules, time zones, or birth-time precision. Treat the result as a general reference rather than a formal legal determination.
It estimates age calculator outputs using the visible inputs and formula assumptions on this page.

Explore More in Time & Date