Free calculatorLive resultsSteps and sourcesEmbed on your site, free

Age Difference Calculator

Age Difference Calculator works out Age in years and Extra months from Date of birth, Age at this date and Second date of birth (optional). The default figures on this page give age gap in years of 5 years; change any entry and the result, the working and the sources update together.

Age gap in years
5 years
Age Calculator
Age in years
38 years
Extra months
9 months
Extra days
22 days
Age
38 years, 9 months, 22 days
Chronological age (years;months)
38;9
Age in decimal years
38.8126 years
Age in months
465 months
Age in weeks
2,025 weeks
Days lived
14,176 days
Hours lived
340,224 h
Minutes lived
20,413,440 min
Seconds lived
1,224,806,400 s
Whole weeks after the months
3 weeks
Days after those weeks
1 days
Age in years, months, weeks and days
38 years, 9 months, 3 weeks, 1 day
Born on a
Sunday
Next birthday
2024-03-10
Next birthday falls on
Sunday
Days until the next birthday
69 days
Age on the next birthday
39 years
Age gap extra months
4 months
Age gap extra days
12 days
Age gap in days
1,960 days
Age gap
5 years, 4 months, 12 days
Older of the two
first
Worked out from ISO 8601-1:2019, Date and time - Representations for information interchange and 4 other sources.

Your figures

Updates as you type
YYYY-MM-DD. Required in every mode except the reverse mode, which works it out for you.
Leave blank to use today. Set it to any past or future date to age forward or backward.
Supply a second birth date to get the age gap between two people.

How this is worked out

6 steps
  1. Born 1985-03-10 (a Sunday); measuring on 2024-01-01.
  2. Whole years first: 1985-03-10 + 38 years lands on or before 2024-01-01.
  3. Then whole months and days: + 9 month(s) + 22 day(s) reaches 2024-01-01.
  4. Elapsed days = 14,176, i.e. 2025 weeks and 1 day(s).
  5. Next birthday 2024-03-10 (Sunday), 69 day(s) away; turning 39.
  6. Age gap: 1985-03-10 to 1990-07-22 = 5 years, 4 months, 12 days (1960 days).
The same age in every unittable
Years: 38, Months: 465, Weeks: 2,025, Days: 14,176, Hours: 340,224, Minutes: 20,413,440, Seconds: 1,224,806,400

Its 9 worked examples are re-run on every release, last on 15 September 2026. What changed

Sources and references

5 sources
ISO 8601-1:2019, Date and time - Representations for information interchange
Proleptic Gregorian calendar arithmetic and YYYY-MM-DD representation.
Howard Hinnant, chrono-Compatible Low-Level Date Algorithms
Exact civil-date to day-number conversion behind the total-days count.
US Social Security Administration, Program Operations Manual System GN 00302.400 (age computation)
A person attains a given age on the anniversary of birth; completed years, not fractions, govern.
Squires J. and Bricker D., Ages & Stages Questionnaires, Third Edition (ASQ-3) User’s Guide, Brookes Publishing
2009 · Adjust for prematurity when the child was born three or more weeks before the due date and is under 24 months of age: subtract the weeks premature from the chronological age.
American College of Obstetricians and Gynecologists, Committee Opinion 700: Methods for Estimating the Due Date
2017 · A full-term pregnancy is 280 days (40 weeks) from the last menstrual period; weeks premature is measured against that.

What the Age Difference Calculator calculates

Age in completed years, months and days on any date, with the total days lived, the weekday of birth, the next birthday and the gap between two birth dates; it also runs backwards to recover a date of birth from an age, breaks an age down into every time unit, and corrects an infant age for prematurity. Age counts completed calendar months and days, so a 29 February birth attains the next year of age on 1 March in common years.

How to use this Age Difference Calculator

Enter Date of birth, Age at this date and Second date of birth (optional). Age in years updates as you type. Change one figure at a time to see what drives the result.

How the result is worked out

Open “How this is worked out” beside the result for the step-by-step calculation behind Age in years, Extra months and Extra days.

The method follows ISO 8601-1:2019, Date and time - Representations for information interchange, Howard Hinnant, chrono-Compatible Low-Level Date Algorithms, US Social Security Administration, Program Operations Manual System GN 00302.400 (age computation), Squires J. and Bricker D., Ages & Stages Questionnaires, Third Edition (ASQ-3) User’s Guide, Brookes Publishing and American College of Obstetricians and Gynecologists, Committee Opinion 700: Methods for Estimating the Due Date.

What you can compare

Change one input at a time to see how it affects Age in years, Extra months and Extra days. The inputs you can vary are Date of birth, Age at this date and Second date of birth (optional).

Results are general information, not financial, tax, legal, medical or engineering advice. Check any decision that matters with a qualified professional.

Embed this calculator on your website

Copy this code into any page. The calculator appears with the figures currently entered, sizes itself to fit, and a small credit line links back here. Free, no account, no ads inside it, no tracking of your readers. Set your own figures and fixed fields; Personal removes the credit line, sets your colour and shows you which sites use it.

Preview

See something wrong? Report a problem with this calculator

Frequently asked questions

What information do I need for the Age Difference Calculator?

You need Date of birth, Age at this date and Second date of birth (optional). The page opens with default figures that give age gap in years of 5 years, so you can see the scale before entering your own.

What does this Age Difference Calculator show?

It shows Age in years, Extra months, Extra days, Age, Chronological age (years;months), Age in decimal years, Age in months and Age in weeks, with the working and any warnings for your entries.

Can I check how the Age Difference Calculator result was calculated?

Yes. The “How this is worked out” section shows the calculation steps, and the sources section identifies the references used for the method.

Related calculators

View all related calculators7 more