Skip to content
LunaCalc

Everyday life

Days Between Dates Calculator

Compute the number of days between two dates.

Calculator

About this calculator

This days between dates calculator counts the exact span between two dates, with an option to include the end date.

Formula notes

difference = end date − start date in whole days; including the end date adds 1.

Worked examples

  1. Example: 2026-01-01 to 2026-01-31 is 30 days, or 31 days when counting both endpoints.
  2. From 2026-07-01 to 2026-07-25, the elapsed difference is 24 days; counting both calendar endpoints would produce 25 date labels.

How to use it

  1. Enter the start and end dates.
  2. Toggle include-end-date if needed.
  3. Read the total days between them.

Frequently asked questions

Does the count include leap days?

Yes. Any Feb 29 inside the span is counted as a real day.

Why is my hotel billing one day more?

Hotels count nights inclusive of check-in; enable include-end-date to match.

Limits and interpretation

  • Inclusive and exclusive endpoint conventions produce different counts, so confirm which definition your deadline uses.
  • Date-only arithmetic does not measure partial days created by timestamps or time-zone changes.