Date Difference Calculator – Days, Weeks, Months & Years

Free date difference calculator. Compute exact days, weeks, business days, months and years between two dates. Inclusive/exclusive modes, holidays, and clear step-by-step method.

Date range

Inclusive or exclusive?

Enter ISO dates separated by commas or new lines. Holidays are excluded from business-day counts.

How to Use This Calculator

  1. Enter the start date using the calendar picker.
  2. Enter the end date that is on or after the start date.
  3. Choose inclusive (counts start and end) or exclusive (counts the days between).
  4. Optionally paste holiday dates (ISO format) to exclude them from business-day totals.
  5. Click Calculate or wait for the live update to see days, weeks, business days, and the years-months-days breakdown.

Methodology

We compute the calendar delta in accordance with the proleptic Gregorian calendar. The exclusive mode measures the whole days between the dates while the inclusive mode adds one day so that both start and end appear on the tally. Business days skip Saturdays and Sundays and also remove any user-listed holidays. Weeks are the integer division of total days by seven, and the remainder captures the leftover days.

Results are estimates based on the core date difference logic. They respect leap years, variable month lengths, and listed holidays without assuming a time zone beyond UTC so the calculators stay deterministic across devices.

Full original guide (expanded)

Why this calculator

  • Accurate leap-year and month-length handling following ISO 8601.
  • Business days with optional holiday exclusions.
  • Accessible, mobile-first, and print-friendly experience.

Related tools

Formulas

Formula (extracted LaTeX)

d_1 + (y\,\text{years}) + (m\,\text{months}) + (\delta\,\text{days}) = d_2

Formula (extracted LaTeX)

\textbf{BusinessDays} = |\{ d\in[d_1,d_2] : d\notin H,\; \text{weekday}(d)\in\{\text{Mon..Fri}\}\}|.

Formula (extracted text)

TotalDays = d_2 - d_1 + 𝟙_{inclusive}; Weeks = floor(TotalDays / 7); Calendar breakdown advances years, then months, then days while respecting month lengths and leap years per Gregorian rules.

Citations

ISO 8601 standard — iso.org · Accessed 2026-01-19
https://www.iso.org/standard/70907.html

Home — calcdomain.com · Accessed 2026-01-19
https://calcdomain.com/

Everyday Life — calcdomain.com · Accessed 2026-01-19
https://calcdomain.com/lifestyle-everyday

Time and Date — calcdomain.com · Accessed 2026-01-19
https://calcdomain.com/subcategories/time-date

RFC 3339 — rfc-editor.org · Accessed 2026-01-19
https://www.rfc-editor.org/rfc/rfc3339

Time Duration Calculator — calcdomain.com · Accessed 2026-01-19
https://calcdomain.com/time-duration-calculator

Workdays Calculator — calcdomain.com · Accessed 2026-01-19
https://calcdomain.com/workdays-calculator

Age Calculator — calcdomain.com · Accessed 2026-01-19
https://calcdomain.com/age-calculator

Changelog

0.1.0-draft · 2026-01-19

  • Initial audit spec draft generated from HTML extraction (review required).
  • Verify formulas match the calculator engine and convert any text-only formulas to LaTeX.
  • Confirm sources are authoritative and relevant to the calculator methodology.
Version 0.1.0-draft Verified by Ugo Candido Last updated 2026-01-19
Version 1.5.0