Two birthdates
Age Difference Calculator: Gap in Years, Months & Days
Compare two birth dates: age gap in years, months, and days, totals, percentage, and milestones. Sharable links. Runs locally.
By Jeff Beem
Birth dates
Order does not matter. The tool picks who is older and states the gap from the earlier birth to the later one.
Age gap (calendar)
Person A is older than Person B by
2 years, 4 months, 20 days
Gap totals (between births)
Share opens your device share sheet when available (includes a reopen link). Otherwise we copy results plus the link to your clipboard.
Milestones
When the older person reached the younger's current age
January 4, 2024
That day was 2 years, 4 months, 20 days ago.
When the younger person turns X years old
August 4, 2010
Already happened. Feb 29 birthdays use Feb 28 when the target year is not a leap year.
Both ages on a reference date
On May 24, 2026, Person A was 36y 2m 9d and Person B was 33y 9m 20d.
Sharable URL uses query params ?a=YYYY-MM-DD&b=YYYY-MM-DD and optional &n1=&n2= for names. Everything stays in your browser.
What you get from this tool
Two birth dates, either order: the gap uses real month lengths (July 9, 1987 vs Feb 26, 1992 is 4y 7m 17d in the article example). Milestones and share links stay local in the browser.
Quick orientation
Inputs in plain English
What this does not do
Age Difference Calculator: Gap Between Two Birth Dates
Born July 9, 1987 and Feb 26, 1992? The gap is 4 years, 7 months, 17 days, not a rounded "five years." Real months, leap-day rules, optional milestones and shareable links.
What the projection shows
- Example:Siblings born March and November of the same calendar year: about eight months apart in the headline gap, not a full year.
- What it skips:Compatibility scoring, astrology, and legal-age statutes that use different rules. Western calendar birthdays only; amended or guardianship dates are whatever you enter.
- Milestones:When the older person reached the younger person's current age, a target age (e.g. 18) for the younger person's birthday, and both ages on any reference date you pick.
Reading the projection
How the Math Works
Gap between two birth dates
- Leap cycle reminder:Most fourth years add February 29; century years follow the divisible-by-400 rule, which is why 2000 had a leap day but 1900 did not. Total days between the two births still count every day in that span, including leap days.
Calendar subtraction and total days
Worked example with different numbers than the Age Calculator article
Older birth: July 9, 1987. Younger birth: February 26, 1992.
- From July 9, 1987 forward, complete years reach July 9, 1991 (four years) because February 26, 1992 is still before July 9, 1992.
- From July 9, 1991 to February 26, 1992 is seven months and seventeen days after borrowing.
- Gap: four years, seven months, seventeen days.
- Total days equals the integer span between the two local midnights; derived weeks use integer division by seven.
If you swap who you call Person A or Person B in the UI, the tool still prints the same gap because it sorts births before subtracting.
- Percentage shown in the tool:Let and be total days each person lived through today. The UI prints percent when . Same birth date pins that percentage at zero.
- Feb 29 note:If either birth date were February 29, the calculator still walks month lengths normally; when a milestone needs a birthday in a non-leap year, it follows the common February 28 adjustment so the date exists on the calendar.
Where rounding sneaks in
Common use cases
- Siblings close in age:Autumn then midsummer the next year is often ~19 months in the tool, not "about two years" unless you round for conversation.
- Forms and cutoffs:Pair the gap with the reference-date row when a policy asks how old each person was on a signature or school year start.
- Not compatibility:Name-based "chemistry" tools like the Love Calculator are separate from calendar birth-date math.
Reference dates and related tools
- Related:Age Calculator for one person vs today; Date Calculator to add intervals; Day Counter for inclusive day counts; Time Duration Calculator when clock times matter.
FAQ
How do you calculate the age difference between two people?
Does the age difference change over time?
How do leap years and Feb 29 birthdays affect the age gap?
What is the age difference between siblings born in the same year?
How do I calculate the age gap in years, months, and days?
What's a percentage age difference and how is it computed?
Can I calculate the age gap on a specific past or future date?
Is this calculator privacy-friendly?
Sources & citations
References used for the calculation method and definitions. Links open in a new tab when available.
Overview of which years include February 29 and how century years follow the Gregorian leap-year rule used by this tool's calendar arithmetic.
Background on leap-day dates when explaining Feb 29 birthdays and how observers adjust them in common non-leap years.
Time & Date Reference Note
Informational Use: These tools use standard date/time algorithms and your browserβs timezone data (IANA). Results are intended for general reference and planning only.
Verification Recommended: Time zone rules and daylight saving changes vary by region and year. For critical scheduling, payroll, or legal deadlines, confirm results with official sources.
Local Verification: Always confirm times, dates, and business-day counts with official sources or qualified professionals when stakes are high.