Age Checker
How old are you exactly, down to the day?
Enter your date of birth and get your exact age broken down into years, months, and days — plus how many days until your next birthday.
—
Send feedback
💡 Share your idea or report a problem
✓ Thanks! We'll take a look.
Learn more
How It Works
The formula, explained simply
Most people know their age in years, but the number of years alone hides a lot. A ~34-year-old who just had their birthday and a ~34-year-old who is eleven months in are both the same age in years — yet they are almost a full year apart. Breaking age into years, months, and days gives you the precision that matters for medical forms, legal eligibility windows, insurance cutoffs, and anything else with a hard date boundary.
The calculator works by comparing your date of birth to a reference date — today by default, or any date you choose. It finds the whole years first, then the remaining whole months, then the leftover days. The tricky part is the day remainder: if the birth day-of-month is larger than the reference day-of-month, the tool borrows from the previous month to avoid a negative day count. This mirrors how civil registry systems and most legal frameworks handle partial months.
The total days figure is simpler: it is just the raw difference between the two dates in milliseconds, converted to whole days. This number tends to be surprisingly large — it is a useful reality check on how much time has actually passed, and it is the only form of age that works unambiguously across every calendar convention.
When To Use This
Right tool, right situation
Use this tool any time you need an age that is more precise than a year count. Common situations include completing medical intake forms that ask for age in years and months, verifying eligibility for age-gated programs that have an exact date cutoff, calculating a child's developmental age for a pediatric appointment, or confirming your age on a specific past date for a legal or financial document.
The birthday countdown is useful for planning — knowing that your next birthday is 363 days away is more actionable than knowing the month. It also works for tracking age milestones: if you want to know exactly when you will cross a threshold (say, a round-number total-days milestone), set the reference date to that future date and check.
This tool is not appropriate when you need age expressed in a non-Gregorian calendar system (Hebrew, Islamic, Chinese lunisolar), when legal age is determined by local statute that may differ from calendar age, or when you need age at death for actuarial tables — those calculations use specialized methods that account for period life tables and mortality assumptions this tool does not apply.
Common Mistakes
Why results sometimes look wrong
Mistake 1: Counting years only and missing an eligibility cutoff. Many legal and insurance thresholds are day-precise — not year-precise. A person who is ~59 years old may or may not have reached their next birthday yet. Submitting an application based on year alone when the cutoff is an exact date can cause a rejection or delay that requires resubmission weeks later.
Mistake 2: Treating the total-days number as a direct proxy for age in years. Dividing total days by ~365 gives an approximation, but it ignores leap years. Over several decades, the error accumulates to several days. The tool avoids this by doing the year-month-day decomposition directly from calendar dates rather than dividing the day count.
Mistake 3: Forgetting to set the reference date when checking a historical age. If you need to know how old someone was on a specific past date — for an audit, a legal proceeding, or a benefits calculation — leaving the reference date blank gives you their age today, not then. The two numbers can differ by months or years depending on how long ago the event occurred. Always set the reference date explicitly for historical checks.
The Math
Worked examples and deeper derivation
The core calculation works in three passes. First, subtract the birth year from the reference year to get a raw year count. Second, compare months and days to decide whether the current-year birthday has passed yet. Third, extract the remainder in months and days.
Formally: start with raw years = reference year minus birth year. Then check whether the birth month and day have occurred yet in the reference year. If the reference month is earlier than the birth month, or the months match but the reference day is earlier than the birth day, subtract one from raw years — the birthday has not happened yet this year.
For the month and day remainder: compute months = reference month minus birth month and days = reference day minus birth day. If days is negative, subtract one from months and add the number of days in the previous month. If months is then negative, subtract one from years and add twelve to months. The result is the fully decomposed age: 36 years, 0 months, 2 days for the example inputs.
Total days uses a simpler path: convert both dates to Unix timestamps (milliseconds since epoch), subtract, and divide by the number of milliseconds in one day. The result for the example is 13,151 days — no month or calendar ambiguity involved.
Expert Unlock
The thing most explanations skip
The month-borrowing algorithm used here matches ISO 8601 duration semantics for years and months, but the "days" remainder is calendar-specific — it depends on how many days are in the borrowed month. This means two people born the same number of milliseconds apart can show different year-month-day breakdowns if their birth dates straddle a short month like February. For actuarial, epidemiological, or legal age calculations that require strict day-count precision, the total-days figure is the authoritative number — the year-month-day decomposition is a human-readable approximation built on calendar conventions, not a pure arithmetic fact.
Why does my age in months not match what I expected?
Need something this doesn't cover?
Suggest a tool — we'll build it →