Date & Time

Days Between Dates

Find the exact number of calendar days between two dates.

Your last 50 calculations are stored only in this browser, not in a CalcOcean account. Anyone using this browser profile can see them. Clear history on shared devices. Calculation history

Days Between Dates
Your result
Results are estimates for informational purposes.

Enter your values and select Calculate to see the result.

How this calculation works

Find the exact number of calendar days between two dates. Choose two dates to calculate their absolute difference in calendar days. Either order works: the same date gives 0 days, and January 1 to January 2 gives 1 day.

Formula used

D = |d₂ − d₁|

Good to know

Results are estimates for informational purposes.

Example calculation

|2026-01-31 − 2026-01-01| = 30

How to use this calculator

  1. Choose two dates to calculate their absolute difference in calendar days. Either order works: the same date gives 0 days, and January 1 to January 2 gives 1 day.
  2. Check units and time periods before comparing two results.
  3. Change one input at a time to understand its effect.

Good to know

Results are estimates for informational purposes.

Methodology

Frequently asked questions

What does the Days Between Dates calculate?

Find the exact number of calendar days between two dates. The result is calculated from the values you enter and the formula shown on this page.

Which assumptions does the Days Between Dates use?

It applies D = |d₂ − d₁|. Values, fees, rules or timing not represented by an input are not added automatically.