Skip to content
wonderstacked

Date Difference Calculator

Days, weeks, months and weekdays between two dates.

Runs in your browser
Loading Date Difference Calculator…

How do I count the days between two dates?

A days between dates calculator counts the days, weeks, months and weekdays from one date to another. This date difference calculator treats the start date as day zero, separates weekdays from weekends and shows the weekday of each date, all in your browser.

Pick a start date and an end date and the calculator returns the number of days between them, the same span as weeks plus days, and as years, months and days. It also separates weekdays from weekend days, which is the quick way to estimate working days for a deadline or a delivery window.

The start date is counted and the end date is not, so 1 January to 2 January is one day. If you need both ends included, add one. Reversing the dates gives the same answer, because the tool always measures from the earlier date to the later one. Calendar months are counted from the start date, with the day clamped for shorter months, so 31 January to 1 March is one month and one day.

Weekday counts cover Monday to Friday only. Public holidays differ by country and region, so they are not subtracted; remove them by hand if they apply. Dates are plain calendar dates, free of time-zone and daylight-saving effects, and everything is calculated in your browser.

Page updated .

How to use the Date Difference Calculator

  1. Choose the start date.
  2. Choose the end date.
  3. Read the total days, the years-months-days breakdown and the weekday count.

Examples

Short span
Input
2024-01-01 to 2024-01-29
Output
28 days, 4 weeks, 20 weekdays
Month borrow
Input
2000-01-31 to 2000-03-01
Output
30 days, 1 month and 1 day
Full year
Input
2024-01-01 to 2025-01-01
Output
366 days

Tips

  • Add one day if you want to include both the start and the end date.
  • Subtract public holidays from the weekday count yourself.
  • Use today as the start date to see how long until a future event.

Specs & limits

Outputs
Days, weeks, years-months-days, weekdays, weekend days
Counting rule
Start included, end excluded
Holidays
Not subtracted
Processing
In your browser

Troubleshooting

›The result is one day short of what I counted

Cause: The end date is not counted.

Fix: Add one day to include both the start and the end date.

›The weekday count includes a bank holiday

Cause: Public holidays vary by place and are not known to the tool.

Fix: Subtract the holidays that fall in your range by hand.

Frequently asked questions

›Is the end date included in the count?

No. The start date is day zero, so the result is the number of nights between the dates. Add one to include both.

›How many days are between 1 January and 31 December?

364 days in a common year and 365 in a leap year.

›Does it account for leap years?

Yes. Day counts use the real calendar, so 29 February is included when it falls in the range.

›How are working days calculated?

The tool counts Monday to Friday days in the range. It does not know about public holidays.

›Why does the months figure differ from days divided by 30?

Months are calendar months of different lengths, so they do not divide evenly into a day count.

›Can the end date be before the start date?

Yes. The span is the same size in either direction.

More text tools

See all
esc