Home Math & Calculator Tools Date Difference Calculator
📅
Date & Time

Date Difference Calculator

Calculate the exact difference between two dates in years, months, weeks and days. Optionally exclude weekends and count only business days — perfect for deadlines, contracts and project planning.

📅 Years, months & days💼 Business days option🔄 Swap dates instantly⏳ Countdown mode
Switch Tool:

📖How to Use Date Difference Calculator

  1. 1
    Pick your two dates

    Enter the start date and end date using the date pickers. Today's date is pre-filled as the start date. You can also type dates directly. Click Swap to reverse the two dates if you accidentally entered them backwards.

  2. 2
    Choose counting options

    Toggle business days mode to exclude Saturdays and Sundays from the count. The result updates immediately — useful for calculating working day deadlines, contract notice periods and SLA windows.

  3. 3
    Read your difference breakdown

    Results show the difference in years/months/days (combined), total weeks, total days, total business days, and total calendar days. Each unit is displayed separately so you can pick the format that suits your use case.

💡Quick Reference

TermMeaning
Calendar daysAll 7 days/week
Business daysMon–Fri only
30 daysInvoice term
60 daysNotice period
90 daysQuarterly / visa

Frequently Asked Questions

How does the date difference calculator handle different month lengths?

The calculator counts actual calendar days between the two dates, then converts to months and years using the real calendar — not a fixed 30-day month approximation. A 3-month difference from January 1 to April 1 is exactly 90 days (or 91 in a leap year), correctly accounting for January (31), February (28/29) and March (31).

What is the difference between calendar days and business days?

Calendar days count every day including weekends and public holidays. Business days (also called working days) count only Monday–Friday, excluding Saturdays and Sundays. Our calculator provides both counts simultaneously so you can use whichever is appropriate for your calculation — calendar days for age, business days for contracts and SLAs.

Can I calculate the difference in months only?

Yes — the result includes a "total months" figure that expresses the entire difference as a whole number of months (e.g. 14 months between January 1, 2024 and March 1, 2025). This is useful for lease terms, subscription durations, loan periods and contract lengths expressed in months.

Does the calculator include or exclude the end date?

The calculator uses an inclusive start date and exclusive end date — meaning Day 1 is the start date and the count runs up to (but not including) the end date. For example, January 1 to January 5 = 4 days. This matches the standard used for legal durations, contract periods and most scheduling applications. Toggle the "include end date" option to add one extra day if your use case requires it.

How do I calculate how many days until a future event?

Enter today's date (pre-filled) as the start date and your event's date as the end date. The result shows exactly how many days, weeks and months remain. For a quick countdown to a recurring event like a birthday or anniversary, see our dedicated Day Counter tool.

Can I calculate the difference between dates in different years?

Yes — there is no year limit. You can calculate the difference between dates centuries apart. The result correctly accounts for all leap years between the two dates and displays the difference in the most intuitive format: X years, Y months, Z days.

How are business days calculated?

Business days are calculated by counting Monday–Friday between the two dates, excluding Saturday and Sunday. Public holidays are not excluded by default (as these vary by country and region). If you need to exclude specific public holidays, use the manual deduction: calculate the business day total and subtract the number of public holidays in your jurisdiction that fall within the period.

What is the maximum date range this calculator supports?

The calculator supports any date range that can be represented by JavaScript's Date object — from roughly 100 million days BC to 100 million days in the future. For all practical purposes (contracts, age calculations, event planning), there is no meaningful limit to the date range you can calculate.

Why might the result in months differ from what I expect?

Month differences are calculated based on complete calendar months, not 30-day periods. The difference from January 31 to March 1 is 1 month and 1 day (February has 28/29 days), not exactly 1 month. This is the correct calendar answer — the same logic used by banks for loan period calculations and courts for notice periods.

Can this be used for contract notice period calculations?

Yes — this is one of the most common uses. Enter the contract start date and the notice date to see how many calendar and business days of notice were given. Always verify against the specific contract terms, as some agreements define a "month" as a calendar month, others as 30 days, and legal interpretation can vary by jurisdiction.