Date Difference Calculator

Choose a start and end date to see the duration in every unit.

What’s wrong?

Add this calculator to your website or blog

Copy this code and paste it into your page (in the HTML editor). Free, and it adjusts its height automatically.

How it is calculated

We count whole years, then whole months, then the remaining days. Total days is a direct subtraction:

Days = end − start (+1 if the end day is included)

Leap years and different month lengths are handled.

Worked example

From 1 January 2026 to 21 October 2026: 293 days — 9 months 20 days, or 41 weeks 6 days.

Frequently asked questions

Are the start and end days counted?
By default the end day is excluded. Turn on the option to include it (useful for leave and contracts).
Hijri dates?
Convert both dates with the date converter first, or see the Hijri difference shown in the result.
How many weeks in a year?
52 weeks and 1 day (2 days in a leap year).

Popular searches

  • date difference calculator
  • days between dates
  • how many days until
  • date duration
  • time between two dates