Skip to content

Any two dates, in either order

Age Difference Calculator

Enter any two dates and this calculator works out the exact difference between them: years, months and days, plus the total in weeks and days. Unlike a birthday-to-today calculator, both fields here are fully independent, so you can compare two people's birth dates, two historical dates, or any pair of dates you like, and it does not matter which one you enter first.

Difference โ€“ Enter both dates.
Total weeks โ€“
Total days โ€“
Was this tool helpful?
Give feedback

How the age difference calculation works

This calculator takes the two dates you enter and figures out, on its own, which one comes first. If you happen to enter the later date first, the result still comes out as a normal positive difference, with a note explaining that the order was reversed, rather than a confusing negative number. The years/months/days breakdown counts full calendar months between the earlier date and the later date, then reports whatever is left over in real days, the same method used by the main age calculator.

This makes it a genuinely general date-difference tool, not just a two-people age comparison: the same calculation answers "how many years apart are these two people" and "how many days until this event" equally well, since both are really the same question, the gap between two dates.

Three worked examples

Using the exact method this calculator runs:

  1. Two siblings born November 9, 1999 and March 22, 2004: an age gap of 4 years, 4 months and 13 days, or 1,595 total days.
  2. A wedding anniversary on June 6, 2015, compared against August 25, 2026: 11 years, 2 months and 19 days married, or 4,098 total days, 585 total weeks.
  3. Two historical dates entered in reverse order, say a later date typed into the first field by mistake: the calculator still returns the same 4 years, 4 months, 13 days as the first example, flagged as reversed, instead of a negative result.

Comparing two people's ages

The most common reason people reach for a tool like this is comparing two birth dates: siblings, a couple, a parent and child, or two colleagues. Enter each person's date of birth in either field, in either order, and the result is the exact age gap between them, in the same years/months/days format as a single-person age result. This is a genuinely different calculation from asking "how old is each person individually," since a gap of "4 years and 4 months" does not require knowing either person's current age at all, only the distance between the two birth dates, which never changes.

Counting down to (or back from) an event

The same tool works for counting the days until a future date, a wedding, a deadline, a trip, a due date, or the days since a past event, an anniversary, a purchase, a diagnosis, a project start date. Put today's date in one field (or leave it as the default) and the event date in the other; the total days and weeks figures are usually the most useful numbers for this kind of planning question, since "142 days until the wedding" is more actionable than a years/months/days breakdown for something less than a year away.

Why the order of the two dates doesn't matter here

A calculator built only for "birth date to today" can assume the first date is always earlier. A general date-difference tool cannot make that assumption safely: if someone is comparing two arbitrary historical dates, or two people's birth dates, there is no natural "first" and "second" beyond which field they happened to fill in first. This calculator checks which of the two entered dates is chronologically earlier before running the calculation, and always reports a straightforward positive difference either way, noting when the two fields were effectively reversed so the result is never ambiguous about which date came first.

When to use this instead of the main age calculator

Use this page when neither date is "today" and neither one is necessarily your own date of birth, comparing two other people, two events, or two historical dates. Use the main age calculator instead when you want your own current age, with a full breakdown into weeks, days, hours, minutes and seconds and a next-birthday countdown, features specific to a single date of birth rather than a general two-date comparison.

Frequently asked questions

What is an age difference calculator used for?
It finds the exact gap between any two dates: comparing two people's ages, counting down to a future event, or measuring the time since a past one. Enter the two dates in either order, and it works out the difference in years, months, days, weeks and total days.
Does it matter which date I enter first?
No. The calculator checks which date is chronologically earlier on its own and always shows a normal positive result, noting if the two dates you entered were in reverse order.
How do I calculate the age difference between two people?
Enter each person's date of birth in the two fields, in either order. The result is the exact gap between their birth dates, in years, months and days, plus the total in weeks and days.
Can I use this to count down to a future date, like a wedding or deadline?
Yes. Leave one field at today's date (the default) and enter the future date in the other field. The total days and weeks figures are usually the most useful numbers for that kind of countdown.
What's the difference between this and the age between two dates shown on the main calculator?
The main age calculator is built around one specific date of birth compared to an "as of" date that defaults to today. This page treats both dates as fully independent, useful when neither date is your own birth date or when you want to compare two other dates entirely.
Is this the same calculation as calculating my chronological age?
No. Chronological age, used in standardized testing, follows a specific 30-day-per-month convention rather than real calendar months. See the chronological age calculator for that separate method.
Is any of the data I enter saved or sent anywhere?
No. The calculation runs entirely in your browser. Only your last entered dates are saved locally in your browser's storage, so the page remembers them next time. See the privacy page for details.
Can both dates be in the past, or can one be in the future?
Either is fine. The calculator only cares about the distance between the two dates, not whether either one is in the past or the future relative to today. Comparing two historical dates, two future dates, or one of each all work the same way.
What does the total-days figure add that the years/months/days breakdown doesn't?
The years/months/days line is easier to read at a glance for a long gap, while the total-days figure is the more useful number when you need a single exact count, for example to compare against a deadline expressed in days, or to add or subtract from another date by hand.

Just need your own current age?

The main age calculator defaults to today and adds a next-birthday countdown.

Go to the age calculator

Free. No sign-up.