Skip to content
100% in your browser. Nothing you paste is uploaded — all processing runs locally. Read more →

Date Calculator

Three modes in one calculator: how many days between two dates, what date is X days from a given date, and a live ticking countdown to any future date. The URL hash is your save state.

Start date
End date
Days to add (negative = subtract)
Target
Days between
Weeks + days
Months
Years

What this calculator does

Why "days between" is harder than it looks

Many calculators get the basic count right but mess up the human-readable breakdown. The questions the math has to answer:

Common use cases

Sharing a scenario

Every input is encoded in the URL hash. Bookmark a countdown URL and the calculator state restores when you visit. Share it with a colleague and they see your exact two dates without retyping.

What this calculator does not do

For developers

The math is the standard JS Date API run in UTC midnight to avoid DST drift. If you need this logic in code: new Date(Date.UTC(y, m-1, d)) for both endpoints, then (b - a) / 86_400_000. Read more about the gotchas in our five timestamp formats that bite post.

FAQ

Is anything I enter sent to a server?

No. All math is in your browser — open DevTools → Network and confirm. The URL hash carries the inputs but never leaves your machine.

How is 'business days' calculated?

Monday through Friday only — weekends excluded. The count is start-date inclusive and end-date exclusive (Mon → next Mon = 5 business days). Tick also skip US federal holidays to exclude US holidays as well; other countries' holidays aren't included, so subtract those manually.

Which holidays does 'skip US federal holidays' exclude?

The 11 US federal holidays, computed by rule for any year: New Year's Day, MLK Day (3rd Mon Jan), Washington's Birthday (3rd Mon Feb), Memorial Day (last Mon May), Juneteenth (Jun 19), Independence Day (Jul 4), Labor Day (1st Mon Sep), Columbus Day (2nd Mon Oct), Veterans Day (Nov 11), Thanksgiving (4th Thu Nov), and Christmas (Dec 25). Fixed-date holidays follow the federal observed rule: if the date lands on a Saturday the Friday before is excluded, on a Sunday the Monday after. So July 4, 2026 (a Saturday) excludes Friday July 3. State holidays and stock-market-only closures are not included.

What date is 30 business days from today?

Use Add / subtract days mode, switch the unit to Business days, and enter 30 (the +30 preset works too). The calculator steps day by day, skipping Saturdays and Sundays — and US federal holidays if that box is ticked. The start date itself isn't counted, and negative numbers walk backwards (−10 business days = 10 working days earlier).

Why does the live countdown say a date is 'past'?

If the target date is in the past, the countdown shows the elapsed time since it. Useful for anniversaries, project anniversaries, or 'days since last incident'-style counters.

What's the 'Include the end date' option for?

If you check it, the count is inclusive — it counts both the start and end dates. Inclusive counts are common when computing service days, vacation balances, or rental periods. Default is exclusive (end - start), which is the right answer for 'how many days from now until X'.

Does this handle leap years and DST?

Yes. All math is done in UTC at midnight, so daylight saving transitions don't sneak in. Leap years are accounted for in the day-count and the month/year breakdown.