AskANumber.com

Age Calculator

An age calculator turns a date of birth into an exact age in years, months, and days, using real calendar month lengths rather than a flat 30-day month. It also totals the same span as days, weeks, and hours, counting every leap day along the way. Enter a birth date and an on date to measure age at any point, past or future — not just today.

Age
33y 9m 11d
Total days
12,337
Total weeks
1,762
Total hours
296,088
12,337 days old, about 33.8 years
Roughly 1,762 weeks or 296,088 hours — the exact years/months/days is shown above.
Your timeline
Years lived so far
33
years
9
months
11
days
Life so far
0
10
20
30
40
50
60
70
80
90
Inputs
Date of birth
On (date)
Real calendar months, not 30-day chunks
The years / months / days breakdown uses actual month lengths, so the months figure won't equal total days ÷ 30. That's expected — a calendar month runs 28 to 31 days.
Leap-day birthdays
A Feb 29 birthday ticks over on Mar 1 in common years and on Feb 29 in leap years. For a plain span between two arbitrary dates instead, use the Date difference calculator.
Ask a follow-up
Uses your inputs above
33y 9m 11d age. Want to try a variation?
Type a question below to compare scenarios.

The math

Reviewed 2026
Formula
age = floor((on − birth) / year)

Related calculators

Example: how age is calculated

Step-by-step with default inputs

Suppose you put the default values into Age Calculator:

Date of birth
1992-08-04
On (date)
2026-05-15

Plug those into the formula age = floor((on − birth) / year) and the result is:

Age
33y 9m 11d

With the defaults — born August 4, 1992, measured on May 15, 2026 — the raw year gap is 34, but the August anniversary hasn't arrived yet, so one year is borrowed back and repaid as 12 months, landing on 33 years, 9 months, 11 days. The total of 12,337 days comes straight from the calendar count and includes the eight February 29ths between the two dates (1996 through 2024); divided by 7 it gives about 1,762 weeks, and multiplied by 24 it gives 296,088 hours.

How to calculate age by hand

  1. Subtract the birth year from the on year, the birth month from the on month, and the birth day from the on day, keeping the three results separate.
  2. If the day result is negative, add the number of days in the month before the on date and reduce the month result by 1.
  3. If the month result is now negative, add 12 and reduce the year result by 1 — the three numbers are the age in years, months, and days.
  4. For total days, count the calendar days from birth to on directly, remembering that every leap year in the span contributes a February 29.
  5. Divide total days by 7 for weeks, or multiply by 24 for hours.

How does the age calculator work?

Exact age is computed with calendar borrow arithmetic, the standard way to subtract one Gregorian date from another. We subtract year, month, and day separately; a negative day result borrows the actual length of the month preceding the on date (28 to 31 days), and a negative month result borrows 12 from the years. The breakdown therefore respects real month lengths and leap years instead of assuming 30-day months. The total-days figure is computed independently as the exact number of calendar days between the two dates, then converted to weeks (divide by 7) and hours (multiply by 24). The calculator deliberately reports age both ways — the everyday years-months-days form and the raw day count — because they don't interconvert cleanly: a month of age can be 28, 29, 30, or 31 days depending on where it falls.

Last reviewed July 2, 2026 · Editorial policy

Frequently asked questions

How many days old am I?

Total days is the exact count of calendar days from your birth date to the on date, leap days included. With the defaults — August 4, 1992 to May 15, 2026 — that is 12,337 days, or about 1,762 weeks.

Why does age in months differ from total days divided by 30?

Because the breakdown uses real calendar months of 28 to 31 days, not a flat 30. The two figures answer different questions: one follows anniversaries on the calendar, the other counts raw elapsed days.

How does the calculator handle a February 29 birthday?

In common years the year count increases on March 1, because the day arithmetic borrows the actual length of February. In leap years the birthday exists, and the count increases on February 29 itself.

What is the on date field for?

It sets the day the age is measured, so you can compute an age on any past or future date — a historical record, a form deadline, or an upcoming birthday — instead of only today.

How accurate is this age calculator?

The math is deterministic — the same inputs always produce the same output, and the formula is shown above. Accuracy of the answer for your situation depends on how well your inputs match reality and how well the formula models the question.

How do I share my result?

Hit Share at the top of the page. Every input you change is encoded in the URL, so a permalink reproduces exactly what you see. No account needed.