Date Difference Calculator

An age calculator between two dates: find the exact years, months, and days between any two dates, or count total days, weeks, and months.

Counts the end date, not the start date. Uses calendar days only, so time zones never affect the result.


Add or subtract days

Guide updated October 2026.

Age calculator between two dates: what does it mean?

The age between two dates is the exact calendar time from the earlier date to the later one, expressed in years, months, and days. The same gap can also be read as total days, weeks, or business days. Use it for age gaps between two people, someone’s age on a specific day, tenure, or the time between any two events.

How to use this calculator

Date difference mode: pick a start date and an end date, then click Calculate Difference. As an age calculator between two dates, it shows the gap in years, months, and days, plus total days and weeks.

Add/subtract mode: pick a starting date, enter how many days to add (or a negative number to subtract), and get the resulting date. Handy for questions like “what date is 90 days from today?”

How the calculator counts years, months, and days

The tool uses the borrowing method, the same one taught for manual age math:

  1. Count full years from the earlier date first.
  2. Then count full months from where the years stopped.
  3. Then count the leftover days.
  4. If the day of the month would go negative, borrow days from the previous month’s actual length (28, 29, 30, or 31, never an average).

It never uses approximations like 365.25 days per year, so month ends and leap years come out exact. For the full manual method, see our guide on how to count days between two dates.

Worked example: August 22, 1985 to May 15, 1990

Four years from August 22, 1985 reach August 22, 1989. Eight more months reach April 22, 1990. Then 23 days reach May 15, 1990. The answer is 4 years, 8 months, 23 days, or 1,727 days in total.

More verified examples:

Earlier date Later date Years, months, days Total days
January 15, 1990 October 19, 2026 36 years, 9 months, 4 days 13,426
February 29, 2000 February 29, 2024 24 years exactly 8,766
December 25, 2019 July 4, 2026 6 years, 6 months, 9 days 2,383
January 1, 2026 December 31, 2026 11 months, 30 days 364
January 1, 1985 June 15, 1990 5 years, 5 months, 14 days 1,991

Inclusive vs exclusive: the one-day trap

This calculator counts exclusive of the start date: January 1 to January 2 is 1 day, and the same date twice is 0 days. This is the standard convention in spreadsheets and most date tools, and it matches how US federal courts count time periods. Federal Rule of Civil Procedure 6(a)(1) directs courts to “exclude the day of the event that triggers the period” and “count every day, including intermediate Saturdays, Sundays, and legal holidays” (Legal Information Institute).

When does it bite? Whenever you count calendar days touched rather than gaps:

Rule of thumb: measuring a gap, use the result as is. Counting days you will be somewhere or doing something, add 1.

Why two calculators can show different answers

Nearly every disagreement comes down to two causes:

  1. Counting basis. Some tools count the start day, some do not. That shifts every answer by exactly one day, nothing more.
  2. Time zone of “today.” If it is 9 PM Tuesday in New York, it is already Wednesday in London. A “days until” count can differ by a full day depending on where the tool thinks today is.

Before trusting any number, check both. This page states its basis directly under the tool, and because it counts whole calendar days, time zones cannot move its answers.

Edge cases the calculator handles

Add and subtract mode, explained

The second mode answers “what date is X days from here?” Enter a positive number to go forward, a negative number to go back:

This is the mode people reach for with searches like “90 days from today” or “30 days from today.” Month and year boundaries, including leap years, are handled automatically.

Where day counts actually get used

Off-by-one traps to avoid

US federal holidays 2026 and 2027

Business-day math lives or dies on the holiday list. These are the US federal holidays under 5 U.S.C. 6103. When a holiday falls on a weekend, federal offices observe it on the nearest weekday (Friday for Saturday, Monday for Sunday), which is the date most US employers actually close.

2026 federal holidays

Holiday Date Observed
New Year’s Day Thursday, January 1 Jan 1
Martin Luther King Jr. Day Monday, January 19 Jan 19
Presidents’ Day Monday, February 16 Feb 16
Memorial Day Monday, May 25 May 25
Juneteenth Friday, June 19 Jun 19
Independence Day Saturday, July 4 Friday, July 3
Labor Day Monday, September 7 Sep 7
Columbus Day Monday, October 12 Oct 12
Veterans Day Wednesday, November 11 Nov 11
Thanksgiving Thursday, November 26 Nov 26
Christmas Day Friday, December 25 Dec 25

2027 federal holidays

Holiday Date Observed
New Year’s Day Friday, January 1 Jan 1
Martin Luther King Jr. Day Monday, January 18 Jan 18
Presidents’ Day Monday, February 15 Feb 15
Memorial Day Monday, May 31 May 31
Juneteenth Saturday, June 19 Friday, June 18
Independence Day Sunday, July 4 Monday, July 5
Labor Day Monday, September 6 Sep 6
Columbus Day Monday, October 11 Oct 11
Veterans Day Thursday, November 11 Nov 11
Thanksgiving Thursday, November 25 Nov 25
Christmas Day Saturday, December 25 Friday, December 24

Business days shortcut: count the weekdays in your range with the calculator, then subtract the observed holidays that fall inside it. Example: a project running Monday, November 23 to Friday, December 4, 2026 spans 10 weekdays, minus Thanksgiving (Nov 26), giving 9 business days.

Sources: holiday dates and observed-date rules follow the US Office of Personnel Management (OPM.gov) federal holiday schedule and 5 U.S.C. 6103.

Frequently asked questions

How do I calculate age between two dates in years, months, and days?

Count full years from the earlier date first, then full months, then leftover days. If the day of the month would go negative, borrow days from the previous month's actual length. Example: August 22, 1985 to May 15, 1990. Four years reach August 22, 1989, eight more months reach April 22, 1990, and 23 days reach May 15, 1990. The answer is 4 years, 8 months, 23 days.

Is the end date included in the count?

Yes, the end date is counted but the start date is not. This is the standard exclusive convention used by spreadsheets and most date tools: March 1 to March 2 is 1 day. If your situation needs both days counted, for example a hotel stay priced per day or a period described as "from the 11th to the 25th inclusive," add 1 to the result. The two answers always differ by exactly one day.

Why do two date calculators give different answers?

Two causes explain nearly every disagreement. First, the counting basis: some tools count the start day and some do not, which shifts every answer by exactly one. Second, the time zone: if it is 9 PM Tuesday in New York it is already Wednesday in London, so a "days until" count can differ by a full day depending on where the tool thinks "today" is. Check both before trusting a number.

How are February 29 birthdays handled?

In non-leap years this calculator counts a February 29 birthday on March 1, which is the most common legal convention. Leap years are fully included in day counts: a leap year is any year divisible by 4, except century years, which must also be divisible by 400. So 2024 and 2000 were leap years, but 1900 was not and 2100 will not be.

Is an age gap calculator the same as an age difference calculator?

Yes. Age gap and age difference mean the same thing: the time between two people's birth dates. This calculator also works for any two calendar dates, so you can use it to find someone's age on a specific day or to measure the time between two events.

How do I find out who is older and by how much?

Enter both birth dates in any order. The person born on the earlier date is older, and the result shows exactly how much older in years, months, and days. For example, birth dates of January 1, 1985 and June 15, 1990 give a gap of 5 years, 5 months, and 14 days.

How do I add days or months to a date?

Switch to add/subtract mode, pick a start date, and enter the days to add or subtract. Months follow calendar logic in most tools: adding one month to January 31 lands at the end of February, not in March.

Does my time zone change the result?

No. This calculator works on calendar days only, so the result is identical everywhere in the world. Time zones only matter when a specific time of day is involved, such as a countdown that flips to the next day at midnight. If another tool shows a different answer for the same dates, its time zone or its counting basis is the likely cause.

Related tools