Days between dates calculator

Pick a start date and an end date to count the days between them. Weeks, years and months, business days and hours update as you change either date.

What you type stays in your browser

Days between the dates38 days
From Tuesday, November 24, 2026 to Friday, January 1, 2027

2027-01-01 − 2026-11-24 = 38 days

Business days (Mon–Fri)
28
Weeks and days
5 weeks, 3 days
Years, months, days
0 years, 1 month, 8 days
Weekend days
10
Hours
912

In short

The number of days between two dates is the end date minus the start date, counting the start day but not the end day: from November 20 to December 25, 2026 is 35 days. Tick the end date in as well and it becomes 36.

How to count the days between two dates

  1. Enter the first date in Start date and the second in End date; the order does not matter, a reversed pair is counted backwards.
  2. Switch on Include the end date (+1 day) if both the first and the last day should count, as for a holiday from Monday to Friday.
  3. Read the number of days at the top, with the working underneath in the form end − start = days.
  4. Use the figures below it for weeks and days, years, months and days, business days, weekend days and hours.

Why two counts of the same dates can differ by one

Counting days between dates is a fence-post problem. From Monday to Friday of the same week, four nights pass and the difference is 4 days, but if you are counting days of work or of a hotel booking you may mean all five days. Spreadsheets and most date APIs give the first answer: end minus start. The Include the end date switch gives the second by adding the last day.

Leap years add one more trap. A span that contains February 29 is one day longer than the same span in a common year: March 1 is 2 days after February 28 in 2028 but only 1 day after it in 2027. The calculator works on calendar dates, so leap days are always counted and daylight saving changes never shift the result.

Frequently asked questions

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

Subtract the earlier date from the later one, day by day across months. From January 15 to March 15, 2026 that is 16 days left in January, 28 in February and 15 in March, 59 days in total. The calculator does this for any two dates, including spans of many years.

Does the count include the start date and the end date?

By default it counts the start date and not the end date, which is the usual way to measure a difference: from November 20 to December 25, 2026 is 35 days. Turn on Include the end date (+1 day) and the same pair gives 36 days.

How many business days are between two dates?

The Business days figure counts Mondays to Fridays in the same range. From November 20 to December 25, 2026 there are 25 business days out of 35 days. Public holidays are not removed, so subtract the ones that fall on a weekday in your range.

How are years, months and days counted?

Whole months are counted from the start date's day number, then the remaining days. September 1, 2026 to June 15, 2027 is 9 months and 14 days, which is 287 days. When the start is the 31st and a month is shorter, that month's anniversary falls on the 1st of the following month.

How many days are there in a year?

365 days in a common year and 366 in a leap year. January 1 to December 31, 2026 is 364 days as a difference, or 365 with the end date included. 2026 has 261 weekdays, and so does 2027; leap year 2028 has 260.

What if the end date is before the start date?

The calculator counts backwards and says so under the result. The number of days stays positive, so swapping the two dates never changes the figure, only the direction note.

How do I count the days between dates in Excel or Google Sheets?

Put both dates in cells and subtract them: =B1-A1 gives the same number as this calculator without the end date, and =B1-A1+1 includes it. NETWORKDAYS(A1, B1) counts Monday to Friday with both ends included, which matches the Business days figure with the end date switched on.

Are the dates I enter stored or sent anywhere?

No. The counting happens in your browser and nothing is sent to a server or saved when you close the page.

Day counts worth knowing

These spans come up often in leases, notice periods and project plans. Each is counted as end minus start, without the end date.

  • One common year: 365 days, 52 weeks and 1 day.
  • One leap year: 366 days, 52 weeks and 2 days.
  • March 1 to June 1: 92 days, exactly 3 months.
  • A quarter of a year averages 91.3 days; actual quarters run from 90 to 92 days.
  • 1,000 days is 2 years and about 9 months.

Counting forward instead

If you know the start date and the number of days but not the end date, use the date calculator: it adds or subtracts days, weeks, months, years or business days. For popular counts there are ready answers such as 90 days from today and 30 days ago. To count down to a single date, use days until, and for a person's age, the age calculator.

How your files stay private

This tool runs with JavaScript inside your browser tab. What you type, the settings you choose and the results stay in the page's memory and disappear when you close it. Nothing is sent to a server; a few display settings may be remembered in your own browser.

Presets

Last updated Nov 20, 2026