Date Difference Calculator
Calculate the number of days, weeks or months between two dates.
Something not working, or a feature missing?Report a problem or suggest a tool
How to Use
- 1Enter a start date and an end date.
- 2View the difference in days, weeks, months and years.
- 3Copy the result.
Features
- Difference in days, weeks, months, years
- Handles past and future dates
- Copy result
Example
Input
Jan 1, 2026 to Dec 31, 2026
Output
364 days
Find the exact difference between two dates in days, weeks, months and years, instantly in your browser.
How many days between two dates?
Pick a start and an end date and the calculator shows the gap in days, weeks, months and years. The dates can be in either order, and the difference is always shown as a positive number, so it works for counting down to a future event or back to a past one.
Common uses
- Days until a deadline, exam, trip, wedding or due date.
- Length of a contract, notice period, lease or probation.
- Days of interest for a loan or deposit.
- How long ago something happened.
- Checking visa stays and the number of days spent in a country.
Inclusive or exclusive?
The calculator counts the number of days from the start date to the end date, so 1 January to 2 January is 1 day. Some situations count both the first and last day, for example a hotel booking from the 1st to the 5th covers five dates but four nights, and a leave request from Monday to Friday covers five days. If your situation counts both ends, add one to the result.
| From | To | Days |
|---|---|---|
| 1 Jan 2026 | 31 Dec 2026 | 364 |
| 1 Jan 2026 | 1 Jan 2027 | 365 |
| 1 Jan 2028 | 1 Jan 2029 | 366 (leap year) |
Months and years are counted as whole calendar months and years between the dates. Because months vary in length, “1 month” can mean anything from 28 to 31 days; the day count is always exact.
Counting working days? Subtract weekends: roughly 5/7 of the total, then remove any public holidays in the range.

