Days Between Dates
Find out how many days there are between two dates — with the answer in weeks and as a calendar breakdown of years, months and days.
How the calculation works
The calculator subtracts the earlier date from the later date and counts whole calendar days. The answer does not include the start day itself: from 1 January to 2 January is 1 day, and from 1 January to 1 January is 0 days.
Leap years are included automatically. If the range covers 29 February of a leap year, that day is counted. Dates are treated as whole calendar days, so the result is the same whatever your time zone is.
As well as the total number of days, the calculator shows the same span in weeks (with leftover days) and as a calendar breakdown — whole years, then whole months, then days — so you can read the answer in the form that makes sense for you.
Worked example
From 1 January 2026 to 31 December 2026 there are 364 days — exactly 52 weeks. As a calendar breakdown, that is 11 months and 30 days. 2026 is not a leap year, so February has 28 days and the year has 365 days in total; the count from the first day of the year to the last day is one less than that, 364.
Frequently asked questions
Does the count include the start date?
No. The count measures the gap between the two dates. From Monday to Tuesday is 1 day. If you need to count both end days — for example, a holiday from 1 June to 7 June inclusive — add 1 to the answer.
What if the end date is before the start date?
The calculator swaps the dates and gives the same number of days, with a note that the dates were swapped. The distance between two dates is the same in either direction.
How are leap years handled?
Leap days are counted exactly. A range that includes 29 February gets one extra day compared with the same range in a non-leap year.
How many days are in a year?
A common year has 365 days and a leap year has 366 days. A leap year happens every 4 years, except century years, which are leap years only when divisible by 400. So 2024 was a leap year, 2023 was not, and 2000 was a leap year.
Does the time of day matter?
No. This calculator works with whole calendar days only. It does not ask for times, so a result of 1 day means one full calendar day, whatever time of day you check.
Related tools
- Age Calculator — how old are you, in years, months and days?
- Days Until — Countdown — count down to a future date.
- Add or Subtract Days — what date is N days from now?
- Day of the Week — find the weekday of any date.