How to Calculate the Number of Days Between Two Dates

By Daniel · Updated July 2026

Counting days between dates matters for deadlines, notice periods, interest and leave. The maths is easy to get slightly wrong by hand — mostly because of one question: do you count both end dates, or just the gap between them?

Inclusive or exclusive counting

From Monday to Wednesday, is that two days or three? If you count the days that pass, it is two; if you count the days you are present (Mon, Tue, Wed), it is three. Contracts and leave policies differ, so decide which your situation needs — a good calculator can show both.

How to count

  1. Open the date difference calculator.
  2. Pick the start and end dates.
  3. Read the total in days, and in weeks and months where useful.

Working days vs calendar days

A 30-day calendar period is only about 22 working days once you drop weekends. For notice periods and delivery estimates that are quoted in business days, count working days instead of calendar days, and remember public holidays are not included automatically.

Date Difference Calculator
Pick two dates and get the exact number of days, weeks and months between them.
Open the tool →

Common questions

Should I count both the start and end date?

It depends on the rule you are applying. 'Days between' usually excludes one end; 'days inclusive' counts both. Check which your contract means.

How do I count only working days?

Use the business-days option, which skips Saturdays and Sundays. Add any public holidays yourself.

Does it handle leap years?

Yes. The count is based on the real calendar, so 29 February is included when it falls in the range.

Is anything uploaded?

No, the calculation runs in your browser.

Keep reading

How to Calculate an Exact Age · How to Convert Time Zones · How to Convert a Unix Timestamp