Date Difference Calculator
Find the exact length of time between two dates. Enter a start date and an end date and the calculator shows the gap in years, months and days, plus the totals in days, weeks and business days. Toggle whether the end day itself is counted. Free, accurate and instant in your browser.
- Leap-year accurate
- 100% free
- No sign-up, no app
- Instant as you type
- Works offline after first load
How to use it
- 1
Pick the two dates
Choose a start date and an end date. The order does not matter; the calculator shows the gap either way.
- 2
Choose whether to count the end day
Turn on "include end day" if both the first and last day should count, as they often do for stays and bookings.
- 3
Read every total
See the years, months and days, the total days and weeks, and the working days between the two dates.
When it comes in handy
Stays and bookings
Work out how many nights or days a trip, rental or hospital stay covers, with or without the final day.
Projects and deadlines
Measure how long a project ran, or how much time sits between two milestones.
Anniversaries and records
Find the precise span between two events for a record, a claim or a celebration.
Instant, accurate & 100% in your browser
The calculation runs right here in your browser, counting the real calendar so leap years and month lengths come out right. Nothing you type is sent to a server, there is no sign-up and no limit, and once the page has loaded it keeps working even with no connection.
Frequently asked questions
- Should I include the end day or not?
- It depends on what you are counting. For elapsed time, such as how many days old something is, the end day is usually not counted, so 1 June to 2 June is one day. For a span where both ends are "used up", such as a hotel stay or an event running across dates, you often want to include the end day. The toggle lets you switch between the two.
- How are years and months counted between dates?
- The calculator counts complete years first, then complete months, then leftover days, against the real calendar. This is the same method used for age. It avoids the error of treating every month as 30 days, which would give a wrong answer for spans that cross February or month-ends.
- What are business days here?
- Business days are the weekdays, Monday to Friday, in the range, with Saturdays and Sundays removed. The calculator does not know about public holidays, since those vary by country and region, so the figure is the simple Monday-to-Friday count.
- Does this work offline and is anything sent to a server?
- The calculation runs entirely in your browser, so nothing you type is sent anywhere, and once the page has loaded it keeps working with no connection. There is no sign-up and no limit on how many dates you check.