Calculators · Free browser tool

Date Difference Calculator

Measure the exact calendar years, months, weeks and days between two dates, decide whether the last day counts as a whole day, and add or subtract days, weeks, months or years from a date. Counting working days across weekends and holidays is a separate tool.

Count calendar days between dates

Results update as you enter values.

Local processing

Loading calculator controls…

Holiday exclusions

Only unique weekdays within the selected interval are excluded.

YOUR RESULT

Enter the required values to see your result.

Processed on your device. Tool inputs are not uploaded or saved by QUICKKIT.

FORMULAS & EXAMPLES

Date difference & inclusive-counting rules

By default the interval counts [Start, End) — the same convention used for hotel nights and elapsed days — while ticking Include end date adds +1 day to cover both boundary dates.

Interval & date-shift equations

  • Calendar day span: Days = (End − Start) ÷ 86,400,000 ms + (Inclusive ? 1 : 0) — Weeks = Days ÷ 7
  • Monday–Friday business days: ⌊Days ÷ 7⌋ × 5 + weekday remainder − unique weekday holidays in span — Mon–Fri only; for a six-day week, a Fri–Sat weekend or a holiday calendar, use the Working Days Calculator
  • Calendar month / year shift: shiftCalendar(Start, ±N, unit) clamps day to month end — e.g. Jan 31 + 1 month = Feb 28 (or Feb 29 in leap years)

Worked date-span examples

  • 2026-03-01 to 2026-03-31 (end excluded, 1 weekday holiday 2026-03-04): 30 calendar days · 21 weekdays − 1 holiday → 0 years, 0 months, 30 days · 20 business days
  • 2026-03-01 to 2026-03-31 (Include end date checked): Full March calendar month (31 days) → 0 years, 1 month, 0 days · 22 business days
  • Add 1 calendar month to 2026-01-31: 2026 is a common year, so February has 28 days → 2026-02-28

Counting working days across a six-day week, a Friday–Saturday weekend or a holiday calendar? Use the Working Days Calculator, which takes the weekend pattern and holidays as inputs.

A quick walkthrough

How to use the Date Difference Calculator

  1. Pick a Start date and End date (End date on or after Start date) to calculate years, months, days, weeks and Monday–Friday business days.
  2. Tick Include end date when both the first and last calendar dates count as full days (for example leave requests or billing periods).
  3. Open Holiday exclusions and paste comma- or line-separated YYYY-MM-DD holiday dates to deduct weekday holidays from the business-day total.
  4. Enter a positive or negative whole number under Add or subtract duration to shift the start date by days, weeks, calendar months or years.
Good to know

Date Difference Calculator FAQs

Should I leave Include end date unchecked or checked?

Leave it unchecked when measuring elapsed time or nights between dates (2026-03-01 to 2026-03-02 = 1 day). Check Include end date when counting inclusive calendar days such as vacation allowances, notice periods or full-month spans (2026-03-01 to 2026-03-31 inclusive = 31 days).

Are public holidays automatically excluded from business days?

No country holiday calendar is preloaded because public holidays vary by state, employer and year. Business days exclude Saturdays and Sundays automatically, and you can paste any YYYY-MM-DD holiday dates under Holiday exclusions — duplicate dates or holidays falling on a weekend are ignored safely so they never double-deduct.

What happens when I add 1 calendar month to the 31st of a month?

Calendar month and year shifts preserve the day number when possible and clamp to the final valid day of shorter target months. Adding 1 month to 2026-01-31 yields 2026-02-28 (or 2028-02-29 in a leap year).

What date range does the calculator support?

Proleptic Gregorian calendar dates from 0001-01-01 through 9999-12-31, with day shifts up to ±3,650,000 days as long as the resulting date stays within years 0001–9999.

COMPARISON

Date Difference Calculator: how it compares, and when to use something else

Measure the exact calendar years, months, weeks and days between two dates, decide whether the last day counts as a whole day, and add or subtract days, weeks, months or years from a date. Counting working days across weekends and holidays is a separate tool. Here is how Date Difference Calculator compares with a spreadsheet model or statutory record, and where a fuller modelling tool is the better choice.

This tool on QUICKKIT compared with A spreadsheet model or statutory record

Verified behaviour of this tool against the alternative approach a searcher is usually weighing it against.
What mattersThis tool on QUICKKITA spreadsheet model or statutory record
Where your data is processedIn this browser tab. Your input is read, processed and exported on your own device, no copy is created on a QUICKKIT server, and closing the page clears it. There is therefore no retained file, no server-side queue and no deletion window to take on trust.Uploaded to the provider's infrastructure, processed there and returned. Retention and deletion are policy statements that cannot be verified from outside, however sincere they are.
Cost, signup and quotasFree in the browser with no account, no trial gate and no watermark; limits come from tab memory and documented scope rather than a paid quota.Often gated behind account registration, usage quotas or paid team seats once you export, save history or run recurring workflows.
Interval & date-shift equationsApplies published closed-form equations directly in your tab — including Calendar day span (Days = (End − Start) ÷ 86,400,000 ms + (Inclusive ? 1 : 0)); Monday–Friday business days (⌊Days ÷ 7⌋ × 5 + weekday remainder − unique weekday holidays in span); Calendar month / year shift (shiftCalendar(Start, ±N, unit) clamps day to month end) — and prints 3 worked verification scenarios on the page.Custom spreadsheets let you run bulk columns of rows, link cells across tabs and retain versioned sheets.
Input validation and calendar day spanBy default the interval counts [Start, End) — the same convention used for hotel nights and elapsed days — while ticking Include end date adds +1 day to cover both boundary dates. Key relation: Days = (End − Start) ÷ 86,400,000 ms + (Inclusive ? 1 : 0), paired with monday–friday business days (⌊Days ÷ 7⌋ × 5 + weekday remainder − unique weekday holidays in span).General-purpose calculators and raw spreadsheet cells accept mistyped ranges silently unless you author your own validation formulas.

When something else is the better choice

  • Running date difference calculator across hundreds of rows or linking outputs into a saved report Use a spreadsheet workbook or Python script so every input row and formula audit trail is saved in one file.
  • Bulk computation across a CSV or roster of hundreds of dates, scores or measurements Use a spreadsheet column formula or database query so the dataset stays repeatable.
  • Jurisdiction-specific holiday calendars, leap-second timestamps or clinical assessment Use an official statutory calendar library or consult a qualified clinician.

Open Date Difference Calculator on QUICKKIT when you want an instant, transparent calculation using calendar day span with zero signup or data upload; move to a spreadsheet model or statutory record when you need multi-row batch sheets, saved audit trails or regulated sign-off.