Date Difference Calculator
How many days pass between two dates? Choose elapsed days to measure the interval, or include both dates to count every date on a schedule. The calculator also shows the selected count as decimal weeks.
Jump to calculatorFree to use. Inputs stay in your browser and are not saved or sent anywhere.
Calculate with your figures
Choose Gregorian calendar dates from 1 January 1000 through 31 December 9999. Enter an end date on or after the start date, then choose a counting rule. Your browser may display dates in a local format.
The calculator fields are loading. Wait here or read the worked example below.The calculator fields are ready. Press Tab to enter your values. Read the worked example
Formula and method
For elapsed days, count the calendar day boundaries from the start date to the end date. The difference between consecutive dates is one day.
To count every date from start through end, add one to the elapsed days. Divide the chosen day count by seven to get decimal weeks. The ≈ mark indicates a rounded result.
Worked example
Suppose you are planning a room booking from 1 January 2026 to 8 January 2026. If you need the number of days that pass, choose elapsed days. The result is 7 days, or 1 week. Restore example returns to these inputs and this counting rule.
If the room is used on every date from 1 January through 8 January, choose Include both dates. You get 8 dates, or about 1.142857 weeks. Use the exact day count for a list or schedule.
Check a range that crosses February
From 28 February 2024 to 1 March 2024, 2 days pass. Counting both endpoints gives 3 dates because 2024 includes 29 February.
From 28 February 2100 to 1 March 2100, 1 day passes. Counting both endpoints gives 2 dates because 2100 is a century year that is not divisible by 400.
To calculate the length of a shift from clock times and a break, use the Working Hours Calculator.
Assumptions and limits
- This tool applies today’s Gregorian calendar rules across the full range, including years before their local adoption. For example, it counts 11 elapsed days from 4 October 1582 to 15 October 1582. The calculation uses dates without times of day, time zones or daylight-saving changes.
- Both counting rules include weekends and holidays. Use the governing rules separately when a business or legal deadline depends on working days or on which dates are included.
Understand your result
What happens when the dates match?
The elapsed interval is 0 days. Including both endpoints counts that one calendar date once, giving 1 day.
Related calculators
Method references
Sources checked 13 November 2026. The room booking is hypothetical.