Date Difference
calculator.
Count the days between two dates with this date difference calculator.
Dec 25, 2026 is 65 days after Oct 21, 2026, not counting the end date. That is how a spreadsheet subtracts dates and how hotels count nights.
Days in each month
Oct 2026: 11 days in the span, 8 weekdays and 3 weekend days. 11 days counted by Oct 31, 2026.
Working days
- Start
- Wed, Oct 21, 2026
- End
- Fri, Dec 25, 2026
- Weekdays
- 47
- Working days
- 47
Counted from Oct 21, 2026 through Dec 24, 2026, Monday to Friday.
US federal holidays with observed dates (5 U.S.C. 6103); England and Wales bank holidays with substitute days (GOV.UK).
Working
- 1Day number of the earlier date (days since Jan 1, 1970)Oct 21, 2026 → 20,747
- 2Day number of the later dateDec 25, 2026 → 20,812
- 3Subtract (the end date is not counted)20,812 − 20,747 = 65 days
- 4Whole calendar months first, then the days leftOct 21, 2026 + 2 months = Dec 21, 2026, + 4 days
- 5Check: add the days back to the start dateOct 21, 2026 + 65 days = Dec 25, 2026
Other units
- Days
- 65
- Weeks and days
- 9 w 2 d
- Total months and days
- 2 m 4 d
- Years, months, days
- 0 y 2 m 4 d
- Decimal years
- 0.18
Decimal years are days divided by 365.2425, the average Gregorian year.
Breakdown by month
| Month | Weekdays | Weekend | So far | |
|---|---|---|---|---|
| Oct 2026 | 11 | 83 weekend | 3 | 11 |
| Nov 2026 | 30 | 219 weekend | 9 | 41 |
| Dec 2026 | 24 | 186 weekend | 6 | 65 |
The first and last months are partial: they hold only the days from Oct 21, 2026 through Dec 24, 2026. Use the Days column to split a monthly charge.
Count forward from the start
100 days after Oct 21, 2026 is Fri, Jan 29, 2027.
Count days for a list of date pairs
Paste two columns from a spreadsheet, start and end, as 2026-09-15 or 9/15/2026. Each row is counted without the end date, as set above.
| # | Start | End |
|---|---|---|
| 1 | ||
| 2 | ||
| 3 |
Days per row
| From | Days | To | WeekdaysWkdays | Y M D |
|---|---|---|---|---|
| Sep 1, 2026to Sep 28, 2026 | 270 y 0 m 27 d | Sep 28, 2026 | 19 | 0 y 0 m 27 d |
| Sep 15, 2026to Oct 30, 2026 | 450 y 1 m 15 d | Oct 30, 2026 | 33 | 0 y 1 m 15 d |
| Oct 2, 2026to Oct 19, 2026 | 170 y 0 m 17 d | Oct 19, 2026 | 11 | 0 y 0 m 17 d |
How it's worked out
Each date is turned into a day number: the count of days since January 1, 1970. Subtract the two numbers and you have the gap, with every leap day already inside it. Time zones and daylight saving cannot change the answer, because the tool counts whole calendar days.
D is a day number and N is the number of days. The first form leaves out the end date. It answers "how long from one date to the other?" The second counts both dates, which is what you want for days of leave or the days an event runs.
Months are counted on the calendar. A month is complete when the same day number comes around again, so January 15 to March 15 is 2 months. From January 31, the month is complete on the last day of February (1 month and 0 days to February 28, 2026).
Decimal years divide the days by the length of an average year in the Gregorian calendar:
Worked examples
Countdown to Ana's wedding
On Friday, October 23, 2026, Ana has a wedding on Saturday, June 12, 2027. The gap is 232 days. That is 33 weeks and 1 day, or 7 months and 20 days. 166 of those days are weekdays, which helps when she plans time off.
Sam's leave over the holidays
Sam wants December 21, 2026 to January 1, 2027 off. Both days count, so the span is 12 days, of which 10 are weekdays. Sam works for a US employer that closes on federal holidays. Two of them fall on weekdays in the span (Dec 25, 2026 and Jan 1, 2027), so Sam asks for 8 days of leave.
A late invoice
A design studio sent an invoice on September 15, 2026 with 30-day terms. The client paid on October 30, 2026. The gap is 45 days (6 weeks and 3 days). The payment was due on Oct 15, 2026, so it came 15 days late. Paste a column of invoice dates and a column of payment dates into the list card to check a whole ledger.
Reading your result
The big number is the count of days. The switch beside it decides whether the end date counts. January 1 to December 31, 2026 is 364 days without the end date and 365 with it.
- Leave it out for time that passes: nights in a hotel, days until an event, how old an invoice is. Check in on November 6 and out on November 9 and you stay 3 nights.
- Count it when every date in the range is used: days of leave, days a festival runs, days of a course.
Weekdays are Monday to Friday. Working days take out holidays as well, if you pick a holiday calendar. US federal holidays follow 5 U.S.C. 6103: when one falls on a Saturday, federal staff get the Friday off, and a Sunday holiday moves to Monday. England and Wales bank holidays that land on a weekend move to the next weekday. Your employer may close on other days too, so treat working days as a starting point.
The month breakdown splits the span at the first of each month. Use its Days column to share a monthly charge, such as rent for a partial month, by the days in each month.
Common mistakes
- Counting both ends by accident. Counting on your fingers from the 1st to the 10th gives 10, but only 9 days pass. Decide which one you need and set the switch.
- Assuming 30 days a month. February 2024 had 29 days. Over a long span the gap between "months times 30" and the real count grows by about 5 days a year.
- Treating weekdays as working days. Weekdays ignore holidays. Pick a holiday calendar to see the difference.
- Mixing up day and month order. 03/04/2026 is March 4 in the US and April 3 in most other countries. The list card reads slashes in US order, so paste dates as 2026-04-03 if you are not sure.
- Old dates in the Julian calendar. Britain switched to the Gregorian calendar in 1752 and Russia in 1918. Convert older dates before you compare them.
Questions people ask
Sources
- ISO 8601 date and time format
- Dershowitz, N. and Reingold, E. M. Calendrical Calculations, Cambridge University Press
- 5 U.S.C. 6103, Holidays
- GOV.UK, UK bank holidays