MiniUtil field guide

How to Calculate Business Days Between Two Dates

Calculate business days accurately by defining inclusive dates, weekends, holidays, regional calendars, and time-zone boundaries first.

Short answer: Agree on whether endpoints count, define working weekdays and holidays, use calendar dates rather than elapsed hours, then verify a short hand-counted example.

Define what counts before calculating

“Business days between” can include both endpoints, exclude the start, or exclude both. Write the rule in words and test a range that begins or ends on a weekend so the convention is visible.

Choose the real workweek and holiday list

Saturday and Sunday are common non-working days, but not universal. Public holidays vary by country, region, organization, and sometimes market. A calculator is only as accurate as the weekend pattern and holiday dates supplied to it.

Keep date counting separate from elapsed time

A business-day question usually concerns named calendar dates, not groups of 24 elapsed hours. When timestamps cross zones or daylight-saving changes, convert them to the intended business location before extracting dates.

Verify boundaries with a hand-counted example

Use a short range that contains a weekend and one listed holiday. Write each date and whether it counts, compare the tool result, then calculate the full range with the same settings.

Date calculations that answer different questions

CalculationCountsUseful for
Calendar daysEvery date in the rangeAge of a request or total elapsed dates
WeekdaysConfigured workweek onlyPlanning when holidays are irrelevant
Business daysWorkweek minus supplied holidaysDelivery, leave, payroll, and service deadlines