Back to public tools
All tools
Calendar arithmetic

Working-Day Calculator

Count qualifying calendar dates, or move forward/backward by working days. Choose the weekdays that work for you and enter your own excluded dates.

Calculations stay in this browser. Additional named calendar settings are saved only when you choose Save; query drafts and results clear on reload. No calendar upload or account is needed.

Choose a calculation

Whole proleptic Gregorian dates, 0001-01-01 through 9999-12-31. Enter canonical YYYY-MM-DD. No local hours, DST or timezone cutoffs are involved.

Working weekdays (choose at least one)

0 / 102,400 UTF-8 bytes. One canonical YYYY-MM-DD per dated line; no labels, spaces or trailing text. Blank lines are reported/ignored. Calculate parses and deduplicates up to 1000 unique dates. Malformed entries block output; dates outside the current interval are unused, not invalid.

Count intervals: at most 100,000 elapsed calendar days (up to 100,001 included dates). Offsets: 0–10,000 working days. Workers keep traversal off the main thread; changes or Cancel discard obsolete replies.

Working-date counts

Enter dates and rules, then Calculate. Results use only your selected weekdays and entered exceptions.

No automatic national/observed holidays, half-days, shifts, closure hours or timezone-specific cutoffs. Your entered exceptions determine accuracy for your own calendar. Drafts are memory-only; refreshing clears them.

How to use Working-Day Calculator

The original whole-date calculator keeps its count/add/subtract modes, endpoint choices, custom weekdays, manual exclusions, deduplication and unused-date reports, copy/download and Undo. Enable additional reviewed calendars for holiday packs, labelled partial capacities, ICS imports, batches, comparison and counted-day grids.

Enter a date query and calculate the complete batch. Count mode uses its start/end inclusion choices. Offset mode has a separate starting-date consumption choice; by default it starts after the base when adding or before it when subtracting. Zero returns the start unchanged. Additional detailed ranges and traversals cover at most 3,660 dates per query, with up to ten queries and 50,000 explained rows in a compared batch. The original tool remains available for its larger whole-day ranges.

In Advanced, choose whole-day or exact quarter-day arithmetic. Set each weekday’s capacity and an optional dated holiday pack. Whole-day mode refuses partial capacities instead of rounding them. Labelled date entries can reduce normal capacity; save each reviewed entry to apply it. A date never gains capacity from an entry, and a holiday or closed weekday cannot be reopened. The smallest applicable capacity wins, avoiding duplicate subtraction.

Preview all-day ICS dates before selecting and applying them. Timed and recurring events, canceled rows and duplicate UIDs are refused with reasons. DTEND is exclusive; missing all-day ends mean one date. The reused strict importer accepts 1900–2100 and up to 28 days per event. Existing partial-capacity entries need explicit review before being replaced by full exclusions.

Named calendar profiles save only the editing calendar’s rules and labelled dates. Read, review, apply or delete them explicitly; nothing loads automatically. Queries, results and ICS source text are excluded. Add queries in Advanced and select one above to edit it. Comparison calculates both calendar drafts for every query. Closing Advanced preserves the draft and current results.

Inspect the counted-day grid and select a date for its exact explanation. JSON and TXT retain every date, exclusion, label, unused entry, partial consumption and comparison. Counted-date CSV includes positive consumed capacity for every query and active calendar; query IDs distinguish similarly named ranges. Review labels before sharing files.

Example: compare December office calendars

Try the compared calendar example. Calendar A uses the dated England/Wales holiday pack, half-day Fridays and a half-day training entry. Calendar B uses full weekdays and an explicitly entered Christmas closure. Calculate both queries to compare December capacity and the date reached after adding one and a half working days.

Choose the deadline query in the results, then select its counted dates in the grid. The explanation shows excluded weekends, published holidays, the unconsumed starting date and any partial final date. A quarter-day is a fraction of calendar capacity; it does not mean a particular clock time.

About holiday packs, capacities and planning dates

Holiday packs are optional fixed 2026–2027 snapshots, reviewed 18 November 2026. The Sweden pack follows Swedish public-holiday law, including Sundays and named statutory holidays. It invents no substitute weekdays and does not include Christmas Eve, Midsummer Eve or New Year’s Eve; add employer closures explicitly.

The England/Wales pack uses the official bank-holiday feed, including its published substitute dates. It does not cover Scotland, Northern Ireland, employer closures or future announcements. Selected packs refuse dates outside their stated years. Each report records pack version, source, coverage and the fixed event list.

These calculations use Gregorian whole dates, without local hours or daylight-saving arithmetic. Fractional mode measures working capacity in quarters, not shifts, noon deadlines or legal cutoff rules. Your chosen weekdays, closures and pack scope determine the answer. Calendar B minus A gives signed capacity totals or chronological result-date differences; a missing date is outside that calendar’s traversal.

Processing stays in this browser. Drafts and results disappear on refresh; only named calendar profiles you explicitly save remain in local storage. Reports can reveal names and labelled closures, so review them before sharing.

Stars and feedback

Loading…

Tool reference #082