Date & Time
Date Difference Calculator
Find the exact duration between two dates in days, weeks, months, and years — with leap years and month lengths handled correctly.
Leap years and month lengths are handled by a real calendar engine — no 30-day approximations. Runs locally.
Calendar Arithmetic Done Honestly
Date differences are harder than they look because months have unequal lengths and February changes size. This calculator computes in UTC with real calendar rules, so the difference between 2026-02-01 and 2026-03-01 is reported in exact months and days, not a fixed 30-day approximation that drifts over long spans.
Leap years follow the full Gregorian rule — divisible by 4, except centuries, which must be divisible by 400 — so spans crossing 2000 or 2100 stay correct. Business-day mode additionally skips weekends (with holiday exclusion where configured), which is the number a contract deadline or SLA actually needs.
How the Dates Are Calculated
- Pick the start and end dates with the date inputs.
- The tool reports total days, plus a broken-down calendar duration in years, months, and days.
- Weeks and remaining days are shown for planning purposes.
- A leap-year-aware calendar engine performs all month-length arithmetic — no approximations.
Worked Example
Common Questions
Is the end date included in the count?
The count is exclusive of the end date by default (2026-01-01 → 2026-01-02 is 1 day). The inclusive total is also shown.
How far back can dates go?
Any date the browser date input supports (year 1 to 275760 in practice), including historical dates before the Gregorian switch — note pre-1582 results use proleptic Gregorian rules.
Related Date & Time
Age Calculator
Compute exact age in years, months, and days from a birth date — plus total days lived and a countdown to the next birthday.
Business Days Calculator
Count working days between two dates, or find the date N business days from today — with configurable weekends and holiday exclusion.
Add or Subtract Days from Date
Add or subtract days, weeks, months, or years from any date — with correct end-of-month clamping (Jan 31 + 1 month = Feb 28/29).