Date Difference Calculator
Calculate the time between two dates in years, months, days, weeks, hours, and business days.
How to use this calculator
Enter a start date and an end date. The calculator shows the difference broken out in calendar terms (years, months, days), plus total days, weeks, months, hours, and business days. It handles reversed input (end before start) automatically.
Common uses
Project timelines, contract periods, lease terms, waiting periods, warranty expirations, relationship or employment anniversaries, countdown to a deadline, and figuring out days until an event. For business contexts, the business-days figure is particularly useful when SLAs or deadlines specify "5 business days" etc.
Why business days matter
A standard month has 20-22 business days depending on layout. Over a year, there are roughly 260 business days (365 - 104 weekend days - 10 or so US federal holidays). If you're calculating a deadline quoted in business days, use that figure — not total calendar days. For international projects, be explicit about which holidays you're excluding.
Leap years and the small discrepancies
From 2020-01-01 to 2024-01-01 is 1,461 days, not 1,460 — because 2020 and 2024 were leap years. From 2020-01-01 to 2023-01-01 is 1,096 days (365 + 366 + 365). Calendar-aware calculators (like this one) handle this automatically, which is why you might notice small differences from a naive "years × 365" estimate.
Frequently asked questions
How are business days counted?▾
Business days = Monday through Friday, excluding weekends. Public holidays are NOT automatically excluded — they vary by country and year, so the calculator leaves that to you. For a precise 'working days' figure, subtract any observed holidays manually.
Does the order of dates matter?▾
No. The calculator automatically handles dates entered in either order and returns absolute (positive) differences.
Are totalDays and years × 365 the same?▾
Not quite. Leap years add a day every ~4 years, so 10 calendar years ≈ 3,652.5 days, not 3,650. The calculator counts actual calendar days elapsed, so small discrepancies versus 365 × years are expected.
Can I include time-of-day in the calculation?▾
The calculator uses dates (not times), treating each date as midnight UTC. If you need hour/minute precision for specific times, add or subtract the relevant offset to the date manually. For most use cases (project timelines, contract periods, anniversaries), date-level precision is enough.
Related calculators
Age Calculator
Calculate exact age in years, months, days, weeks, hours, and minutes. Also shows days until your next birthday.
Pregnancy Due Date Calculator
Calculate your estimated due date from last period, conception, or IVF transfer. See current week, trimester, and days remaining.
Salary to Hourly Calculator
Convert between annual salary, weekly, and hourly pay. Account for hours per week, weeks per year, vacation, and holidays.