SimplyCalculated.org

Age Calculator

Enter a date of birth and any "as of" date to get the exact age in years, months, and days — plus the total days and weeks between them, all computed instantly in your browser.

100% private: everything is processed in your browser's memory — nothing you enter is uploaded to a server, logged, or stored.

Age Calculator

Leave "Age as of" empty to use today's date. The result updates live as you type, and the URL keeps a shareable link that reproduces the same calculation.

Exact Age

0 y 0 m 0 d

Total Days

0

Total Weeks

0

Age is computed in whole calendar years, months, and days — the same way an age is stated conversationally. Leap-day birthdays are handled correctly.

How Is Age Calculated From a Birth Date?

"34 years, 4 months, and 21 days" is a precise statement, and getting it right requires calendar-aware arithmetic — you cannot just subtract two timestamps and divide, because months have different lengths and leap years break any fixed-length assumption. The correct method subtracts the two dates component by component, borrowing like you would in column subtraction. A naive shortcut — dividing the 12,562 total days between March 15, 1990 and August 5, 2024 by 365.25 — would report an age of about 34.39 years, a figure nobody actually states out loud and one that hides which day the next birthday falls on. Calendar-aware subtraction avoids that entirely by working through years, months, and days as separate, borrowable units, the same way you'd work through a multi-column subtraction problem by hand — and it's the method every result on this page, from the widget above to the reference table further down, is built on:

Component Rule
Days Day-of-month difference; if negative, borrow the full length of the previous month
Months Month difference; if negative, borrow one year (add 12)
Years Year difference, reduced by any month/day borrows
Total days (As-of − Birth) ÷ 86,400,000 ms

The borrow step is what keeps the answer honest. If someone born on January 31 is checked on February 29, the day difference is 29 − 31 = −2, so the calculator borrows January's 31 days: the age becomes 0 months and 29 days. A naive "divide the milliseconds" approach would report a fractional year and miss the whole point of stating an age in calendar units.

How an age is measured on a timeline A horizontal line runs from a "Birth Date" point to a "Today" point. A bracket beneath the line marks the elapsed span, labeled with an example breakdown of 34 years, 4 months, and 21 days, and a total of 12,562 days. Birth Date e.g. Mar 15, 1990 Today (or any "as of" date) 34 years, 4 months, 21 days Total: 12,562 days (1,794 weeks, 4 days)
The span between a birth date and today (or any chosen "as of" date) breaks down into years, months, and days using the same borrow-based subtraction described above. Example shown: March 15, 1990 to August 5, 2024.

Step-by-Step Example: Born March 15, 1990

Let's compute the age on August 5, 2024 — the kind of calculation this page does instantly.

  1. Years: 2024 − 1990 = 34.
  2. Months: August (8) − March (3) = 5 — but we must check the day first.
  3. Days: 5 − 15 = −10, so borrow the full length of July (31 days): days = 21, and months drop to 4.
  4. Result: 34 years, 4 months, and 21 days — exactly what the widget shows.
  5. Totals: 12,562 calendar days, which is 1,794 weeks and 4 days.

Enter those two dates above and the calculator reproduces every number live, updating as you change either date.

How Are Leap Years and February 29 Handled?

February 29 only exists in leap years, and the calculator validates every date against the real calendar — February 29, 2023 is rejected because 2023 is not a leap year. When a range does span a leap day, the total-days count includes it exactly once, and month-end arithmetic borrows the true length of February (28 or 29 days). That means a birth date of February 29 behaves sensibly in every comparison, and the age around the end of February never drifts by a day the way fixed-30-day math would.

Reference Table: Ages at Common Dates

Birth date As of Exact age Total days
1990-03-152024-08-0534 y, 4 m, 21 d12,562
2000-02-292024-03-0124 y, 0 m, 1 d8,766
2010-01-012024-01-0114 y, 0 m, 0 d5,113
2020-06-152020-06-150 y, 0 m, 0 d0

Using the "As of" Date

The second date field exists because "how old am I?" is not the only question an age calculator answers. Age requirements are almost always checked against a fixed moment: turning 18 for a contract, turning 21 for a license, or meeting an eligibility cutoff on a specific date. Set the "as of" date to any past or future date and the calculator reports the age at that exact moment — useful for planning, for documents, and for verifying that an age requirement was met before a deadline rather than after it. For example, someone born January 1, 2010 turns exactly 14 years old on January 1, 2024: set the birth date to 2010-01-01 and the "as of" date to 2024-01-01 above, and the calculator reports 14 years, 0 months, and 0 days — confirming eligibility for anything with a 14-year cutoff on that exact date, rather than leaving it to a rough year-only estimate.

Troubleshooting & Practical Tips

Date Format

The date fields use the browser's native date picker and accept YYYY-MM-DD input. Dates are validated strictly: an impossible date like February 30 or month 13 is rejected with an error rather than silently rolled into a neighboring day.

Reversed Dates

If the birth date falls after the "as of" date, the calculator reports an error instead of a negative age. Swap the two fields, or if you are comparing two arbitrary events, put the earlier one in the birth field — the years, months, and days readout then shows the exact gap between them.

Month-End Birthdays

The year/month/day convention borrows from the true length of the previous month, so month-end birthdays behave slightly differently from mid-month ones. A person born on March 31 is "0 months, ‎30 days" old on April 30 — borrowing March's 31 days. This is the standard way ages are stated, and it is exactly what the widget reproduces.

Common Mistakes to Avoid

  • Assuming every month has 30 days — the borrow step must use the real previous month's length.
  • Subtracting the birth year from the current year and ignoring the month/day — off by up to a year around the birthday.
  • Forgetting that a future "as of" date is a legitimate use — age requirements are often checked against deadlines.
  • Using a fixed 365-day year for total days across a leap year — you'd be short one day.

Frequently Asked Questions

How is my age calculated in years, months, and days?
The calculator compares the calendar date of birth with the "as of" date and subtracts year by year, month by month, then day by day — borrowing from the previous month when the day-of-month is smaller. For example, someone born March 15, 1990 is exactly 34 years, 4 months, and 21 days old on August 5, 2024. The total-days figure is the exact number of calendar days between the two dates, and the weeks figure splits that into whole weeks plus leftover days.
How is a February 29 birthday handled in non-leap years?
Leap-day births are handled by the calendar itself. Someone born on February 29, 2000 reaches their 24th birthday on March 1, 2024 — the calculator reports 24 years, 0 months, and 1 day for that pair. In non-leap years they would normally celebrate on February 28 or March 1 depending on local custom, but the calendar arithmetic always lands on a real date, so the count stays exact.
Why would I use a specific "as of" date instead of today?
Most of the time today is exactly what you want, which is why the field defaults to it. But documents and applications often need an age at a fixed moment: a contract signed on a past date, an age requirement checked on a future date, or verifying eligibility as of a deadline. Setting the "as of" date lets you compute any of those precisely, and the shareable URL keeps the calculation reproducible.
Does the calculator account for leap years in the total days?
Yes — both date fields are validated against the real calendar, and the total-days figure counts every actual calendar day, so a leap day (February 29) in the range is included exactly once. The month-day math borrows from the true length of the previous month, so dates near the end of February never drift.
Is my date of birth stored or sent anywhere?
No. Everything runs in your browser tab: the dates you enter are read by the calculator script, and the only trace is the query string in your own address bar (used so a shared link reproduces the same result). Nothing is uploaded, logged, or persisted — there is no backend and no database on this site.
What is the difference between "total days" and "total weeks"?
Total days is the exact number of calendar days between the two dates — for someone born March 15, 1990 and checked on August 5, 2024, that is 12,562 days. Total weeks splits that into whole 7-day weeks plus a remainder: 1,794 weeks and 4 days. The weeks figure is handy for tracking, while the days figure is the precise measure used for legal and contractual ages.
Can I calculate the age difference between two people instead of a birth date?
Yes — the calculator works for any two dates. Put the earlier date in "Date of Birth" and the later one in "Age as of", and the years, months, and days readout is exactly the age difference between them. That makes it useful for comparing siblings, co-workers, or any two events without needing a separate tool.

Formula last verified August 22, 2026 against our published methodology .