Age Difference Calculator
Compare two birthdates and find the age difference in years, months, weeks, and days. A simple way to see who is older and by how much.
Enter the Details
What the age difference calculator does
This one compares two people. You give it two birthdates and it tells you the exact gap between their ages, in years, months, and days, so you can see who is older and by how much. Alongside the gap, it also shows each person's current age, so you get the full picture in one go.
It is the tool for the question that comes up about couples, siblings, and friends: not just "how old is each of us," but "how far apart are we."
How to use it
- Birthdate 1. The first person's date of birth.
- Birthdate 2. The second person's date of birth.
Press Calculate to see the difference between them and each person's age. Press Reset to clear the boxes.
How the difference is worked out
Under the hood it uses Moment.js, a date library, to measure the time between the two birthdates, which is the age gap, and to work out each person's age as of today. The gap is the span from the earlier birth to the later one, broken into years, months, and days. It does not matter which birthdate you put first, since the tool takes the size of the gap either way, so you always get a positive, sensible answer.
An example with real numbers
Say the first person was born on 15 March 1990 and the second on 20 August 1994.
- From 15 March 1990, add 4 years to reach 1994, then 5 months to reach August, then 5 days to reach the 20th.
- So the gap is 4 years, 5 months, and 5 days.
The person born in 1990 is the older of the two, by 4 years, 5 months, and 5 days. The tool shows that gap, then each person's own age today underneath.
The gap never changes
Here is a small thing that is oddly satisfying once you notice it. The age difference between two people is fixed for life. If you are four years older than your sister today, you were four years older on the day she was born, and you will still be four years older on both your hundredth birthdays. Both of you age at exactly the same rate, one day per day, so the gap between you never moves. That is why the difference this tool gives you is a permanent fact about the two people, not a number that drifts as the years pass, even though each person's own age keeps climbing.
Where people use it
The most common reason is curiosity about a relationship, the age gap between partners. Beyond that, people use it for the gap between siblings, between friends, between a parent and child, or even the small gap between twins born minutes apart. It is also handy for any time you have two birthdates in front of you, on a form or a record, and you want the exact distance between them rather than just each age on its own.
Questions people ask
How is the age difference calculated?
It is the span of time between the two birthdates, broken into years, months, and days. That span is the same as the gap between the two people's ages at any moment.
Does it matter which birthdate I enter first?
No. The tool measures the size of the gap, so putting the older or younger person first gives you the same answer.
Does the age gap change as people get older?
No, it stays exactly the same forever. Both people age at the same rate, so the difference between them is fixed from the moment the younger one is born.
Does it show each person's actual age too?
Yes. Along with the gap between them, it shows the current age of each person as of today, so you get both the comparison and the individual ages.
References
- Moment.js, the JavaScript date library used to measure the gap between the two dates. https://momentjs.com/
Skanda Aryal is a full stack engineer focused on accessible web experiences, with personal interests in time zones, travel, hiking, and geography. His enjoys playing with utilities tied to movement, schedules, places, and time based coordination. At Eon Tools, he reviews geography, transportation, times now, and date and time tools.