Date Calculator

Days between dates, add or subtract days, and count down to an event — with optional business-day & holiday handling.

The earlier endpoint. Defaults to today.

The second endpoint. Pick a date to compute.

Choose "business days" to skip weekends (and any holidays you enter).

Headline uses this; both values are always shown.

Result

Date Calculator — guide & how to use

Calendar dates, not timestamps. This tool counts calendar dates — time-of-day, hours, and time zones are ignored, and "days between" means a count of date boundaries, not 24-hour periods. All math runs on UTC-midnight day serials specifically to avoid the Daylight Saving off-by-one errors that happen when you subtract two local-time dates across a clock change. The Gregorian calendar is assumed (results before its 1582/1583 adoption are not historically accurate). Everything is calculated in your browser — no dates are sent anywhere — and "today" is read from your device clock, so a wrong system clock yields a wrong "today".

Three modes, one tool

Worked example

What date is 90 days after June 9, 2026? In Add / subtract mode with amount 90, unit days, direction After:

A difference example: from 2024-01-15 to 2026-03-29 the calendar breakdown is 2 years, 2 months, 14 days, while the total is 804 days exclusive (805 inclusive).

How to use it

  1. Pick a mode at the top. The inputs change to match it.
  2. Choose your dates with the native date pickers (a 4-digit year avoids 26-vs-2026 ambiguity).
  3. In Add / subtract mode, set the amount, unit, and direction.
  4. Set the day-counting basis — all calendar days, or business days (Mon–Fri).
  5. For business days, open Advanced to change the weekend definition or paste holidays to exclude.
  6. Read the headline plus the full breakdown, then Copy result or Copy share link.

How the math works

Every date is converted to an integer day serial via Date.UTC(y, m-1, d) / 86400000. Calendar days between two dates is simple integer subtraction of serials, so it is exact and DST-proof. The exclusive count (Excel DAYS convention) does not count the end date; the inclusive count adds 1. The years/months/days breakdown uses the DATEDIF borrow method on real calendar dates, so leap years and unequal month lengths are handled exactly. Adding months/years clamps the day-of-month to the end of the target month (Jan 31 + 1 month → Feb 28/29), and business-day counting follows NETWORKDAYS: both endpoints count when they are workdays, weekends and weekday-holidays are skipped.

Accuracy notes & assumptions

Common mistakes this tool prevents

How to embed this tool on your website

No account, no coding. Copy the embed code and paste it where you want it to appear:

<iframe src="https://snaptoolsuite.com/date-calculator/?embed=1"
  style="width:100%;max-width:560px;height:760px;border:0;"
  title="Date Calculator" loading="lazy"></iframe>
<p>Free <a href="https://snaptoolsuite.com/date-calculator/">Date Calculator</a> by Snap Tool Suite</p>
2 Paste it on your page
3 It just works

See it live: view a real embed example →

Frequently asked questions

How do I calculate the number of days between two dates?

Pick a start and end date; the tool subtracts the serials. By default it counts exclusively (end date not counted, matching Excel DAYS and timeanddate.com) and always shows the inclusive value too — inclusive = exclusive + 1.

What date is 90 days from today?

Use Add / subtract mode, leave the base on today, set amount 90, unit days, direction After. You get the exact date and the weekday it lands on. You can also add weeks, months, years, or count only business days.

How many business days are between two dates?

Set the basis to Business days only. The tool follows NETWORKDAYS: it counts both endpoints when they are workdays, skips weekends (or your custom weekend set), and subtracts weekday holidays you enter.

Does it count the start date, the end date, or both?

For days-between it shows both: exclusive (default, end not counted) and inclusive (both counted). They differ by exactly one, so you can pick whichever your situation needs.

What happens when I add a month to January 31?

It clamps to the last valid day of February (28, or 29 in a leap year), not March 3, and tells you it rolled to month end — avoiding the JavaScript date-overflow bug.

Does it handle leap years and uneven months?

Yes — the years/months/days breakdown uses real calendar arithmetic (DATEDIF borrow method), so leap years and 28–31 day months are exact. The approximate months/years are labeled estimates.

Is it free and private?

Yes. 100% free, and everything runs in your browser — no dates leave your device.

Related tools

Add this calculator to your site

Free to embed on any website, blog, or client portal. One line of HTML — no account, no code, no cost.

<iframe src="https://snaptoolsuite.com/date-calculator/?embed=1"
  style="width:100%;max-width:560px;height:760px;border:0;"
  title="Date Calculator" loading="lazy"></iframe>
2 Paste it on your page
3 It just works

Everything is calculated in your browser. We don't store or sell your data.