⌕
Calculators · free online tool

Days Between Dates.

Count calendar days between two dates.

Your workspace◈ Processed on your device
Your result
Your result will appear here.

A little context.

Default counting measures elapsed days. Inclusive counting adds one day in the direction of the interval and counts the same date as one day.

Choosing whether both boundary dates count

For elapsed time, the interval from Monday to Tuesday is one day. For an attendance list that includes both dates it is two. Select the convention your task requires before comparing the result with another system.

Interpreting the result and avoiding mistakes

Including both dates changes a same-day interval from zero to one. Reversed dates give a negative interval. Business days, school calendars and hotel-night rules are separate conventions that this calculator does not model.

A reproducible workspace example

These are the starting values in the form above. The result below is calculated from these values when the page is built, using the same processing engine as the tool.

Start date
2026-01-01
End date
2026-01-31
Counting
Exclude end day

Calculated output

30 days

Quick reference

Jan 1 to Jan 31 = 30 elapsed days

How to use this tool

  1. Enter start date, end date, counting in the workspace above.
  2. Select Run tool to process your input. Invalid values produce a message next to the form.
  3. Copy the result or download it as a file. Reset example restores the original input.

Keep a good thing going.

A few related tools for your next step.