Date Difference Calculator — Days Between Two Dates

Pick any two dates and see exactly how many days, weeks, months and years lie between them — for deadlines, contracts, notice periods and countdowns.

How many days are left in a notice period? How long is a tenancy, a probation period, a visa window or a project deadline — exactly? Counting on a calendar is slow and leap years trip everyone up: February has 29 days in some years and 28 in others, and months alternate between 30 and 31 days.

This calculator counts the exact number of whole days between two dates using calendar arithmetic, then also expresses the gap in weeks, in total months, and as a calendar breakdown in years, months and days. The order of the two dates does not matter — the difference is the same either way.

How to use it

  1. Pick the first date (for example, today or a start date).
  2. Pick the second date (for example, a deadline or an end date).
  3. Press "Calculate difference".
  4. Read the gap in total days, weeks, months, or as years + months + days — whichever your document asks for.

Frequently asked questions

How are the days between two dates counted?

As whole days from the first date to the second: 1 January to 2 January is 1 day. This is the convention deadlines and contracts use — it counts the nights between the dates, not both endpoints.

Does it matter which date I enter first?

No. If you enter the later date first, the calculator swaps them and tells you — the difference is identical.

Are leap years counted correctly?

Yes. The count is done with exact calendar arithmetic, so a period that includes 29 February is one day longer than the same period in a non-leap year. Try 28 February to 1 March in 2024 (2 days) versus 2023 (1 day).

What does the years/months/days breakdown mean?

It is the same gap expressed the way an age is written: whole calendar years, then whole calendar months, then the remaining days. A gap of "1 year, 2 months and 5 days" added to the first date lands exactly on the second date.

Are my dates uploaded anywhere?

No. Everything is calculated in your browser on your device. Nothing is sent to a server or stored.