Orpheus

Age Calculator

Exact age in years, months and days — and when the next birthday lands.

Inputs

Defaults to the date this page was last updated. Change it to today, or to any date you need.

Age
31years
Exactly
31y 2m 6d
Total days lived
11,390
Total weeks
1,627
Born on a
Thursday
Next birthday in
298days
whole years, then whole months, then the remaining days

All dates are handled in UTC, so the result never shifts with your timezone.

Every tool runs entirely in your browser. Your files are never uploaded to a server.

Age is counted as whole years first, then whole months, then the days left over. Enter a date of birth and the date to measure against, and the exact age appears along with total days lived and the next birthday.

How to use the Age Calculator

  1. Enter the date of birth. Use the year-month-day picker. Any date is accepted, including leap days.
  2. Set the date to measure against. It defaults to when this page was updated. Change it to today, or to a future date.
  3. Read the breakdown. Exact age, total days and weeks lived, the weekday of birth, and days until the next birthday.

About calculating age

Age looks trivial until you try to compute it precisely, at which point the calendar stops cooperating. Months are not a fixed length, so "one month after 31 January" has no obvious answer — 31 February does not exist. The convention used here, and by most date libraries, is to clamp to the end of the target month, making it 28 February. That single decision resolves a surprising number of edge cases, including leap-day birthdays. A related trap is subtracting date components independently: taking 1 March minus 31 January gives one month and minus two days, which is nonsense but is exactly what a naive implementation produces. This calculator instead advances whole months from the birth date without overshooting, then counts the remaining days, which cannot go negative. It also reports total days lived, which is the figure to use for anything that needs arithmetic rather than presentation, since it carries no month-length ambiguity at all. Everything runs in your browser and in UTC, so the answer does not drift with your timezone or reach a server.

Frequently asked questions

Why does the second date not default to today?
This page is prerendered, so a live date would be baked in at build time and slowly go stale in the HTML. An explicit field is always correct, works with JavaScript disabled, and lets you calculate age on any date.
How is a 29 February birthday handled?
It falls on 28 February in common years, which is the convention most calculators and most jurisdictions use. A leap-day baby born in 2004 turns 22 on 28 February 2026.
Why is my age in months not just years times twelve?
Months differ in length, so the calculation advances whole months from the birth date and counts the leftover days, rather than dividing a day total by an average month.
Does my timezone affect the answer?
No. Dates are handled in UTC. A calculator that quietly shifts by a day depending on where you are is worse than no calculator.

Last updated