Age Difference Calculator
Age Difference Calculator
How to Use the Age Difference Calculator
Enter the first date
Add the first person’s date of birth (and an optional name).
Enter the second date
Add the second person’s date of birth.
Read the gap
See the difference in years, months and days, and the two steps it was counted in.
See the totals
Check total days, whole weeks and whole months with what is left over, and how far apart the two stated ages are during the year.
Counting the Gap Between Two Birth Dates
An age gap sounds like one subtraction, but months have different lengths, so "how many months and days" needs a rule for the end of a month. This calculator counts whole months forward from the older date. If that lands in a month too short for the starting day, it stops on the month's last day: 31 January plus one month is 28 February. The days are what is left after the last whole month. The two steps are shown under every result, so you can check them.
The total days are read straight off the calendar, so every 29 February in between is counted, and the whole weeks and whole months are shown with their leftover days rather than rounded. The dates have no time of day, so the result does not depend on where you are.
The gap between two dates of birth never changes. The ages two people say out loud do: each of them moves up a year on their own birthday, so unless they share a birthday, their stated ages are one further apart for part of every year than for the rest. The result says which value applies when.
The gap between two birth dates is fixed; unless they share a birthday, the gap between two stated ages takes two values every year.
Month ends, 29 February and the age gap that takes two values
Whole months are counted forward from the older date. When the month reached is shorter, the count stops on its last day: 31 January plus one month is 28 February.
So 31 January to 1 March 2023 is 1 month and 1 day, and 31 January to 28 February 2023 is exactly 1 month.
A 29 February date reaches its anniversary on 28 February in common years here, so 29 February 2000 to 28 February 2001 is exactly 1 year. Counts that use 1 March instead give 11 months and 30 days.
Total days come straight off the calendar, so every 29 February between the two dates is in the count.
Weeks are whole weeks plus leftover days, never rounded: a 4-day gap is 0 weeks and 4 days, not 1 week.
The gap between two birth dates never changes, but unless the two share a birthday, the gap between their stated ages takes two values each year. For 1 January 1990 and 15 June 1992 it is 3 from 1 January to 14 June and 2 for the rest of the year.
In 2025 the median age at marriage in Singapore was 32.0 for grooms and 30.4 for brides, against 27.3 and 22.8 in 1961. These are medians of all grooms and all brides, not the gap within each couple.
Contains information from Median Age Of Grooms And Brides By Marriage Order And Type Of Marriage, Annual (Singapore Department of Statistics, table M830169) accessed on 8 November 2026, which is made available under the terms of the Singapore Open Data Licence version 1.0.
Dates here are calendar dates with no time of day, so the answer is the same in every time zone.
Frequently Asked Questions
- Enter two dates of birth. It counts the whole months from the older date to the younger one, then the days left over, and shows that as years, months and days. It also gives the total days, the whole weeks and whole months with what is left over, and which person is older. The order you enter the dates in does not matter.
- Whole months are counted forward from the older date. If the month reached has fewer days than the older date's day, the count lands on that month's last day: 31 January plus one month is 28 February (29 February in a leap year). The days are whatever is left after the last whole month, so 31 January to 1 March 2023 is 1 month and 1 day. The steps are shown under the result. Other calculators sometimes use a different rule at month ends, so a result that differs by a day near the end of a month is usually a different convention, not an error.
- Their anniversary is counted on 28 February in common years, the same month-end rule as above. So 29 February 2000 to 28 February 2001 is exactly 1 year. Some people count 1 March instead, which would make that gap 11 months and 30 days. The total days are the same under either rule.
- Both count whole units only and show the remainder beside them, so they never round up. 896 days is 128 weeks and 0 days. A gap of 2 years, 5 months and 14 days is 29 whole months plus 14 days.
- The gap between the two dates of birth is fixed. The ages people say out loud are whole years, and each person moves up on their own birthday, so between the older person's birthday and the younger person's, the stated ages differ by one more than for the rest of the year. The result shows both values and when each applies.
- Yes. It works for any two dates from year 1 to 9999, such as two events or an anniversary span. It uses the Gregorian calendar throughout, including for dates before countries adopted it.
- The calculation runs in your browser, and the dates and names you type are not sent while you use it. If you press Share, the copied link itself contains both dates and any names you typed, encoded in the address rather than encrypted, so anyone you send it to can read them, and our server receives the address when the link is opened. Our analytics records the page path, not the contents of the link.
Method & sources
How it computes
Gregorian calendar dates (proleptic, years 1-9999; impossible dates such as 30 February refused). Whole months are counted forward from the older date; when the month reached is shorter than the starting day, the count lands on its last day (31 Jan + 1 month = 28 Feb; a 29 Feb date reaches its anniversary on 28 Feb in common years). Days are what remains. Total days come off the calendar; weeks and months are whole units plus leftover days, never rounded.
What this tool implements
- Corrected 2026-11-08: the Y/M/D breakdown counts whole months from the older date, clamped to the month end, then leftover days. The earlier field-by-field borrow printed negative days (31 Jan to 1 Mar 2023 read "1 month, -2 days"; 192 of 1,266,550 pairs swept). Stated whole-year ages are compared over a full leap cycle, so the page says when their difference takes each of its two values.
Sources
- Singapore Department of Statistics. Median Age Of Grooms And Brides By Marriage Order And Type Of Marriage, Annual (table M830169), 1961-2025, data last updated 10 Jul 2026. Singapore Open Data Licence version 1.0.