Skip to main content
calclumo

Date & Time

Date Difference Calculator

Count days, weeks, months, business days, weekends, and the exact duration between two dates.

Count calendar difference, total days, business days, weekends, and optional inclusive end date.

Result

Example with the values filled in above

Calendar difference

0 years, 11 months, 30 days

Total days: 364 | Business days: 260

Weekend days: 104 | Excluded weekdays: 0 | Weeks: 52

Date span breakdown
Start date 2026-01-01 Earlier date
End date 2026-12-31 Excluded
Business days before exclusions 260 Monday-Friday
Weekend days 104 Saturday-Sunday
Custom excluded weekdays 0 Subtracted from business days

Change any value and press Calculate for your own result.

Calculating…

Add this calculator to your website

Free to embed on any site, blog, or course page. Paste this where you want it to appear — it adjusts to the width of your column and needs no sign-up.

Weekdays in each month of 2026

0102030Jan: 2222JanFeb: 2020FebMar: 2222MarApr: 2222AprMay: 2121MayJun: 2222JunJul: 2323JulAug: 2121AugSep: 2222SepOct: 2222OctNov: 2121NovDec: 2323Dec
Monday to Friday, before public holidays. Months swing between 20 and 23 business days depending on where the weekends fall.
Show the numbers
Month Weekdays
Jan 22
Feb 20
Mar 22
Apr 22
May 21
Jun 22
Jul 23
Aug 21
Sep 22
Oct 22
Nov 21
Dec 23

How the date difference is calculated

Enter any two dates and the calculator breaks the gap down three ways: an exact span in years, months, and days; the total number of days and weeks; and the number of business days (Monday–Friday), with weekend days and custom excluded weekdays shown separately. If the dates are in the wrong order it swaps them automatically.

  • Total days — the number of midnights between the two dates.
  • Years / months / days — whole calendar years, then whole months, then leftover days, using real month lengths and leap years.
  • Business days — every weekday in the range, minus any custom excluded weekdays you enter for holidays or closures.
  • Include end date — adds the final day, turning an exclusive count into an inclusive one.

Worked example

From January 1, 2026 to December 31, 2026: 364 total days (52 weeks), which is 11 months and 30 days exactly. Of those, 260 are weekdays and 104 fall on weekends. Ticking "include end date" adds Thursday, December 31, making it a full 365 days with 261 weekdays — one calendar year.

Both days inclusive, or only one?

This is the question behind most "the answer is off by one" complaints. Elapsed time counts midnights, so January 1 to January 2 is one day. Counting both calendar dates makes the same range two.

SituationUsual conventionJan 1 → Jan 10
Countdown, "days until"Exclusive9 days
Hotel stay (nights)Exclusive9 nights
Event or festival days, "through Jan 10"Both days inclusive10 days
Leave or holiday days takenBoth days inclusive10 days, of which 7 are weekdays in 2026
Contract "from Jan 1 to Jan 10 inclusive"Both days inclusive10 days

When a document says "within 30 days of" a date, it usually means the day after that date is day one — the starting day itself is excluded. Courts and agencies often have their own written rule for this, and it beats any convention.

Business days and holidays

The weekday count removes Saturdays and Sundays, which suits invoice terms, shipping estimates, payroll periods, and project schedules. Public holidays are not universal — a federal holiday in one country is a working day elsewhere, and company closures vary — so the calculator does not guess them. Subtract the weekday holidays that fall in your range, or use custom excluded weekdays to drop a whole day of the week if your schedule also skips, say, every Friday.

US holidays that move every year, for the next three years:

HolidayRule202620272028
Easter SundayFirst Sunday after the first full moon on or after the spring equinoxApr 5Mar 28Apr 16
Memorial DayLast Monday of MayMay 25May 31May 29
Father's DayThird Sunday of JuneJun 21Jun 20Jun 18
Labor DayFirst Monday of SeptemberSep 7Sep 6Sep 4
ThanksgivingFourth Thursday of NovemberNov 26Nov 25Nov 23
Black FridayThe day after ThanksgivingNov 27Nov 26Nov 24

Easter is the awkward one: as a lunisolar date it can land anywhere from March 22 to April 25. Christmas, New Year's Day, the Fourth of July, and Halloween are fixed and only change weekday.

Weeks and months between dates

Total weeks is total days divided by seven, so 45 days is about 6.43 weeks. Months are less uniform, because a calendar month has 28 to 31 days. The exact result counts whole years and months before leftover days; the approximate figure uses the average Gregorian month of 30.4375 days. Use the exact span for anniversaries and contract terms, and the decimal for rough comparisons — never divide by 30 and call it exact.

Leap years

The calculation uses real calendar dates, so February 29 counts in a leap year and short months are not treated as 30-day blocks. A year is a leap year if it divides by four, except century years, which must also divide by 400 — so 2024 and 2000 were leap years and 2100 will not be. It matters whenever a range crosses February or spans several years.

When the answer has legal or financial weight

Courts, contracts, employers, and agencies may use special rules for filing dates, holidays, weekends, time zones, and partial days. This is general calendar math, not a legally binding deadline; when a missed date has consequences, confirm it against the governing rule or a qualified professional.

Counting from a birth date? The age calculator adds a next-birthday countdown. For hours within a day or across midnight, use the time duration calculator.

Date Difference Calculator — frequently asked questions

How do I count the days between two dates?

Enter a start and end date and the calculator returns the exact span in years, months, and days, plus the total number of days and weeks between them.

What counts as a business day?

Monday through Friday. The business-days figure excludes Saturdays and Sundays. Use the custom excluded weekdays field when you want to subtract holidays or other weekday closures.

What does "include end date" do?

It adds one day to the count, treating the range as inclusive. Jan 1 to Jan 3 is 2 days exclusive but 3 days inclusive — useful for counting nights vs. days of an event.

Does the order of dates matter?

No. If the end date is earlier than the start date, the calculator swaps them automatically and shows the positive difference.

Related calculators