Days Between Dates

Count the days, weeks and weekdays between two dates, with an option to include the end date. Free and private.

Runs in your browserNo sign-upWorks offline
Your result—
Formula used
Shown here after you calculate
Rounded to
2 decimal places

What the Days Between Dates does

Days Between Dates counts how far apart two dates are. It gives the number of days, the same span in weeks and in months, the number of weekdays from Monday to Friday, and the total hours. Choose whether to count the end date too, which matters for things like hotel nights versus holiday days.

How to use it

  1. Enter the start date and the end date.
  2. Tick Include the end date if both the first and last days should count.
  3. Read the days, weeks, months, weekdays and hours in the result card.
  4. If the end is before the start, the tool still counts the gap and notes that the dates are reversed.

Example

Counting from 16 October 2026 to 31 December 2026 gives 76 days, or 10 weeks and 6 days, of which 54 are weekdays. If you are planning work for every day from the 16th through to the 31st inclusive, tick Include the end date: the total becomes 77 days and 55 weekdays.

Include the end date or not?

Without the end date, the result is the number of nights or the gap between two days, which is what you want for “how many days until” questions, hotel stays and loan days. With the end date, you get the number of calendar days in the period, which is what you want for leave applications, event durations and attendance.

Weekdays skip Saturdays and Sundays but not public holidays, which differ between states and companies. Subtract your holidays from the weekday figure, or use the Business Days Calculator, which lets you list them.

Common spans in days

SpanDays
1 week7
1 month28 to 31
1 quarter (3 months)90 to 92
6 months181 to 184
1 year365, or 366 in a leap year
Leap years2028, 2032 and every 4 years, except most century years

Months are uneven, so “3 months from today” can be 89 to 92 days depending on where you start. When a contract, notice period or visa counts in days, use the exact count rather than months.

Counting days by hand

Count the days left in the start month, add the full months in between, then add the day number in the end month. From 20 March to 5 June is 11 days left in March, plus 30 in April and 31 in May, plus 5 in June: 77 days. To find a date a set number of days ahead instead, use Add or Subtract Days, and to know which weekday a date falls on, the Day of the Week Calculator.

Questions people ask

Does it account for leap years?

Yes. Every real calendar day is counted, including 29 February.

Can I count working days with holidays removed?

Yes, with the Business Days Calculator, where you can list your holidays.

Why do weeks and months not match exactly?

Months have different lengths, so the months line counts calendar months and the remaining days.

Is anything stored?

No. It all runs in your browser.

Related tools

Add this calculator to your website

Copy the code below into any web page, blog post or site builder that accepts HTML. The calculator works the same as here, free and with no sign-up, and updates by itself when we improve it.

Preview