Guides

How Many Working Days Are in a Date Range?

See how the add-days calculator counts working days: the five-per-week formula, weekend exclusion, a 261-day 2024 example, a results table, and four FAQs.

Miryori Editorial Team2 min read
Try the Add Days Calculator

When a span is measured in business days rather than calendar days, weekends have to come out of the count. The add-days calculator handles this automatically and reports the result as Working time next to its plain day count.

Working time in the add-days calculator is the number of business days between two dates, found by excluding every weekend in the span. For January 1 to December 31, 2024, the calculator reports 261 working days, against 365 calendar days for the same range. The formula takes each complete week as five weekdays, then counts the remaining weekdays up to the end date, with the Include end date setting still applied.

What formula counts working days?

The working-time equation in the calculator reads:

time working=⌊date2−date17⌋×5+getRemaining(date1+⌊date2−date17⌋×7, date2, include end date)\text{time working} = \left\lfloor \frac{\text{date2} - \text{date1}}{7} \right\rfloor \times 5 + \text{getRemaining}\left(\text{date1} + \left\lfloor \frac{\text{date2} - \text{date1}}{7} \right\rfloor \times 7,\ \text{date2},\ \text{include end date}\right)

The floor term divides the day span by seven and keeps whole weeks; each full week contributes five weekdays. The getRemaining term then walks the leftover days from the end of those full weeks to the end date and counts only the days that are neither Saturday nor Sunday, adding the final day when Include end date is ticked. Weekend days are identified by the day-of-week values six for Saturday and zero for Sunday.

How many working days does the 2024 example contain?

The calculator's own January 1 to December 31, 2024 example gives these two figures for the same dates:

Result Date range Value
Working time, weekends excluded Jan 1–Dec 31, 2024 261 days
Time between, all calendar days Jan 1–Dec 31, 2024 365 days

The gap between the two is made up of weekend days that the working-time rule removes. The count is produced from the same two date inputs, so no extra holidays or settings are needed.

Worked example: 2024 in business days

Enter January 1, 2024 in From and December 31, 2024 in To, then read time working: the calculator reports 261 working days. Each complete week in the span contributes five business days, the leftover days are counted only when they fall on a weekday, and the default end-date setting leaves December 31 out. The time between field for the same inputs reads 365 days, showing how much the weekend exclusion changes the answer.

FAQ

Does working time include Saturdays and Sundays?

No. The working-time rule excludes all weekends in the span, counting only business days.

How many working days are between January 1 and December 31, 2024?

The add-days calculator reports 261 working days for that range, compared with 365 calendar days before weekends are removed.

Does Include end date change working time?

Yes. The source states that enabling Include end date affects all other results in the calculator, including working time.

What is the working-day result called in the calculator?

It appears in the output field labelled Working time, alongside Time between and Custom time.

References

  • Add Days Calculator source documentation on the working-time equation and its 261-day 2024 example.
  • Calendar arithmetic references on weekday counting and full-week division by seven.
  • General business-calendar references on excluding Saturdays and Sundays from a date span.
Calculator

Add Days Calculator

Add Days: calculator to add days between two given dates. Free, fast and private.

Try the Add Days Calculator