What is a date difference calculator?
A date difference calculator counts the calendar days between two dates. It is useful for planning trips, tracking project durations, checking a waiting period, counting days until an event or understanding the length of a date range. Enter a start date and an end date to see the number of days between them, the same span in weeks and days, and an inclusive-day total.
This tool runs fully in your browser. The dates you enter are not uploaded, stored or shared. It treats the inputs as calendar dates rather than times of day, which keeps the result focused on the day count and avoids daylight-saving clock changes changing the calculation.
How to use the date difference calculator
- Select the first day of your period as the start date.
- Select the final day as the end date.
- Read the main day count between the dates.
- Check the inclusive-day total when both the start and end dates should count.
- Use the weeks-and-days result as a quick alternative view of the same span.
For example, from January 1 to January 31 there are 30 days between the dates. If you count January 1 and January 31 as part of the period, there are 31 inclusive days. The difference is one day because the standard day count measures the gap from the start date to the end date rather than counting both endpoints.
How the date calculation works
The calculator represents each date at midnight in UTC and subtracts the start date from the end date. It divides that fixed calendar-time difference by 24 hours to find the number of whole days. It then divides the day count by seven to show complete weeks and any remaining days.
The inclusive total adds one to the number of days between the dates. This is often appropriate for booking periods, event runs or any range where the first and final calendar days are both included. It is not always the right choice: if you are measuring elapsed time from one midnight to another, use the main day count instead.
Why clarify inclusive versus exclusive days?
Different organizations describe date ranges differently. A hotel stay, work schedule, legal notice or countdown may count the first day, last day, both or neither depending on the context. Showing both totals makes the assumption visible. This calculator is a general planning tool, not legal or contractual advice. For deadlines, eligibility rules or regulated periods, follow the exact wording and official guidance that applies to your situation.