Days Between Dates

Count the days between two dates and see the same period in years, months, weeks, hours and more.

Result

Days between the dates

The same period in other units

How it was calculated

Breakdown

Calendar

Start / end dateDays in between

How to use the calculator

  1. Enter the start date and the end date. Their order doesn't matter.
  2. Choose whether to include the end date (adds one day).
  3. Press Calculate to get the total days, the same period in years, months, weeks and hours, and a weekday/weekend breakdown.

Days until popular dates

Counted from today, October 18, 2026:

EventDateDays to go
HalloweenSaturday, October 31, 202613
Christmas DayFriday, December 25, 202668
New Year's EveThursday, December 31, 202674
New Year's DayFriday, January 1, 202775
Valentine's DaySunday, February 14, 2027119

Is the end date included?

By default the start date is counted and the end date is not – the same as counting nights in a hotel or days until an event. Include the end date when both the first and last day matter, such as leave or event days.

FromToWithout end dateWith end date
MondayFriday (same week)45
March 1, 2026March 31, 20263031
January 1, 2026December 31, 2026364365
January 1, 2028December 31, 2028365366

How to count the days by hand

  1. Count the days left in the start month after the start date.
  2. Add the full length of every month in between.
  3. Add the day number of the end date.
Example: June 15 to August 29, 2026
  • Rest of June: 30 − 15 = 15 days
  • All of July: 31 days
  • August 1–29: 29 days

Total: 15 + 31 + 29 = 75 days, which is 2 months and 14 days.

Leap years

A leap year has 366 days instead of 365. The rule:

  • Years divisible by 4 are leap years (2024, 2028) …
  • … except years divisible by 100 (1900, 2100) …
  • … unless they are also divisible by 400 (2000, 2400).

The calculator counts real calendar days, so any February 29 inside your range is included automatically.

Count days in Excel or Google Sheets

You wantFormula (start in A2, end in B2)
Days between=B2 - A2 or =DAYS(B2, A2)
Including the end date=B2 - A2 + 1
Weekdays (Mon–Fri)=NETWORKDAYS(A2, B2)
Whole months=DATEDIF(A2, B2, "M")

Frequently asked questions

How many days are there in a year?

365 in a common year and 366 in a leap year. Across the 400-year Gregorian cycle the average is 365.2425 days.

Is the end date included?

Not by default: the start date counts and the end date does not. Set “Include End Date” to Yes to count both, which adds one day.

What if I enter the dates in the wrong order?

They are swapped automatically, so the answer is always a positive number of days. The summary tells you when this happens.

How many weeks are between two dates?

Divide the days by 7. The result shows it for you as weeks and leftover days, for example 68 days = 9 weeks 5 days.

How many weekdays are between two dates?

The breakdown below the calculator lists Monday–Friday days and weekend days. To leave out holidays too, use the Business Days Calculator.