Skip to content
C

Age Calculator

Age in years, months and days.

Age

Age
26 years 3 mo 12 d
Total months
315
Total days
9,599
Total weeks
1,371
Total hours
230,376

About the Age Calculator

MethodologyHome

An age calculator computes age in years, months, days, hours, minutes, or seconds from a birth date. The simple version is just "this year minus the birth year," but the precise version requires accounting for whether the birthday has happened yet this year, leap years, varying month lengths, and time zones. Common uses: documentation requiring exact age, planning around birthday milestones (Medicare at 65, retirement-account RMDs at 73), and pet/baby developmental tracking.

How exact age is computed

For age in completed years, the calculation is straightforward: today's year minus birth year, minus 1 if today is before the birthday this year, plus 0 if today is on or after. Example: born March 15, 1990. On March 14, 2025: still 34. On March 15, 2025: turned 35.

For exact age in years/months/days, walk through the math: years = current_year − birth_year (with the birthday-not-yet adjustment); months = current_month − birth_month + 12 if the result is negative (with a year decrement); days = current_day − birth_day + days_in_previous_month if negative (with a month decrement). The result is the human-natural "35 years, 4 months, 12 days" form.

Leap years and edge cases

Someone born on February 29 has only one true "birthday" every 4 years. Most jurisdictions treat their birthday as February 28 in non-leap years for legal purposes (turning 21, voting age, etc.), but a few countries (notably some U.K.-influenced jurisdictions historically) used March 1. For age calculation, the practical answer is to treat February 29 as February 28 in non-leap years — the same convention used by most software.

The leap-year rule itself: divisible by 4 is a leap year, except divisible by 100 isn't, except divisible by 400 is. So 2000 was a leap year, 1900 wasn't, and 2100 won't be. Most everyday age calculations don't span century boundaries; for those that do, the rule matters.

Time zones, birth times, and ambiguity

Age in years rarely depends on time zone — a birthday is a date, not a moment. Age in seconds or hours does: someone born at 23:30 in Sydney was born at 13:30 UTC; their "second of birth" anchor depends on which clock you use. For most purposes, treating the birth date as a calendar date in the person's birth-time-zone is correct.

Age in legal contexts — turning 18, 21, or 65 — sometimes uses the prior-day convention (the common-law "turning age on the day before the anniversary" rule). U.S. legal practice has largely abandoned this in favor of the anniversary-day rule, but specific statutes occasionally invoke the older convention. When a date matters legally, check the specific jurisdiction.

Common age-based milestones

Federal U.S. ages: 16 (driver's permit/license, varies by state), 18 (vote, military service, contract eligibility, age of majority in most states), 21 (alcohol purchase nationally, casino gambling in most states), 25 (rental car at most companies without surcharge), 26 (loss of dependent status on parental health insurance), 50 (catch-up retirement contributions begin), 59½ (no penalty on retirement-account withdrawals), 62 (earliest Social Security retirement claim, with reduction), 65 (Medicare eligibility), 67 (Social Security full retirement age for those born 1960+), 70 (maximum delayed retirement credits stop accruing on Social Security), 73 (RMDs begin under SECURE 2.0).

Each milestone has specific rules — Medicare requires enrollment, RMDs require action by year-end, Social Security claim age affects monthly benefits permanently. An age calculator that flags upcoming milestones can be more useful than just reporting current age.

Worked examples

Standard age calculation

Born July 15, 1985. As of April 25, 2026: 40 years old (next birthday: July 15, 2026, which will turn them 41). Years: 2026 − 1985 = 41, minus 1 because birthday hasn't happened yet = 40.

Years/months/days breakdown

Born March 10, 1992. As of April 25, 2026: 34 years, 1 month, 15 days. Calculation: years = 2026 − 1992 = 34 (birthday already passed). Months = 4 − 3 = 1. Days = 25 − 10 = 15.

Days alive

Born January 1, 2000. As of April 25, 2026: 26 years, 3 months, 24 days. Total days: roughly 26 × 365.25 + 3 × 30.4 + 24 ≈ 9,609 days, or about 230,600 hours.

Frequently asked questions

How is age calculated?

Years from birth year, minus 1 if your birthday hasn't happened yet this year. For more precise results: years, then months from birth month (borrowing from years if needed), then days from birth day (borrowing from months if needed). The result expresses age in years, months, and days.

What about leap-year birthdays (February 29)?

In non-leap years, most calculators and most legal contexts treat February 29 as February 28 — the birthday "counts" on February 28 in years that don't have February 29. A few historical conventions used March 1, but this is rare in modern practice.

Does age include the day of birth?

Conventionally, you're 0 years old on the day you're born and turn 1 on your first anniversary. The U.K. common-law tradition once held that you turned a new age on the day before the anniversary; modern U.S. and U.K. statutes use the anniversary day itself.

How do I calculate someone's age on a specific past or future date?

Use that date instead of "today" in the same calculation. Born April 1, 1990, calculating their age on January 1, 2030: 2030 − 1990 = 40, minus 1 because their April birthday hasn't happened yet by January 1 = 39 years old.

Why does my pet/baby age calculator give a different number than for adults?

Pet age ("dog years") and baby age (in weeks/months) use specialized scales because biological development isn't linear with chronological time. A 1-year-old dog is roughly equivalent to a 15-year-old human in developmental terms, while a 5-year-old dog is more like a 35-year-old human. The exact mapping varies by breed and species.

Can age be negative or zero?

Negative age refers to a future birth date (sometimes used for fetal age in pregnancy or for planning). Zero age refers to the day of birth itself. Both are mathematically valid; both are unusual outside specific contexts.

Concepts

Sources & methodology

  • U.S. Naval Observatory — Astronomical Applications (calendar and time)source