Skip to main content

Find your next tool

MAXScanner Calculator

Days Between Dates Calculator

Calculate the exact number of days between two dates.

Live editable inputs

Change the values and see the calculation update immediately.

Formula and working

The relationship behind the answer stays visible on the page.

Assumptions visible

Rates, dimensions and limitations are kept explicit instead of hidden.

Connected next steps

Move into the next genuinely different calculation without keyword-copy pages.

Calendar inputs

Calendar dates use civil-date rules; month lengths, leap days and endpoint counting stay explicit.

Calculated result

31 days

30 elapsed calendar days
31 days when both endpoints count
4 weeks + 3 days
End date is after start date

Counting conventions for the same dates

ConventionDays
Elapsed / end excluded30
Both endpoints included31
Show the working
  1. 1. UTC-normalized date difference = 30 calendar days.
  2. 2. Elapsed magnitude = |30| = 30.
  3. 3. Inclusive count = 30 + 1 = 31.

Calendar-day arithmetic uses date-only UTC normalization so daylight-saving 23/25-hour days still count as one civil date change.

Inclusive mode counts both endpoints. Exclusive mode counts elapsed date boundaries and does not add the final endpoint day.

More actions

Shared links reopen these inputs. Recent and saved calculations stay in this browser unless you clear site data.

How to use this calculator

Use this calculator for an exact calendar-day count between two dates. You can include both endpoints or use an elapsed-style count that excludes the extra endpoint day.

Step-by-step

  1. Step 1

    Enter the start date.

  2. Step 2

    Enter the end date and choose whether both dates should count.

  3. Step 3

    Review total days plus the weeks-and-days breakdown.

How the result is calculated

Calendar-day difference = |end date − start date|, with +1 day when inclusive counting is selected.

Where this calculator is useful

Project and delivery planning

Use the result as a check within this type of task, with the assumptions shown above.

Travel, leave and event dates

Use the result as a check within this type of task, with the assumptions shown above.

Deadline and record checks

Use the result as a check within this type of task, with the assumptions shown above.

Common questions

What does inclusive counting mean?

Inclusive counting adds both the starting and ending dates to the counted range. The calculator adds one day to the absolute date difference when that option is enabled.

What if I enter the dates in reverse order?

The calculator still shows the absolute number of days and tells you that the dates were reversed.

Does this remove weekends or holidays?

No. Use the Business Days Calculator when weekends or supplied holidays must be excluded.

Need a different calculation?

Use the calculator library to switch tasks when the question, unit or assumption changes.

Browse all calculators

Planning notes

Day counts depend on the endpoint convention

A date difference can mean elapsed boundaries or a count that includes both calendar dates. This owner shows both instead of hiding the convention.

Example: September 1 to September 18

There are 17 elapsed calendar-day boundaries. Counting both September 1 and September 18 gives 18 dates.

Useful for

  • Deadline and notice-period checks
  • Project and event spans
  • Travel and booking date counts

Limits and assumptions

  • Date-only arithmetic is UTC-normalized so DST does not turn a civil day into a fraction.
  • Inclusive counting adds both endpoints; elapsed/end-excluded counting does not.
  • This tool does not infer legal deadline conventions.

Questions about this planning model

Why can two dates be 17 days apart but count as 18 days?

The first number measures elapsed date boundaries; the second counts both endpoint dates.

Do leap days count?

Yes. Gregorian calendar dates are parsed and compared directly.

Does daylight saving change the answer?

No. Date-only differences use UTC-normalized calendar dates rather than local elapsed milliseconds.

Method/editorial reviewed 2026-09-19. The live calculator inputs and visible working remain the source of truth for the exact scenario above.

Common date questions

days between two datesnumber of days between datesdate difference in daysinclusive date count

Related calculators

These calculators share this task context and lead to a genuinely different calculation.