Date Difference Calculator

Find the exact number of days, weeks, months, and years between any two dates. Handles leap years, business day exclusions, and multi-unit breakdowns automatically.

Enter your values above to see the results.

Tips & Notes

  • For legal and contract deadlines, always confirm whether the period is measured in calendar days or business days — the difference can be 8-12 days for a 30-day period.
  • When calculating age or elapsed time, use the exact date difference rather than approximating months as 30 days — the error compounds significantly over years.
  • Business day calculations should specify which holidays to exclude — a US calendar and a UK calendar produce different results for the same date range.
  • For project planning, add a 15-20% buffer to any date difference calculation — tasks consistently take longer than the planned calendar days suggest.
  • The difference between two dates depends on whether you count inclusively or exclusively — from Monday to Friday is 4 days exclusive or 5 days inclusive. Confirm the convention before applying deadlines.

Common Mistakes

  • Treating all months as 30 days when calculating multi-month differences — a 3-month period from January 31 spans 89 calendar days, not 90, because February has 28 or 29 days.
  • Forgetting leap year effects on date differences spanning February — any calculation crossing February 28-29 is one day different in a leap year versus a non-leap year.
  • Confusing calendar days and business days in professional contexts — a 30-calendar-day contract period and a 30-business-day period differ by approximately 12 calendar days.
  • Counting the start date as Day 1 when the convention is Day 0 — from January 1 to January 10 is 9 days exclusive (Day 0 to Day 9) or 10 days inclusive.
  • Not accounting for time zone differences when the two dates are in different regions — a date that is January 15 in New York may still be January 14 in Los Angeles.

Date Difference Calculator Overview

Date difference calculation measures the exact elapsed time between any two calendar dates, expressed simultaneously in multiple units — years, months, weeks, days, hours, minutes, and seconds. This precision matters for legal deadlines, insurance claims, employment tenure calculations, warranty periods, and any situation where the exact duration between two specific dates determines an outcome.

The date difference expressed in multiple units:

Difference = End Date − Start Date | expressed as: Y years, M months, D days AND as total days AND as total weeks
EX: From March 15, 2020 to April 6, 2026 → 6 years, 0 months, 22 days → Total days: 2,213 → Total weeks: 316 weeks, 1 day → Total hours: 53,112
How date differences are expressed in different contexts:
ContextPreferred UnitExampleWhy This Unit
Employment tenureYears + months4 years, 7 monthsMatches HR and pension calculations
Legal deadlinesTotal calendar days180 days from filingLaw specifies calendar days precisely
Infant ageWeeks, then months6 weeks old, 4 months oldMedical developmental tracking
Project durationBusiness days45 business daysExcludes non-working days
Subscription periodMonths12 monthsBilling cycles align with months
Age at deathYears78 years oldSocial and legal convention
Warranty periodCalendar days or months365 days or 12 monthsManufacturer specification
Reference: total days for common time spans:
Time SpanTotal Days (Approx.)Total HoursCommon Applications
1 week7 days168 hoursShort deadlines, notice periods
30 days30 days720 hoursMonth-end billing, notice to quit
90 days90 days2,160 hoursProbation periods, visa durations
6 months181–184 days4,344–4,416 hrsStatute of limitations, warranties
1 year365 or 366 days8,760–8,784 hrsAnnual contracts, insurance terms
2 years730–731 days17,520–17,544 hrsLease terms, extended warranties
5 years1,826–1,827 days43,824–43,848 hrsStatute of limitations, long contracts
An important distinction: the difference between two dates expressed as years and months can differ depending on whether you use calendar months or 30-day months. From January 31 to March 31 is exactly 2 calendar months, but only 59 days — not 60. Legal documents and insurance contracts typically specify which method applies; when the document is silent, calendar months are the default in most jurisdictions.

Frequently Asked Questions

Subtract the earlier date from the later date counting each calendar day including the start or end date depending on convention. Example: January 1 to January 10 = 9 days (exclusive of start) or 10 days (inclusive of both). For cross-month calculations, count the remaining days in month 1, full middle months, then days in the final month. The calculator handles leap years and varying month lengths automatically.

Calendar days count every day including weekends and holidays. Business days exclude Saturdays and Sundays (and optionally public holidays). Example: Monday March 1 to Friday March 12 = 11 calendar days but only 8 business days (excluding two weekends). Business day calculation matters for contracts, deadlines, and payment terms — always specify which type when setting due dates.

Leap years have 366 days instead of 365, with February 29 added. The calculator accounts for every leap year within the date range. Example: January 1, 2024 to January 1, 2025 spans 366 days because 2024 is a leap year. January 1, 2023 to January 1, 2024 spans only 365 days. Over multi-year ranges, the calculator counts each leap year's extra day precisely rather than using a fixed 365.25-day average.

Yes. Weeks = total days ÷ 7 (rounded down). Months requires care — calendar months have different lengths. From January 15 to April 15 = exactly 3 months regardless of month lengths. From January 31 to February 28 is either 1 month (end-of-month convention) or 28 days. The calculator reports both total days and a year/month/day breakdown using the most common convention.

Subtract the birthdate from today's date counting completed years first, then remaining months and days. Example: Born November 15, 1995, today is March 10, 2026. Completed years: 30 (last birthday was November 15, 2025). Remaining: November 15, 2025 to March 10, 2026 = 3 months, 23 days. Result: 30 years, 3 months, 23 days. The age calculator handles this with full leap year accuracy.

The calculator supports dates from year 1 through year 9999, covering approximately 3.65 million days or about 10,000 years. For historical calculations, note that the Gregorian calendar was adopted in October 1582 — dates before this used the Julian calendar which differs by several days. The calculator uses the proleptic Gregorian calendar for all dates, applying modern leap year rules retroactively even before 1582.