Skip to content

Days Between Dates Calculator

Days, weeks, months and weekdays between two dates.

Counts both the first and the last day, as for a hotel stay counted in days rather than nights.

Calculated on your device. Nothing you enter is sent anywhere.

Days

Days: 364

From January 1, 2026 to December 31, 2026 is 364 days, not counting the end date.

In weeks
52 weeks and 0 days
In months and days
11 months, 30 days
Weekdays (Monday to Friday)
260
Weekend days
104
Hours
8,736

In short

The number of days between two dates is the later date minus the earlier one, counting the start date but not the end date, the way you would count nights. Tick “include the end date” to count both, which adds one. Weekdays are Monday to Friday. Public holidays are not removed, because they differ by country and region.

How it works

Each date is converted to a day number, a count of days from a fixed starting point, using the Gregorian calendar rules for leap years. Subtracting the two numbers gives the days between them. Because the calculation uses calendar dates rather than clock times, time zones and daylight-saving changes can’t shift the answer by a day.

Counting

days = day number(end) − day number(start) inclusive = days + 1 weekdays = 5 × full weeks + weekdays in the remainder

Should the end date be included?

By default the count works like subtraction: 1 January to 2 January is 1 day. That suits deadlines, ages and “how many days until” questions. If you are counting days you are present, such as 2–6 March for a course, the end date belongs in the count, so tick “include the end date” to get 5 instead of 4.

Weekdays and holidays

Weekdays are Monday to Friday, the working week in most countries. Public holidays are not subtracted, because they vary by country, region and year. Take them off the weekday count yourself.

Worked examples

From 1 January to 31 December 2026

2026 is not a leap year, so it has 365 days. Counting from 1 January to 31 December without the end date gives 364 days, which is 52 weeks and 0 days. Of those, 260 are weekdays.

Open this example in the calculator

A project from Monday 2 March to Friday 26 June 2026

Counting both the first and last day, the project lasts 117 days, of which 85 are weekdays. That is 17 full weeks of 5 working days. Subtract any public holidays in that period to get the working days.

Open this example in the calculator

February in a leap year

2028 is divisible by 4 and is not a century year, so it is a leap year. From 1 February to 1 March 2028 is 29 days. In 2100, which is a century year not divisible by 400, the same span is 28 days.

Open this example in the calculator

Using this calculator well

  • Check how a deadline is counted. “Within 30 days” can mean 30 days after an event, or 30 days including the day it happened. Contracts and regulations usually say which. Use the inclusive option when the first day counts.
  • For dates far in the past, check the calendar. The calculator uses the Gregorian calendar for all dates. Countries adopted it at different times, from 1582 to the 20th century, so historical dates recorded in the Julian calendar need converting first.
  • Add or subtract days with the date calculator. To find the date 90 days from today rather than the gap between two dates, use the date calculator.

Frequently asked questions

How do I calculate the number of days between two dates?

Subtract the earlier date from the later one. The calculator converts both to day numbers using the Gregorian calendar and subtracts them, so leap years are handled automatically. From 1 January to 31 December 2026 is 364 days, or 365 if you include the end date.

Does the count include the start and end dates?

By default it counts the start date but not the end date, like subtracting dates: Monday to Tuesday is one day. Tick “include the end date” to count both, which adds one. Use this for spans you attend or occupy on both days, such as a course or event.

How many weekdays are there between two dates?

Count five weekdays for each full week, then add the weekdays in the remaining days. Monday 2 March to Friday 26 June 2026, inclusive, has 85 weekdays. Public holidays are not removed, so subtract the holidays that apply where you are.

Can daylight saving time change the number of days?

No. The calculator works with calendar dates, not clock times, so a 23-hour or 25-hour day at a daylight-saving change still counts as one day. Only the hours figure assumes 24 hours per day.

Sources and methodology

  1. ISO 8601-1:2019 Date and time — Representations for information interchange, International Organization for Standardization, Gregorian calendar dates; Monday as the first day of the week (accessed November 24, 2026)
  2. Leap Years, Astronomical Applications Department, U.S. Naval Observatory, Gregorian leap-year rule (accessed November 24, 2026)

Rounding: No rounding: the count is exact in whole calendar days. Hours are days × 24 and ignore daylight-saving changes.

Review status: formulas verified against the cited sources by automated tests; editorial review pending. Version 1.0.0, content updated November 24, 2026.

Changelog
  • 1.0.0 · November 24, 2026: First published.

How we build and test calculators

Embed this calculator on your site

Paste this code into your page. The calculator runs in a frame, with no tracking and no cookies, and links back here for the formula and sources.

<iframe src="https://northcalculator.com/embed/en/date-difference" title="Days Between Dates Calculator" width="100%" height="760" style="border:0" loading="lazy"></iframe>