Date Difference Calculator
The Date Difference Calculator finds the days between two dates, in years, months and days, weeks, and weekdays. It counts leap days, and you can include the end date for leave, rentals and events.
What is the Date Difference Calculator?
The Date Difference Calculator measures the elapsed calendar days between a start date and an end date. It subtracts the earlier calendar date from the later one, accounting for different month lengths and leap years. Travellers use it to check nights away, project planners to compare dates, and students to check calendar maths. The result is an elapsed-day count, not a count of both dates as full days. For example, Monday to Tuesday is one day apart. It is free, with no subscriptions, and the calculation runs in your browser.
Who it is for: This tool is for travellers, event organisers, project planners, students and people checking personal milestones.
How to use the Date Difference Calculator
- Tap the start-date field and choose the earlier date.
- Tap the end-date field and choose the later date.
- Read the calendar-day difference and check that both selected dates are correct.
- Turn on Count the end date too if both the first and last day should count.
Why use it
- Check a date gapFind how many calendar days separate two dates without counting through a calendar.
- Account for leap daysUse actual calendar dates rather than assuming every year has 365 days.
- Plan stays and eventsStart with the elapsed-day count, then adjust it if your plan counts both endpoints.
- Keep calculations localYour entered dates are processed in your browser, and an opened tool works offline.
At a glance
- What you put in
- Start date and end date
- What you get
- Days, years-months-days, weeks and days, weekdays (Mon to Fri) and hours
- Limits
- Dates only; weekdays do not skip public holidays
- Privacy
- Runs in your browser. Nothing you enter is uploaded or stored.
- Price
- Free for everyone. No subscriptions, no payments, no watermark.
- Works offline
- Yes, once the page has loaded
- Last checked
- by AK Shine
Worked example
Start date: 2024-02-28 End date: 2024-03-01
2 days
The interval includes 29 February because 2024 is a leap year; counting both endpoints would give 3 calendar days.
When to use something else
- For working days, use a business-day calculator with the correct working week and local public-holiday calendar.
- For exact elapsed hours across time zones or daylight-saving changes, use a date-time duration calculator instead.
- For legal, immigration, payroll or payment deadlines, check the official counting rules, cut-off times and holiday exceptions.
Questions people ask
How do I calculate the number of days between two dates?
Choose the earlier date as the start and the later date as the end. The calculator finds the calendar-day difference using actual month lengths, including any leap day within the interval.
Does the result include the start date or the end date?
The result measures the gap between the dates, rather than counting both dates as full days. From 10 June to 11 June is 1 elapsed day; the same date entered twice gives 0 days.
How do I count both the first and last day?
Turn on Count the end date too, and the tool adds the last day. For example, 10 June to 12 June is 2 days, or 3 days when both ends count.
Are weekends and public holidays included?
The Days total counts every calendar day. The Weekdays figure leaves out Saturdays and Sundays, but it cannot know your public holidays, so subtract those yourself.
Does the calculator account for leap years?
Yes, a leap day counts when it falls within the interval. Gregorian years divisible by 4 are leap years, except century years must also be divisible by 400, so 2000 was a leap year but 2100 will not be.
How do I convert the result into weeks, months or years?
Divide the day count by 7 for weeks; 17 days is 2 weeks and 3 days. Calendar months and years have different lengths, so dividing by 30 or 365 does not give an exact calendar breakdown.
Can I use this to calculate my age?
Enter your birth date and the comparison date to find the elapsed days between them. For age in completed years, months and days, use the Age Calculator instead.
Why is my answer one day different from what I expected?
The usual reason is the difference between elapsed days and counting both endpoints. A stay from Friday to Sunday is 2 nights but spans 3 calendar dates, so check which count your task needs.