Date Difference Calculator
Find the difference between two dates.
About this tool
Pick a start date and an end date to see the gap between them in days. The result also shows the total in seconds, so you can convert to hours or weeks.
How to use
How it works
The tool measures the elapsed time from the start date to the end date, both at midnight in your local time zone. The end date is not counted as an extra day: 1 June to 2 June is 1 day. Add 1 if you want to count both dates inclusively.
days = (end date − start date) in days weeks = days ÷ 7
Worked example
1 June to 15 August 2026
- Input
- Start 2026-06-01; end 2026-08-15
- Output
- 75 days
- Walkthrough
- June has 30 days to 1 July, July adds 31 days to 1 August, then 14 more days reach 15 August: 30 + 31 + 14 = 75. 75 ÷ 7 is 10 weeks and 5 days.
Limitations
- Dates only, so the hours, minutes and seconds in the result are zero unless a daylight-saving change falls inside the range, which can shift the result by an hour.
- Counts every calendar day. For working days use the Business Days Calculator.
Questions
How many days are there between 1 June and 15 August?
Does it include the end date?
How do I convert the days to weeks?
Can I count only weekdays?
Features
- Days and total seconds
- Any two dates
- Runs in your browser
Related resources
Guides and videos from around the web—opens on YouTube or the publisher’s site.
Calculating simple and compound interest
Khan Academy
Worked interest examples to compare with calculator output.
Watch on YouTubeIntroduction to interest
Khan Academy
Simple vs compound framing for everyday money tools.
Watch on YouTube
- Simple Interest
Math is Fun
Simple interest when comparing with compound calculators.
- Percentages
Math is Fun
Percent of / percent change patterns for daily calculators.