Skip to content
CalcCrestly

Date Difference Calculator

Count days, weeks and business days between two dates — and what counts as a business day — with an option to skip public holidays.

ISO dates separated by commas, excluded from the business-day count.

Result

—

Enter your numbers to see the result.

How to use this calculator

  1. 1Pick the start and end dates.
  2. 2Tick the box if both dates should count, as they do for a hotel stay or a billing period.
  3. 3Paste in any public holidays to exclude from the working-day total.
  4. 4Read the gap in days, weeks, business days and hours.

The formula

days = (date₂ − date₁) ÷ 86,400,000 ms

Dates are compared in UTC so that daylight saving never adds or removes an hour. Business days are counted by walking the range and skipping Saturdays, Sundays and any holidays you list.

date₁
start date
date₂
end date

Worked example

1 January 2025 to 15 March 2025

  1. 1.January has 31 days, February 28 and then 15 days of March: 73 days in total.
  2. 2.That is 10 whole weeks plus 3 days.
  3. 3.Removing 20 weekend days leaves 53 business days.

73 days, or 53 business days.

Date Difference Calculator results are estimates for general information and are not professional advice.

Frequently asked questions

Should I count the end date?
For a duration, no: 1 January to 2 January is one day. For a booking or a billing period, usually yes, because both days are used. The checkbox lets you choose.
What counts as a business day?
Monday to Friday. Public holidays are not known automatically because they differ by country and region, so paste the ones that apply to you into the holidays field.
Does daylight saving affect the count?
No. All dates are handled in UTC, so a clock change never adds or loses a day.
Can the end date be before the start date?
Yes. The calculator reports the size of the gap either way round.

A note on accuracy. This calculator is provided for general information. Financial, health and construction results are estimates and should not replace advice from a qualified professional. See our disclaimer.