Free Online Date Difference Calculator
Find days, weeks, months, and business days between any two dates
Try these next
Why use Date Difference Calculator
- Shows calendar days, weeks, and business days in one pass -- no separate lookups.
- Business-day count auto-excludes weekends, saving project managers from counting on a physical calendar.
- Handles month-end edge cases (January 31 to February 28 = one month) that break naive date subtraction.
How it works
The calculator parses both dates into JavaScript Date objects and computes the difference multiple ways. Total days is a Unix-timestamp subtraction divided by 86,400,000 ms. Weeks are total days divided by 7, floored. Business days are counted by iterating day-by-day and excluding Saturdays and Sundays (public holidays are not excluded because they vary by region). The year-month-day breakdown walks forward from the start date: full years first, then remaining full calendar months, then leftover days. Month-boundary edge cases are resolved by clamping -- if the start day exceeds the target month's length, it rolls back to the last valid day.
About this tool
How many business days until the project deadline? Enter a start and end date to get the difference in years-months-days, total calendar days, total weeks, and business days (weekdays only). The business day count iterates through the range and excludes Saturdays and Sundays -- useful for invoicing, sprint planning, and contract duration math where weekends do not count. Month calculations handle tricky edge cases: January 31 to February 28 is one month, not 28 days, because the calculator walks forward by calendar months before counting remaining days. Leap years are accounted for, and a swap button lets you reverse the dates if you entered them in the wrong order.
How to use Date Difference Calculator
- Pick the start date. Select or type the earlier date.
- Pick the end date. Select or type the later date. Use the swap button if you got the order wrong.
- Read the breakdown. See the gap in years-months-days, total calendar days, total weeks, and business days.
Use cases
- Counting the business days between a sprint kickoff and a client deadline to allocate developer hours.
- HR needs the exact calendar days an employee has been on leave for payroll calculations.
- Wedding planner counting weeks until the ceremony to build a backward timeline of vendor bookings.
- Real estate agent reporting average days-on-market from listing to settlement.
- Finals are coming -- calculate the days remaining and divide your study material into a daily schedule.
Frequently Asked Questions
Months are calculated using calendar months. January 15 to March 15 is exactly 2 months. For end-of-month edge cases, the calculator rounds down -January 31 to February 28 counts as 1 month, not 0.
Business days are Monday through Friday, excluding Saturday and Sunday. This calculator does not exclude public holidays since they vary by country and region.
It measures the gap between them. Same day = 0 days.
A typical year has about 260 business days (52 weeks × 5 weekdays). After subtracting common US holidays, most workers have roughly 250 working days per year.
Yes. Enter any two dates in any order -the calculator shows the absolute difference. Use the swap button to reverse the start and end dates.
Related Tools
Discover more free utilities to enhance your productivity.