Age on Date Calculator
Calculate how old someone will be (or was) on any specific date.
Written by Golam Rabbani, Founder & Lead Engineer
How to use this age on date calculator
- Enter the date of birth.
- Enter the target date — any date on or after the date of birth.
- Press Calculate to see the age in years, months, and days on that specific date.
- Read the breakdown for total days, weeks, and approximate months, plus the weekday of the target.
- Use Copy to grab the headline, or Reset to start over.
About this age on date calculator
The age-on-date calculator answers a slightly different question from a normal age calculator: how old will this person be — or how old were they — on a specific date that is not today? It is what you need for school-year cutoffs ("how old will they be on September 1?"), pension forms ("age on the date of retirement"), and legal eligibility ("age on the date of the contract").
Internally the tool does calendar arithmetic, not flat day division. It first takes the year difference between the birth and target dates, then borrows a month when the target's day-of-month is earlier than the birth day-of-month, then borrows a year when the target's month is earlier than the birth month. The borrowing pulls the day count from the previous month of the target date, so a borrow from a 28-day February gives 28 days, while a borrow from a 31-day December gives 31. We assume both dates are in the local time zone and that the target falls on or after the date of birth; reversed inputs return an inline error.
For example, a child born on 2020-10-15 will be 5 years, 10 months, 17 days old on 2026-09-01 — the typical US kindergarten cutoff date. The same DOB on 2030-10-15 returns exactly 10 years, 0 months, 0 days. The breakdown also shows the total day count (2,147 days in the first example), the total weeks, and the weekday the target date falls on, so you have every number a form might ask for.
FAQ
- How is this different from a normal age calculator?
- A normal age calculator uses today as the target date. This one lets you pick any target — past or future — so you can answer "how old will I be on Christmas?" or "how old was I when this happened?" without doing the date math by hand.
- Why is the day count sometimes 28, 30, or 31?
- When the target's day-of-month is earlier than the birth day-of-month, the calculator borrows the number of days from the previous month of the target. That month has 28 to 31 days depending on which month it is.
- What if I enter a target date before the date of birth?
- The calculator returns an inline error rather than a negative age. Swap the inputs to see how long until the date of birth from that earlier date, using the days-between-dates tool instead.
- Does the calculator account for leap years?
- Yes. Native JavaScript dates handle leap years correctly, so a person born on 2020-02-29 is exactly 4 years old on 2024-02-29 and exactly 5 years old on 2025-03-01.
- Is the tool free?
- Yes. It runs entirely in your browser. Nothing is sent to a server, nothing is stored between sessions, and there is no signup or rate limit.