Date difference calculator

Count the days and weeks between two dates, with an optional inclusive count.

On your device · No account
Privacy details

Date difference calculator processes your input in this browser. Inputs and results are excluded from analytics. Recent tools save tool names, visit counts and last-visit times. Saved tools store only their names. Draft saving is optional and stays on this device; delete saved text with the draft controls. Loading text from a URL is optional and contacts that server; its URL and your IP address are visible to the server. An optional “Use in” action keeps a handoff in this tab. The next tool removes it on arrival and ignores it if more than a minute has passed.

Copy link includes the inputs you choose to share in the address. Anyone with that link can reopen them. Files and generated results are excluded. Password and key tools share settings only.

More options

Your result

Enter your values to see the result.

Reset reloads the tool with its starting values and releases open files and device controls. Saved drafts stay on this device until you delete them.

Links include your inputs and settings. Anyone with the link can see them, so leave out private text. Files and generated results are left out; random draws run again.

Keyboard shortcuts

Updated

Using Date difference calculator

The ordinary gap is end minus start. Including both dates adds one day. Calendar years and months use the earlier date as the anchor, shortening a month-end date only when the target month is shorter. Reversed dates keep a positive gap and a clear direction.

A worked example

February 28 to March 1, 2024 is 2 days because February has a leap day. Counting both dates gives 3 days.

Before you use the result

Uses the Gregorian calendar for all years 0001–9999. These are calendar days, not elapsed 24-hour periods across a daylight-saving change. Calendar gaps always exclude the end date.

Next: Business days calculator

Next: Time duration calculator

Cite this page

ToolOctopus. “Date difference calculator.” Updated 2026-09-20. https://tooloctopus.com/date-difference-calculator.

Add an access date if your instructions require one.

Citation formatting uses citeproc-js by Frank Bennett and Citation Style Language styles. Licence and source code.

Find a tool

Search by task. Use ↓ and ↑ to choose, Enter to open.