Days between dates calculator

Calculate calendar days between two dates, with an inclusive end-date option.

Your inputs stay herePUFFINMINT

Set your data

Set your data

Choose the start and end dates. The default difference excludes the end date; enable the option to count both endpoints.

Result

Enter your data and run the tool. Your result will appear here.

The values you enter stay on this page. Reloading or closing it clears them.

We count which tools are used most, without including entered values or file contents in the statistics. Privacy

How to use the tool

Choose the start or end date, then select a day. Use the arrow keys or drag a highlighted date. Include the end date to count that day.

  1. Fill in these fields: Start date, End date, Include the end date.
  2. Select “Calculate” to obtain the result.
  3. Choose the start and end dates.
  4. The default difference excludes the end date; enable the option to count both endpoints.

Method, examples and limits

Dates are calculated in UTC without daylight-saving effects. January 1 to January 2 gives 1 day, or 2 with both endpoints included. Identical dates give 0 or 1 respectively. Leap years are included. Displayed hours equal days × 24; they are not elapsed hours between local timestamps.

Practical example

Input
  • Start date: 2026-01-01
  • End date: 2026-01-10
  • Include the end date: No
Result
9

Result details

Result details
ParameterValue
Weeks1 + 2/7
Hours216

Limits and checks

  • Only when you enable the option. Identical dates give 0 days, or 1 with the end date included.

Frequently asked questions

Is this data saved?

The values you enter stay on this page. Reloading or closing it clears them.

Favorites