Skip to main content

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.

By Jeff Beem

Updated

01

Mode

Holidays

Day count

1 days


Weekdays: 1

Weekends: 0


Start: Wednesday, May 27, 2026

End: Wednesday, May 27, 2026

02

Reference

Between dates

Inclusive end-day option and holiday skip list adjust weekday vs holiday tallies.

Add / subtract

Business-days-only steps across weekdays and skips holidays from Settings.

Doomsday rule

Anchor weekday for 4/4, 6/6, 8/8, 10/10, 12/12; century anchor plus year formula.

Formula (yy = last two digits of year)

Proof below uses your current start date.

Doomsday proof

Steps for May 27, 2026:

1. Century anchor

For the 2000s, anchor is Saturday (d = 2)

2. Year (yy = 26)

a = 2, b = 2, c = 0

3. Doomsday for 2026

f = 6 โ†’ Saturday. Nearest doomsday in May: 5/9. Offset 27 โˆ’ 9 = 18 โ†’ Wednesday.

Day Counting, Business Days & The Doomsday Rule

This calculator gives total days, weekdays, weekends, and holidays for any date range. The Information Hub (in the calculator card above) explains Duration vs Add/Subtract mode, holiday exclusions, and the Doomsday Rule with a step-by-step proof for your start date.

What You Get

Duration or Add/Subtract

Duration Between: day count between two dates, with optional inclusive end and holiday exclusions. Add/Subtract: step N business days from a date, skipping weekends and holidays.

Holidays

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

Doomsday proof

The Information Hub includes a Doomsday Rule tile and a step-by-step proof for the selected start date, century anchor, year formula, and 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.

What This Calculator Does

This day counter calculator counts days between two dates or adds and subtracts business days from a starting date. It is built for project managers tracking deadlines, HR professionals counting notice periods, legal teams calculating filing dates, and anyone who needs to know how many working days remain before a target date. The tool outputs total calendar days, weekday count, weekend count, and excluded holidays in a detailed breakdown. In add/subtract mode, it steps forward or backward by a specified number of business days, skipping weekends and observed holidays from the US, UK, Canada, or a custom list. It does not track hours or minutes, and it does not model partial days. The Doomsday Algorithm proof in the Information Hub shows the weekday math behind any date. When your endpoints are two birthdays and you want an age-style breakdown instead of a raw day count, pair this tool with the Age Difference Calculator for years, months, and days between those births.

How the Math Works

Total days are calculated from the millisecond difference between two dates, divided by 86,400,000 (the number of milliseconds in a day). The inclusive or exclusive toggle determines whether the end date itself is counted. Weekday and weekend totals use a constant-time formula based on the starting day of the week and the total spanโ€”no per-day loop is needed, so results are instant even for wide ranges. Business-day stepping in add/subtract mode walks forward or backward through weekdays only, checking each candidate date against the holiday exclusion list. Holiday lists are generated dynamically for US Federal, UK (England and Wales), and Canada Federal calendars, or you can supply custom dates in YYYY-MM-DD format. The Doomsday Algorithm verifies the weekday of any date using modular arithmetic and a century anchor.

How Many Days Between Two Dates?

Total days come from the millisecond difference between the two dates (inclusive or exclusive end). Weekday and weekend counts use a constant-time formula from the start date's day-of-week. The calculator's Information Hub above explains Duration mode, Add/Subtract mode, and holiday exclusions in one place.

Business Days vs Calendar Days

Calendar days include every day, useful for lease terms, visa validity, or "X days from today." Business days exclude weekends and optionally holidays, the norm for project timelines and notice periods. Use Duration Between for the full breakdown; use Add/Subtract with "Count Business Days Only" to step through weekdays only. The Information Hub above summarizes how each mode works.

The Doomsday Rule

The Doomsday Algorithm finds the weekday of any date using a century anchor and a short formula on the year. The calculator's Information Hub includes a Doomsday Rule tile with the formula and a Doomsday Proof tile that runs through the steps for your selected 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 (from Settings). Total days and weekday counts use efficient formulas, no per-day loop, so results are instant. See the Information Hub in the calculator for how each mode works.

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 using a century anchor and a formula on the year's last two digits. The calculator's Information Hub has a Doomsday Rule tile (formula) and a Doomsday Proof tile that 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: May 2026Free Online Utility Tools