The Days Between Dates Calculator counts the calendar days separating two dates. It is the quick answer for questions like how long until a trip, how many days a lease or warranty has run, or how many days late a payment is. Date order does not matter: the answer is always a positive number of days.
How to use the Days Between Dates calculator
- Choose the earlier date in Start date and the later date in End date. If you swap them, the result is the same.
- Read the number of days. This is elapsed days, so the start date is not counted but the end date is.
- Add 1 to the result if your rule counts both the first and the last day.
How the days between dates calculation works
Elapsed days versus inclusive days
The calculator subtracts one date from the other, which gives elapsed days. From Monday to Tuesday is 1 day. This is the convention for interest periods, age in days and 'days since' counts.
Some situations count every date touched instead. A festival from 10 June to 12 June runs for 3 days even though only 2 days elapse. When a rule says 'inclusive' or 'including the first and last day', add 1. When it says 'within 30 days of' a date, read the specific rule, because legal and contractual deadlines may skip the first day, extend weekend deadlines, or use business days.
Leap years and month lengths are handled for you
Both dates are converted to calendar days in UTC, so time zones and daylight saving changes cannot add or lose a day. Leap days are included where they fall: from 28 February 2024 to 1 March 2024 is 2 days because 2024 had a 29 February. Under the Gregorian rule, 2100 will not be a leap year, and the calculator follows that too.
The result is calendar days, not working days. Use the Weekday Counter if you need Monday-to-Friday days only.
Worked example
Start date: 2026-11-20 · End date: 2027-03-15
- Rest of November after the 20th: 30 − 20 = 10 days.
- December 31 + January 31 + February 28 (2027 is not a leap year) = 90 days.
- March up to the 15th: 15 days.
- Total: 10 + 90 + 15 = 115 days.
Result: 115 days
Assumptions and limits
Calendar dates without time zones; leap days are included.
Formula and worked examples last checked November 20, 2026. Spotted a problem? Report an error.
Frequently asked questions
How many days are there between two dates if I include both?
Add 1 to this calculator's result. From 1 March to 31 March is 30 elapsed days, or 31 days counting both ends. Inclusive counts are usual for event lengths, such as a festival or a hotel booking described by its dates.
How many days are in a year?
A common year has 365 days and a leap year has 366. Leap years are years divisible by 4, except century years not divisible by 400, so 2024 and 2028 have 366 days but 2100 will have 365.
How many weeks is 115 days?
Divide by 7: 115 ÷ 7 is 16 weeks with 3 days left over. The Date Difference Calculator shows this full-weeks breakdown automatically in its detail line.
Can I count days between dates in different years?
Yes. The dates can be centuries apart; any valid calendar date from year 0001 onward is accepted. Each year's correct length, including leap days, is used along the way.