Date Difference Calculator
Work out the gap between two dates in years, months, days, hours and business days — or add a duration to a date to find a deadline.
Result
About this calculation
All calculations run in your browser against the real calendar, including leap years. Nothing you enter is uploaded.
What It Does
Give it two dates and it tells you how far apart they are, expressed several ways at once, because there is no single correct unit. The calendar breakdown walks forward in years, then months, then days, which is how a person describes an age or a tenure. The totals count the same gap in each unit on its own, which is what you want for a deadline or a billing period. The business-day figure excludes weekends, which is what contracts and delivery estimates actually run on. Leap days inside the range are counted properly and reported, since they are the usual reason a duration does not match what someone got by multiplying years by 365. There is also a second mode that runs the calculation the other way: give it a date and a duration and it returns the resulting date.
When to Use It
- A contract specifies a notice period in business days and you need the actual date it expires.
- You are calculating someone's exact age or length of service in years, months and days for a form that demands all three.
- A project needs a deadline set a specific number of weeks out and you want the date rather than counting squares on a calendar.
- You are reconciling a billing period and need to know whether the count should include both endpoints.
- A duration in your data looks wrong and you want to check whether a leap day explains the discrepancy.
Worked Examples
2026-01-31 to 2026-02-28
The month-length trap. This is exactly 28 days, and also exactly one month by the clamping convention — from 31 January there is no 31 February, so one month lands on the 28th.
2024-02-01 to 2024-03-01
A range spanning a leap day. It is 29 days rather than the 28 the same range would be in a non-leap year, which the tool flags so the extra day is not a mystery.
2026-08-10 to 2026-08-24
Two weeks apart, but only ten business days. The gap between the calendar figure and the working figure is what most delivery and notice-period disputes come down to.
Features
How to Use
1. Enter a start date and an end date. 2. The breakdown appears immediately in calendar units and in totals. 3. Toggle inclusive counting if both endpoints should count. 4. Switch to add or subtract mode to work out a date from a duration instead. 5. Read the business-day figure if weekends should not count.
Common Mistakes
- Assuming a month is 30 days. Adding 30 days to a date and calling it a month drifts by a day or two every time, and the error compounds across a schedule.
- Getting the inclusive count wrong. Monday to Tuesday is one day as a duration but two days as a stay, and picking the wrong convention is the most common off-by-one in date work.
- Multiplying years by 365. Any range containing a leap day is longer than that, and over a decade the error is more than two days.
- Treating business days as calendar days times five sevenths. That approximation drifts depending on which weekday you start from, and it ignores that a range can begin or end on a weekend.
- Expecting weekday counts to account for public holidays. They vary by country and employer, so a general tool cannot include them and any that claims to is wrong somewhere.