🔧 TL3 Tools

Live demo (works without JavaScript):

Age Calculator

Sample: Bob born 2019-06-15; as of any date you choose the tool returns years, months and days.

enter values in the form → exact result

🎂 Age Calculator

Written by Sarah Mitchell · Reviewed by Alex Chen · August 2, 2026

Calculate your exact age in years, months, days, hours, minutes, and seconds.

Calculator

Your Age

Select a date and click Calculate.

Last updated: August 2026

What the Age Calculator Computes

Given a date of birth and a second "as of" date, this tool reports the elapsed time in years, months, and days, then breaks the same span into total months, weeks, days, hours, minutes, and seconds. The second date defaults to today but can be set to anything — a school enrollment cutoff, a retirement target, a court date, or the day you started a job. The one hard rule is that the earlier date comes first; the tool refuses to count time before someone was born.

Different people reach for it for different reasons. Parents check whether a child turns five before a district's kindergarten cutoff. HR staff verify that a candidate clears a minimum age. Researchers quote a precise duration in a methodology section. Developers compare the output against their own date arithmetic when testing. And because both fields are date pickers, the same page works as a general date-span calculator with no birth date in sight.

How the Year-Month-Day Split Works

The math is calendar arithmetic, not a fixed 365-day year. It starts with three subtractions:

years = target year − birth year
months = target month − birth month
days = target day − birth day

If the day difference comes out negative, the tool borrows one month: it subtracts one from the month count and adds back the number of days in the month that precedes the target month. If the month difference then turns negative, it borrows one year and adds back twelve months. That borrow step is why a span is reported in calendar units that line up with the dates on a wall calendar.

The totals underneath come from the same pair of dates by a different route. Total months is the year figure times twelve plus the month figure. Total days is the raw difference between the two dates measured in 24-hour units. Total weeks is that day count divided by seven, rounded down. Hours, minutes, and seconds are the day count multiplied up, which is why date-only inputs always produce exact multiples.

A Worked Example: March 3, 2000 to August 4, 2026

Take someone born on March 3, 2000, checked against August 4, 2026. The three subtractions give 26 years (2026 − 2000), 5 months (August − March), and 1 day (4 − 3), so the tool shows 26 years, 5 months, 1 day.

Now the totals. Twenty-six years of 365 days come to 9,490 days. The leap years in that window — 2004, 2008, 2012, 2016, 2020, and 2024 — add six more, bringing the count to 9,496 by March 3, 2026. The remaining 154 days from March 3 to August 4, 2026 make 9,650 days in total. That same span also works out to 317 months, 1,378 weeks, 231,600 hours, or 833,760,000 seconds. The next birthday, March 3, 2027, is 211 days away.

A second example shows the borrow step in action. From March 31 to May 2, 2026 the subtractions give 2 months (May − March) and −29 days (2 − 31). The tool borrows one month, counts April's 30 days, and reports 1 month and 1 day. A wall calendar counts March 31 to April 30 as one month and April 30 to May 2 as two more days, so the tool's figure runs one day short of what a calendar shows — a real consequence of borrowing only once.

Where the Calculation Can Surprise You

  • Month-end spans. Because the tool borrows once against the month before the target date, a span like January 31 to February 28 is reported as 0 months and 28 days, and March 31 to April 30 comes out as 0 months and 30 days even though both are a full calendar month apart. If your dates land on month ends, double-check the day figure against a wall calendar.
  • February 29 births. In a non-leap year the browser rolls February 29 forward to March 1, so someone born on a leap day sees their next-birthday count aim at March 1 in ordinary years and at February 29 in leap years.
  • Century boundaries. Leap years are divisible by four, except whole centuries, which must also be divisible by 400. That is why 1900 was a plain 365-day year while 2000 had a February 29. The browser's date engine applies the rule automatically, so results match civil calendars.
  • A birthday that is the target date. If the "as of" date is the birthday itself, the days-until-next-birthday row is left off the results, since showing zero days would be misleading.
  • Time zones. Dates are interpreted in your browser's local time zone. That is irrelevant for day-level precision and only matters if you compare two people across zones at second-level precision.

Questions People Ask About Age Calculations

Why does the months-and-days figure not match a "days / 365" estimate?

Because months are counted as calendar-month boundaries, not 30-day chunks. A person born on the 15th turns exactly one month older on the 15th of the next month, even though the gap may be 28, 30, or 31 days. The total-days row is the one to use for a flat count.

Can I use this to measure a span that is not a birth date?

Yes. Put any start date in the first field and any end date in the second. The same calendar arithmetic applies, so it works for tenancy periods, visa stay calculations, job tenure, or time served toward a license.

How are hours and minutes counted for a date-only span?

Date-only inputs are treated as the start of their day, so the hour, minute, and second totals are exact multiples of the day count. If you need sub-day precision, your browser's time zone decides which day a timestamp falls on.

What does the tool do with a future birth date?

It stops and asks for an earlier date. Negative ages are never computed, so the results are always a non-negative span from the first date to the second.

Which figure should I quote on a form?

When a form asks for age in years only, quote the years number as shown; it is completed years, never rounded up. Someone the tool reports as 26 years 5 months old is 26, not 27, until the 27th birthday passes.

Is my birth date stored anywhere?

No. The math runs in your browser, so nothing you enter is sent to a server, and the tool keeps working if you disconnect from the internet after the page loads.

When an Exact Age Matters

Most of the time "26 and a half" is close enough, but some decisions hang on calendar boundaries: whether a child is old enough to start school in a given district, whether a driver's license renews this quarter, whether a claim falls inside a statute of limitations, or how long a visa stayed valid. When the boundary is a specific date, count the days exactly — the age calculator above does that in one pass, down to the second if you want it.

There are also moments to put the tool away. If a government form, visa, insurance policy, or court filing depends on your age, confirm the number against the official record or agency rather than a web calculator. And if the interval you care about runs between two clock times rather than two dates, a duration calculator that accepts times of day is the better fit.

More Time and Date Tools