What is a date difference calculator?
A date difference calculator counts the time between two dates. Enter a start date and an end date to see the total number of days, the same span as years, months and days, the number of weeks, and the working days from Monday to Friday. Choose whether to count the end date itself, which matters for things like hotel nights and leave requests.
How to use the Date Difference Calculator
- 1Enter the start date.
- 2Enter the end date. It defaults to today.
- 3Choose whether to include the end date in the count.
- 4Read the total days, the calendar breakdown, and the business days.
The formula
Dates are compared as calendar days, so daylight saving changes do not add or remove a day. Business days count Monday to Friday and do not remove public holidays, which differ by country.
Worked example
Calculated from the sample inputs below.
Inputs
- Start date
- 2026-01-01
- End date
- 2026-12-25
- Include the end date
- No (count the gap)
Results
- Total days
- 358 days
- Years, months, days
- 0 y, 11 m, 24 d
- Weeks
- 51 weeks, 1 days
- Business days (Mon–Fri)
- 256
- Weekend days
- 102
- Hours
- 8,592
Tips
- Contracts often say “inclusive”. That means count both the first and last day.
- For a countdown, set the start to today and the end to the event.
- Subtract public holidays yourself from the business-day count.
Frequently asked questions
How do I count the days between two dates?
Subtract the earlier date from the later date. This calculator does it in calendar days and handles leap years and month lengths for you.
Should I include the end date?
Include it when both days count, such as days of leave from Monday to Friday (5 days). Exclude it for durations such as nights in a hotel.
Are holidays removed from business days?
No. Holidays depend on your country and employer, so subtract them yourself.
What if the end date is before the start date?
The calculator swaps them and tells you, so the result is always a positive span.
Related calculators
Sources & methodology
Read how we build and check calculators in our methodology and editorial policy. Last reviewed November 24, 2026.
Was this calculator helpful?