Example: two business partners
Two founders of a joinery business were born on 14 August 1979 and 3 February 1991. Entering them in that order gives the result below. If you swap the boxes, the gap is identical and the Older line changes to Second person.
First person's date of birth: 1979-08-14 Second person's date of birth: 1991-02-03
Age gap: 11 years, 5 months, 20 days Older: First person Difference in days: 4,191 In weeks: 598 weeks 5 days
Comparing two dates of birth
Enter the first date of birth
Either person can go first; the order only affects the Older line.
Enter the second date of birth
The result updates straight away.
Read the gap
The headline figure is in years, months and days. Below it are the total days and the same span in whole weeks with the remaining days.
Why the day count and the year count differ
Years and months are calendar units of uneven length, so the two ways of stating a gap do not convert neatly.
| Way of stating the gap | Counts | Good for |
|---|---|---|
| Years, months, days | Whole calendar years, then whole months, then days | Describing an age gap in conversation or on a form |
| Total days | Every day between the two dates | Exact comparisons and calculations |
| Weeks and days | The total days divided into weeks, with the remainder | Pregnancy-style or project-style counting |
Other uses
The same arithmetic works for any two dates, not only birthdays: the gap between two companies' incorporation dates, two product launches or two lease start dates. For general date spans with an option to count the end date, the date difference calculator is more flexible.
Questions people ask
How do I calculate the age difference between two people?
Enter both dates of birth. The calculator counts the whole years between them, then the whole months, then the remaining days, and shows the total number of days as well. It also tells you which person is older, or Same day if they share a birthday.
Does the order of the dates matter?
Only for the label saying who is older. The size of the gap is the same whichever date you enter first. If the second person was born earlier, the calculator simply reports the second person as the older one.
Are leap years taken into account?
Yes. The calculation works on real calendar dates, so 29 February is counted in leap years and the total number of days between the two birthdays is exact. That is why the day count is the most precise way to compare two ages.
Where your data goes
Both dates stay in your browser while you use the calculator. Nothing is uploaded, logged or kept after you leave the page.
Checked against the tool on