Days Between Dates Calculator
Calculate the number of days, weeks, months and years between two dates.
Total days
How we calculated it
About the Days Between Dates Calculator
Counting the days between two dates sounds straightforward until leap years or inclusive counting matter. This calculator measures the calendar interval and lets you keep the counting convention explicit for deadlines and planning.
The result can change depending on whether you count only the days between the dates or include one or both endpoints. Decide which interpretation matches the real deadline before using the number.
How to Use the Days Between Dates Calculator
- Enter the starting date and ending date exactly.
- Tick "Include both start and end dates" if both days should count, for example for a hotel stay or a leave period. Leave it unticked to get the plain difference, the end date minus the start date.
- Use calendar-day mode when weekends and holidays should count normally.
- Calculate the interval and keep the counting convention with the result if it will be used for a deadline or report.
How the Calculation Works
The calculator converts the dates into comparable calendar positions and subtracts the earlier date from the later date to determine elapsed days.
Inclusive counting adds the selected endpoint or endpoints after the basic difference is found. Leap years are handled by the actual calendar rather than by assuming every year has 365 days.
Worked examples
Days Between Dates Calculator Worked Examples
Days until a date
From 20 November 2026 to 25 December 2026 is 35 days.
Across a leap day
From 1 February 2028 to 1 March 2028 is 29 days, because 2028 is a leap year.
Notice period
A 30 day notice given on 15 January ends on 13 February, counting 15 January as day 1.
Days in each month
February has 29 days in leap years.
| Month | Days | Month | Days |
|---|---|---|---|
| January | 31 | July | 31 |
| February | 28 or 29 | August | 31 |
| March | 31 | September | 30 |
| April | 30 | October | 31 |
| May | 31 | November | 30 |
| June | 30 | December | 31 |
Inclusive or exclusive?
The standard count from 1 March to 10 March is 9 days, because it measures the time between the dates. If you are counting days on which something happens, such as a hotel stay or event, both ends may count, giving 10.
Contracts, visas and leave policies sometimes define the count. Check which one applies.
Leap years
A year is a leap year if it divides by 4, except century years, which must divide by 400. 2024 and 2028 are leap years; 2100 is not.
Common Mistakes
- Mixing inclusive and exclusive counts. Decide whether both end dates count before you start.
- Assuming 30 days a month. Real months have 28 to 31 days.
- Counting calendar days as business days. If weekends and holidays are excluded, use the Business Days Calculator.
Result guide
Understanding Your Days Between Dates Calculator Result
A day count is precise only when the counting rule is clear. Contractual, visa, insurance or legal deadlines may define inclusive counting differently from ordinary elapsed-time arithmetic.
Before you rely on the answer
Assumptions and Limitations
- The dates are valid Gregorian calendar dates.
- The start and end dates are interpreted in the same time zone when only dates are supplied.
- Weekend and holiday exclusions are not part of a plain calendar-day result.
Practical tip
Using This Result in Practice
For important deadlines, write the exact wording of the rule beside your calculation. Phrases such as “within 30 days,” “30 days after” and “30 calendar days including the date of service” can produce different end dates.
Related calculations
Useful Calculations to Continue With
If weekends or holidays should be excluded, use the Business Days Calculator instead of ordinary calendar days.
If you know the number of days and need the resulting date, use the Date Add or Subtract Calculator.
Common questions
Days Between Dates Calculator FAQ
How do I calculate the number of days between two dates?
Subtract the earlier date from the later one. The calculator handles month lengths and leap years.
Does the count include the start date?
The usual count does not. Turn on the inclusive option if both dates should count.
How many days are in a year?
365, or 366 in a leap year.
How many weeks are between two dates?
Divide the number of days by 7. 100 days is 14 weeks and 2 days.
How do I count only working days?
Use the Business Days Calculator, which excludes weekends and can exclude holidays.
