How to count days between two dates
This calculator measures the calendar-day difference between your start and end dates, handling month lengths and leap years automatically.
Choose whether to include the end date based on your use case (for example, “Jan 1–Jan 1” is 0 days normally, or 1 day when the end date is included).
Include or exclude the end date
Some scenarios count the last day as part of the total duration (bookings, rentals, legal notice periods). If that applies, enable Include end date.
Common use cases
- Project timelines: measure duration between milestones.
- Legal/contract periods: compute exact notice windows.
- Travel planning: count days between departure and return.
- Personal events: days between birthdays or anniversaries.
Examples
- Jan 1 → Jan 31: 30 days (31 if the end date is included).
- Mar 1 → Apr 1: 31 days.
- Feb 28 → Mar 1 (leap year): 2 days if the end date is included.
Frequently Asked Questions
Is this days between dates calculator accurate?
Yes. It accounts for leap years, month lengths, and standard calendar rules to provide precise results.
What does “include end date” mean?
It adds 1 day to the result, counting the last day as part of the range.
Can I calculate dates across multiple years?
Yes. The calculator works across months and years, including leap years.
Is this tool free to use?
Yes. The calculator is completely free and runs directly in your browser.
Related Days Between Dates Tools
Need a more specific day count? Try one of these focused tools:
Days Between Dates (Inclusive)
Toggle include start and/or include end for bookings, vacations, and contract periods.
Exclude Weekends
Count weekdays only by excluding Saturday/Sunday. Includes weekend-days removed + breakdown.
With Time (Exact Duration)
Use date + time inputs to get an exact duration: days (24h chunks) + HH:MM:SS remainder.