Date calculator: days between dates

A quick date calculator for deadlines, trips, billing periods, projects and everyday planning.

Start date
End date

Counts calendar days, including weekends.

Days between datesEnter datesChoose dates to calculate.Read the tab and inclusive setting with your result. Compare the three date questions.

How days are counted

Elapsed days = end date − start date. January 1 to January 31 is 30 days; include the end date to count 31. Weekends and holidays are included.

Reviewed

Examples, reference and FAQs

Days between two dates

The default result counts elapsed calendar days. The same date returns zero. Select “Include end date” to count both dates: the same date then returns one. A reversed range stays negative, including the extra day when selected.

Add or subtract days

Enter a whole number in Days to add. Adding 30 days to 2026-01-01 returns 2026-01-31; entering −30 subtracts 30 days. Inclusive counting changes the range total only, not the added date.

Frequently asked questions

Does this calculate business days?

No. Saturdays, Sundays and public holidays are included. Holiday schedules differ by country and are not applied here.

Are leap years handled?

Yes. February 29 is counted when it exists. From 2024-02-28 to 2024-03-01 is two elapsed days; the corresponding 2025 range is one.

Why might a date range be one day different from my count?

Elapsed days excludes the final endpoint as an additional full day. Select inclusive counting when you want both dates counted, such as a multi-day event.

Which date format should I use?

Type YYYY-MM-DD, or use the calendar picker. The picker’s appearance follows your browser’s locale. The end date initially uses today in your local time zone.

Does daylight saving time change the result?

No. The difference uses calendar dates rather than dividing local elapsed hours by 24. For age in years and months, use the age calculator.

Choose elapsed days or dates included

For an event from October 10 through October 12, the elapsed difference is two days. Selecting Include end date gives three calendar dates: the 10th, 11th and 12th. For a stay with checkout on the 12th, elapsed days may fit the question better. The tool does not decide how a hotel, contract or deadline defines a day.

Adding calendar days is not adding working days

Adding three days to Friday, October 9, 2026 gives Monday, October 12. Saturday and Sunday are included. The calculator does not check public holidays or apply jurisdiction-specific filing rules. If a deadline excludes weekends or holidays, use the governing rule rather than treating this result as a business-day calculation.

For reproducible results, record the start and end dates, the chosen tab and whether inclusive counting was selected. A screenshot showing only a day total can hide those assumptions.

One event, three different date questions

Use an event beginning October 10, 2026 and ending October 12, 2026 to compare the modes. The question determines the right setting.

On a narrow screen, scroll the table horizontally to see all columns.

Same starting date; different questions and settings
QuestionSetting and inputsResult
How much time separates the dates?Count days: 2026-10-10 to 2026-10-12; Include end date off2 elapsed calendar days
How many dates are included in the event?Same range; Include end date on3 dates: October 10, 11 and 12
What date is two days after the start?Add / subtract days: 2026-10-10; enter 22026-10-12
What date is two days before the start?Add / subtract days: 2026-10-10; enter −22026-10-08

For a stay with arrival on the 10th and checkout on the 12th, two elapsed days may describe two nights. For an event open on all three dates, inclusive counting fits better. Confirm the actual booking or deadline rule; the calculator does not decide it.

Keep a result reproducible

Record both dates and the inclusive setting, or the starting date and signed number added. Changing tabs preserves the fields, but inclusive counting only affects Count days. Calendar calculations include weekends and holidays and do not measure exact hours across a daylight-saving change.

Other tools