Home › Tools

Date Difference Calculator

Find the exact number of days, weeks and months between any two dates.

How to use the Date Difference Calculator

  1. Select the First Date and Second Date — order does not matter, the tool sorts them automatically.
  2. Press Calculate Difference.
  3. Result: total days, approximate weeks, a years-months-days breakdown and approximate months.

How the counting works

The calculator uses real calendar arithmetic across leap years and uneven months — no 30-day approximations. The day count is the true elapsed days between the two dates; the years-months-days breakdown follows the same convention offices use for service periods.

Example: 1 January 2026 to 18 September 2026 is exactly 260 days — 8 months and 17 days.

What people use it for

Visa and stay limits: many visas count “days in country” — an exact day count keeps you compliant.

Contracts and notice periods: 30/60/90-day clauses, rental agreements, warranty windows and refund deadlines.

Personal: countdown to exams, weddings, EMI free dates, subscription renewals; anniversaries counted in days (the 1000-day milestone deserves cake).

Leap years and edge cases

Leap years add a day every four years (except century years not divisible by 400), which quietly shifts long-range counts. This calculator handles 29 February automatically.

If either date falls at the end of a month, the years-months-days breakdown follows the standard convention of borrowing from the previous month's actual length.

Frequently asked questions

Does the count include the start date?
The difference shown is the gap between the dates. If you need inclusive counting (both endpoints), add 1 to the result.
Does it count working days?
No — this counts all calendar days. Working-days mode is on the roadmap; meanwhile, weekdays ≈ days × 5/7.
What about leap years?
Handled automatically using the real calendar — 29 February exists when it should, and long spans come out exact.
Can I count a date in the past?
Yes — any two dates work, past or future. The tool always counts from the earlier one.
Is this date calculator free?
Yes — free, unlimited and completely private. Dates are processed in your browser only.

Related tools

You might also find these useful: