Skip to content
Browse tools

Date Difference & Days Between Dates Calculator

Count the exact days, weeks and business days between any two dates, with inclusive or elapsed counting. Timezone-safe and free.

Date & Time · Free · Last updated 2 October 2026

Date range

Thursday

Thursday

Off: elapsed days between the dates. On: both endpoints count, adding one day.

Date difference

Total duration91 Days13 weeks, 0 days
Weekdays (Mon–Fri)
65 days
Total hours
2,184 hours
Counting mode
Elapsed

Business days count weekdays only

Public holidays are not subtracted — they differ by country and region, and there is no single correct calendar. Weekday counts use the same counting mode as the total so both figures describe the same range.

How the Days Between Dates Calculator works, and how to get more out of it

The one question that changes the answer

Every off-by-one argument about date counting comes down to a single choice: do you count both endpoints, or just the span between them?

From 1 October to 5 October there are four elapsed days — the distance you travel from one point to the other. Counting inclusively, the same range covers five calendar days, because the 1st and the 5th are both days you occupy.

Neither is wrong; they answer different questions. A hotel stay from the 1st to the 5th is four nights but five days on the ground. A project that starts on the 1st and must finish by the 5th has five working days available. The calculator shows both so you can pick the one your situation actually means.

Why this is harder than subtraction

Dates are not a clean number line. Three things break naive arithmetic:

  • Month lengths vary between 28 and 31 days, so a month is not a fixed unit and cannot be converted to days by multiplication.
  • Leap years add a day every four years, with the century rules that make 1900 not a leap year but 2000 one. A days-since-birth figure computed without them drifts.
  • Daylight saving makes a local calendar day 23 or 25 hours long. Any calculation that divides elapsed milliseconds by 24 hours will be off by a day across a transition.

How this calculator avoids those traps

Each date is converted to a whole-day count in UTC before any arithmetic happens, and the difference is taken between those counts. A day is then exactly one unit, regardless of the timezone you are sitting in or whether a clock changed overnight, and the weekday of every date is read in the same frame.

That last detail is the one most date tools get wrong. A date input gives you a bare calendar date with no timezone, but it is easy to parse it as UTC midnight and then read it back with local getters — which silently shifts every weekday by one for anyone west of UTC. It tests perfectly in London and quietly reports the wrong number of working days in New York.

Business days, and what they leave out

Business-day mode counts Monday to Friday and excludes Saturdays and Sundays, using the same inclusive or elapsed convention you choose for the calendar count — so the two figures on screen always describe the same range.

It does not subtract public holidays, because there is no single correct holiday calendar to subtract. Holidays differ by country, and within a country they differ by state, province or industry; the UK and South Africa share almost none. An estimate that silently removed the wrong set of holidays would be worse than one that removes none, so the tool counts weekends only and leaves you to adjust for your own calendar.

For a rough planning figure, also remember that business days are not the same as available capacity. Team members take leave, have meetings booked and are not interchangeable across tasks.

What people actually use it for

  • Notice periods and contract terms. 'Thirty days from the date of this notice' means something specific, and whether the notice day counts is exactly the inclusive/exclusive question.
  • Project and sprint planning. Business days give a more honest delivery estimate than raw calendar days, which quietly count weekends as if work happened on them.
  • Event and deadline countdowns. Days until an exam, a visa deadline, a subscription renewal or a statutory filing date.
  • Age and tenure checks where you need total elapsed days rather than a year figure — the Age Calculator handles the years, months and days breakdown.
  • Invoice and interest periods, where the day count is the basis of the arithmetic and an off-by-one changes the amount.

Dates going backwards

If your end date precedes your start date the duration is negative, which is a useful signal rather than an error — it usually means the dates were entered the wrong way round, or that you are measuring something that has already elapsed relative to a later reference point.

The calculator reports the magnitude and states the direction rather than silently swapping the dates, because silently swapping them hides exactly the mistake you want to see.

Privacy

All date arithmetic runs in your browser. Nothing is sent to a server, nothing is logged, and there is no query string carrying your dates — which matters more than it sounds when the dates are a notice period, a medical appointment or a contract deadline.

Frequently asked questions

What is the difference between inclusive and elapsed day counting?

Elapsed counting measures the span between two dates: 1 October to 5 October is 4 days. Inclusive counting adds one so both endpoints count: the same range is 5 days. Use elapsed for durations and inclusive for 'days available' or deadlines.

Does it handle leap years?

Yes. Dates are converted to whole-day counts in UTC before subtracting, so 29 February is counted on every leap year and the century rules (1900 was not a leap year, 2000 was) are handled by the platform.

How are business days counted?

Monday to Friday, excluding Saturdays and Sundays. The weekday count uses the same inclusive or elapsed setting as the calendar-day total, so both figures on screen describe the same range.

Are public holidays subtracted from business days?

No. Holidays vary by country, region and industry, and there is no single correct calendar to subtract. Counting weekends only is honest; removing the wrong holidays would be worse than removing none.

Why did another tool give me a different number of days?

Usually one of three reasons: they counted inclusively where you expected elapsed (or the reverse); they divided elapsed milliseconds by 24 hours, which loses a day across a daylight-saving change; or they treated every month as 30 days.

Can I use dates from past years?

Yes — any valid Gregorian date, past or future, within the range the date input allows.

What happens if the end date is before the start date?

The result is negative and the tool says so, which usually means the dates were entered the wrong way round. It does not swap them silently, because that would hide the mistake.

Are the dates I enter sent anywhere?

No. All arithmetic runs locally in your browser; there is no server call and no query parameter carrying your dates.