Find exact duration between any two dates — days, weeks, months, business days.
📅 Useful for project planning, contract durations, age calculations, and deadline tracking. Business days exclude weekends (Saturday and Sunday).
The Date Difference Calculator is based on the following formula:
days = date₂ − date₁
Variables: date₁: earlier calendar date date₂: later calendar date days: whole days between the two dates
The whole-day difference between two calendar dates, counting each midnight crossed. Time-of-day and time-zone settings can add or subtract a day at the edges.
Worked example: Step 1: From 2024-03-01 to 2024-03-31. Step 2: March has 31 days, so 31 − 1 = 30 midnights are crossed. Result: 30 days.
Calculating the time between two dates sounds simple, but doing it precisely requires handling varying month lengths (28-31 days), leap years, and calendar-aware arithmetic. This calculator counts completed years, months, and days separately, plus totals in days, weeks, hours, and business days.
Calendar days count every day. Business days(also called working days) exclude weekends and sometimes holidays. For a Friday-to-Monday span, that's 3 calendar days but only 1 business day. Use business days when estimating delivery times, project timelines, or anything that depends on people working.
This calculator excludes Saturday and Sunday. It does not subtract public holidays, since those vary by country and region — add those manually if precision matters.
A year isn't exactly 365 days — it's about 365.2422 days. Leap years (every 4 years, except century years not divisible by 400) add February 29 to keep the calendar aligned with Earth's orbit. This is why date math done by simply multiplying by 365 drifts over time. This calculator uses your browser's date handling, which accounts for leap years automatically.
When planning, it's often more useful to think in months than days, because human activities (rent, salaries, meetings) run on monthly cycles. This calculator gives you both views: the precise year/month/day breakdown for legal accuracy, and the total-day count for technical calculations.
More tools you might find useful
Live countdown to any date, or days between two dates.
File size ÷ effective speed → transfer time in hours, minutes, seconds.
Accrued PTO to date, year-end projection, and rollover haircut.
Estimate reading and speaking time for any text.