Skip to main content
ToolsHub

Days Between Dates Calculator

Pick a start and end date to count the days between them, shown in total days and in weeks and days.

Updated

Files never leave your browser

Day count appears here

Pick a start and end date to count the days between them, in days and in weeks.

How to use Days Between Dates Calculator

The days between dates calculator counts exactly how many days separate two dates. Pick a start date and an end date and it returns the total number of days, plus a breakdown into weeks and days. An optional inclusive setting counts both the first and last day when you need the length of a span rather than the gap between two points. The order of the dates does not matter — it always returns a positive count — and everything is worked out in your browser, so the dates you pick are never uploaded.

  1. Pick the start date.
  2. Pick the end date.
  3. Optionally enable counting both days.
  4. Read the total days and the weeks-and-days breakdown.

Your data never leaves your device — 100% private processing.

Inclusive versus exclusive counting

There are two natural ways to count days, and choosing the right one avoids off-by-one mistakes. Exclusive counting measures the gap between two dates: from the 1st to the 8th is 7 days, because you count the steps between them. Inclusive counting measures the length of a span: those same dates cover 8 days if you count both the 1st and the 8th themselves. Which you want depends on the question. “How many days until my flight?” is exclusive; “how many days is my hotel booking?” is inclusive, because you occupy both the check-in and the days in between. This calculator offers both so you can match the count to what you are actually measuring.

Weeks and days breakdown

A raw day count is precise but not always easy to picture, so the calculator also splits it into weeks and leftover days. Forty days, for example, is five weeks and five days, which is often easier to reason about for planning schedules, pay periods, or notice periods that run in weeks. The breakdown is a simple division: the number of whole weeks is the total divided by seven, and the remainder is the extra days. Because it is derived from the same exact day count, it stays perfectly consistent with the total — useful when you need to communicate a duration to someone in more human terms than a single large number.

Worked examples

One week

Inputs: 2026-01-01 → 2026-01-08

Result: 7 days

Inclusive

Inputs: same dates, both counted

Result: 8 days

Leap day

Inputs: 2024-02-28 → 2024-03-01

Result: 2 days

Glossary

Inclusive count
A day count that includes both the start and end dates.
Exclusive count
A day count of the gap between two dates, not counting one end.
Leap year
A year with an extra day, 29 February, added roughly every four years.
UTC
Coordinated Universal Time, used here so time zones don’t shift the day count.

Related reading

Free · No spam

Get weekly tool tips & updates

New tools, power-user tips, and productivity hacks — delivered free every Friday.

No spam, ever. Unsubscribe with one click.

Related Date & Time

Explore all Date & Time.