Calculate the Duration Between Two Dates Online
Compute the duration between two dates (days, weeks, months, years), right in your browser.
🔒 100% client-side — no data sent
Calculate the exact duration between two dates in days, weeks, months and years. The tool runs 100% in your browser: no date is ever sent to a server, everything stays private on your device. Perfect for counting the days left before a deadline or measuring a past interval.
What is it for?
- ▸ Count how many days remain before a project deadline
- ▸ Measure the length of a contract or the duration of a subscription
- ▸ Work out how many weeks separate two appointments
- ▸ Determine the total duration of a trip or a holiday
FAQ
How do I calculate the number of days between two dates?
Enter the start date and the end date: the tool instantly shows the number of days between them, along with the equivalent in weeks, months and years.
Is the end date included in the calculation?
By default, the result is the gap between the two dates without counting the end day. To include both ends, simply add one day to the total.
Are leap years taken into account?
Yes, the calculation accounts for leap years and the real number of days in each month for an exact result.