Free Online Date Calculator - Days Between Dates
Find the exact difference between two dates in seconds with clear results for days, weeks, months, and years.
1 month
Alternative time units
31 days can be converted to one of these units:
- 2,678,400seconds
- 44,640minutes
- 744hours
- 31days
- 4 weeks and 3 days
How this result is calculated
This calculator measures the total calendar time between the selected start and end dates. It includes all calendar days unless you choose to include or exclude the end date.
- Total calendar days31
- Total weeks and days4 weeks and 3 days
- Total hours744 hours
- Final date difference31 days
The monthly calendar below highlights all calendar days in the selected date range. Use it to verify your date span visually.
Monthly Calendar
May 2026
13 highlighted days
June 2026
19 highlighted days
How it Works
Enter a start date and end date above to calculate the exact time span between them. The result shows total days along with weeks, hours, minutes, and seconds for full precision.
Toggle "Include End Date" to count the end date itself as part of the range. Enable "Add Time Fields" to factor in specific hours, minutes, and seconds for sub-day precision.
Examples
Jan 1 to Jan 31, 2026
30 calendar days (31 if end date is included).
April 1 to June 30, 2026
90 calendar days covering three full months.
Dec 31, 2025 to Jan 1, 2026
1 calendar day — useful for year-end deadline checks.
Common Date Calculations
- Days between two dates
- Weeks and days between two dates
- Hours between two dates
When to Use This Calculator
- Project timelines and milestone tracking
- Contract and subscription durations
- Age verification and expiry checks
FAQ
How do I calculate days between two dates?
Enter your start date and end date above and the calculator instantly shows the total number of calendar days between them.
What does "Include End Date" mean?
When enabled, the end date itself is counted as a full day in the total. For example, from Jan 1 to Jan 3 gives 2 days by default, or 3 days with end date included.
Can I calculate hours and minutes too?
Yes — click "Add Time Fields" to specify exact hours, minutes, and seconds on both the start and end dates for a precise sub-day duration.
Does this calculator include weekends?
Yes, this Date Calculator counts all calendar days including weekends and holidays. Use the Business Days Calculator if you need to exclude weekends and public holidays.
Other Tools
Explore moreRelated Date Calculators
OverviewAbout This Date Calculator
About This Date Calculator
This date calculator is focused on one clear task: calculate days between two dates quickly and accurately.
Enter a start date and end date to get the exact date difference with optional end-date inclusion and time precision.
How to use it
Select a start date and an end date, then review the result card for the exact day span immediately.
Turn on include-end-date only when your policy counts both boundary dates in the total.
Use optional time fields when you need hour, minute, and second precision for same-day or timestamp comparisons.
Features
Everything on this page is designed to keep date-difference calculations fast, accurate, and easy to verify.
- Exact date difference:Get the gap between two dates in days, weeks, months, and years.
- Inclusive counting option:Enable include-end-date when your policy requires counting the final day.
- Optional time fields:Compare timestamps with hour, minute, and second precision when needed.
- Calendar-aware logic:Leap years and month transitions are handled automatically.
Examples
Sample date ranges for common day-difference checks.
Month-end range
- Input
- Start: 01 Jan 2024 End: 31 Jan 2024
- Output
- 30 days
Useful for monthly interval checks.
Leap-year crossing
- Input
- Start: 01 Jun 2023 End: 01 Jun 2024
- Output
- 366 days
Includes February 29 in a leap year.
Short date span
- Input
- Start: 14 Feb 2024 End: 01 Mar 2024
- Output
- 16 days
Good for short-range validation.
Cross-month interval
- Input
- Start: 20 Nov 2024 End: 05 Dec 2024
- Output
- 15 days
Shows a clean two-date timeline.
Use Cases
Use this calculator when you need a reliable answer to how many days between two dates.
- Deadline planning:Measure the exact days remaining to a target date.
- Travel and leave duration:Calculate trip or leave length between departure and return dates.
- Project and billing windows:Check elapsed days across milestones and service periods.
- Compliance and waiting periods:Verify if a required number of days has passed between events.
Frequently Asked Questions
How many days between two dates?
Enter a start date and end date to get the exact number of days instantly.
Can I calculate date difference in days with inclusive counting?
Yes. Enable the include-end-date option to count the final day in the total.
Does the day count stay accurate across leap years?
Yes. The calculation follows calendar rules, including leap years and February 29.
Can I compare same-day timestamps as well?
Yes. Optional time fields let you compare hour, minute, and second differences when needed.
Should I use this page for weekday-only counting?
For weekday-only or holiday-aware calculations, use the Business Days or Workdays tools instead.
Trust and privacyPrivacy notes and browser-first processing
Core calculations run in your browser. Holiday-aware results only fetch third-party holiday data when you use the Workdays tool. Privacy Policy and Disclaimer explain the data usage clearly.