๐Ÿ”ข

Day Counter Calculator

Count days between two dates or add/subtract business days. Exclude weekends and holidays (US, UK, Canada, custom). Project timelines, deadlines, notice periods.

Configuration

Day Count Analysis

1 Days


Weekdays: 1

Weekends: 0


Start: Wednesday, February 25, 2026

End: Wednesday, February 25, 2026

Information Hub

Duration Mode

Count days between two dates. "Include End Day" adds the end date to the count (inclusive). When "Holidays to Skip" is set, those dates are excluded from the Weekdays total and listed under Holidays.

Add/Subtract Mode

Start from a date and add or subtract a number of days. "Count Business Days Only" skips weekends and any holidays in Settings, stepping only through weekdays.

Day Counting, Business Days & The Doomsday Rule

Whether you're planning a project, checking a notice period, or curious about a date spanโ€”counting days matters. This tool uses efficient math (including the Doomsday Rule for weekdays) to give you total days, weekdays, weekends, and holidays for any range.

What This Calculator Does

Days Between Dates

Enter start and end dates for the exact day count. Toggle inclusive (both dates count) or exclusive. The breakdown splits weekdays, weekends, and holidaysโ€”handy for contracts and timelines.

Add or Subtract Business Days

Start from any date and add or subtract N business days. Weekends and configured holidays are skipped. Good for "30 working days from now" or notice periods.

Holiday Exclusions

Exclude US Federal, UK, Canada Federal, or custom YYYY-MM-DD dates. Excluded holidays show in the breakdown and are skipped when stepping business days.

Doomsday Proof

The Doomsday Rule finds weekdays with modular arithmeticโ€”no calendar needed. The Information Hub walks through the proof for your start date: century anchor, year formula, nearest doomsday offset.

Day Counter Calculator: Days Between Dates, Business Days & Add/Subtract Days

Count days between two dates or add/subtract business days. Include end day, exclude weekends and holidays (US, UK, Canada, custom). Doomsday Algorithm proof. Project timelines, deadlines, notice periods. Free, runs locally, no sign-up.

How Many Days Between Two Dates? The Math Behind the Count

Days between two dates come from the millisecond difference divided by 86,400,000: Totalย days=1+โŒŠendmsโˆ’startms86,400,000โŒ‹\text{Total days} = 1 + \left\lfloor \frac{\text{end}_{\text{ms}} - \text{start}_{\text{ms}}}{86{,}400{,}000} \right\rfloor (or one less for exclusive end). Inclusive vs exclusive, leap years, and varying month lengths are handled automatically. Weekday and weekend counts use a constant-time formula from the start date's day-of-weekโ€”no per-day loopโ€”so even multi-year ranges return instantly.

Business Days vs Calendar Days: When to Use Each

Calendar days include every dayโ€”useful for lease terms, visa validity, or "X days from today" in legal or travel. Business days exclude Saturdays, Sundays, and optionally holidaysโ€”the norm for project timelines, SLAs, and notice periods. Duration Between mode gives the full breakdown; Add/Subtract with "Count Business Days Only" steps through weekdays only, skipping holidays you configure (US Federal, UK, Canada, or custom).

The Doomsday Rule: Finding the Day of the Week

The Doomsday Algorithm finds the weekday of any date. Each year has a "Doomsday"โ€”a weekday that 4/4, 6/6, 8/8, and 12/12 fall on. The formula f=(d+a+b+c)โ€Šmodโ€Š7f = (d + a + b + c) \bmod 7 combines the century anchor d with year terms a = โŒŠyy/12โŒ‹, b = yy mod 12, c = โŒŠb/4โŒ‹. From the year's Doomsday, count forward or back to any date. The Information Hub's Doomsday Proof tab runs through it step-by-step for your start date.

How to Use the Day Counter Calculator

  • Duration Between:
    Pick start and end dates. Toggle "Include End Day in Count" for inclusive vs exclusive. Read the Day Count Analysis for total days, weekdays, weekends, and holidays.
  • Add/Subtract Days:
    Enter start date and number of days. Choose Add (+) or Subtract (โˆ’). Enable "Count Business Days Only" to skip weekends and holidays.
  • Holidays to Skip:
    Select US Federal, UK, Canada Federal, or enter custom YYYY-MM-DD dates. Excluded dates appear in the Holidays row and are skipped in business-day stepping.

Day Counter Calculator FAQ

? How do I count days between two dates?

Use "Duration Between" mode: pick start and end dates. Toggle "Include End Day in Count" for inclusive (both count) or exclusive. The breakdown shows total days, weekdays, weekends, and holidays.

? How do I add or subtract business days?

Use "Add/Subtract Days" mode, enable "Count Business Days Only," and enter start date and number of days. The calculator steps through weekdays only, skipping weekends and holidays (US Federal, UK, Canada, or custom YYYY-MM-DD). Good for deadlines, notice periods, and "10 working days from today."

? What is the difference between weekdays and business days?

Weekdays are Mondayโ€“Friday. Business days are weekdays minus holidays. Total days use Days=1+โŒŠฮ”tms/86,400,000โŒ‹\text{Days} = 1 + \lfloor \Delta t_{\text{ms}} / 86{,}400{,}000 \rfloor where ฮ”t is the millisecond difference. Weekday count uses a constant-time formulaโ€”no per-day loopโ€”so results are instant for any range.

? How do I exclude custom holidays?

In Settings, choose "Custom dates..." and enter dates in YYYY-MM-DD format (comma or newline separated). Those dates are excluded and listed under Holidays. Also supports US Federal, UK, and Canada Federal.

? What is the Doomsday Algorithm?

The Doomsday Rule finds the weekday of any date. Each year has a "Doomsday"โ€”a weekday that 4/4, 6/6, 8/8, 12/12 fall on. The formula f=(d+a+b+c)โ€Šmodโ€Š7f = (d + a + b + c) \bmod 7 uses the century anchor d and year terms a, b, c. The Information Hub's Doomsday Proof tab shows the step-by-step for your start date.
๐Ÿ•’
Time & Date Reference Note

Informational Use: These tools use standard date/time algorithms and your browserโ€™s timezone data (IANA). Results are intended for general reference and planning only.

Verification Recommended: Time zone rules and daylight saving changes vary by region and year. For critical scheduling, payroll, or legal deadlines, confirm results with official sources.

Local Verification: Always confirm times, dates, and business-day counts with official sources or qualified professionals when stakes are high.

ยฉ 2026 CalcRegistry Reference Last Logic Update: FEB 2026Free Online Utility Tools