What is the Date Difference Calculator?
Counting the interval between two dates comes up constantly — notice periods, project deadlines, interest accrual, visa durations, contract terms. Doing it mentally is error-prone because months differ in length and leap years intervene.
This calculator returns the exact number of days between two dates, along with the equivalent in weeks.
What each input means
- Start date
- The earlier date. The calculation works regardless of which order you enter them.
- End date
- The later date. The result is the absolute interval, so a reversed order still gives a positive answer.
- Headline figure
- Choose whether the main result counts every calendar day or only working days, Monday to Friday. Public holidays are not taken out.
How this calculation works
The two dates are converted to a common time base and the difference taken, then expressed in days. This handles varying month lengths and leap years automatically, which is precisely where manual counting goes wrong.
One question the calculation cannot answer for you is whether the endpoints should be included. A period from the 1st to the 10th is nine days of elapsed time but ten calendar days inclusive, and which convention applies depends on the contract or rule you are working to.
Formula: Result = the relevant inputs combined using the displayed assumptions.
Getting the most out of the result
- Establish whether your context counts inclusively or exclusively before relying on the number.
- For working days, remember this figure includes weekends and holidays.
- Double-check date format, especially when both values could be read as day or month.
- For notice periods and deadlines, confirm whether the count starts on the day of notice or the day after.
- Divide by seven for weeks; the calculator shows this alongside the day count.
Common mistakes to avoid
Off-by-one errors dominate, caused by ambiguity over whether the first and last days are included. Contracts and statutes vary, and assuming the wrong convention on a notice period can have real consequences. People also treat the result as working days when it counts every calendar day including weekends and holidays. Manual counting across month boundaries reliably goes wrong, and February in a leap year catches out anyone approximating.
Frequently asked questions
Does the result include both start and end dates?
It gives the elapsed interval between them, so the start date is not counted as a full day. From the 1st to the 10th is nine days elapsed. If your context counts inclusively, add one.
Does this count working days?
No. It counts every calendar day including weekends and public holidays. For working days you would need to subtract those, and holidays vary by location.
How are leap years handled?
Automatically. The calculation works on actual dates, so any 29 February falling within the range is included in the count.
Can I enter the dates in either order?
Yes. The result shown here is the absolute difference — the number of days apart, regardless of which one you entered first — because that is what most people actually want when comparing two dates: how far apart are they, not which one is earlier. If you specifically need a signed difference, such as counting down to a deadline versus counting up from a past event, keep track of the direction yourself: a date in the future minus today is a countdown, while today minus a past date is elapsed time. The calculator gives you the same day count either way; only the meaning you attach to it changes depending on which date you treat as the starting point.
How do I convert days to months?
Approximately, by dividing by 30.44, the average month length. Exact month counts depend on which specific months the period spans, since they range from 28 to 31 days.
Why does my contract count differently?
Contracts and statutes specify their own conventions — whether the day of notice counts, whether periods end on a business day, and how month-end dates are treated. Follow the document rather than a generic calculation.
Can I calculate a future date from a number of days?
Not directly here. This tool measures between two known dates. To find a date a set number of days ahead, add that number to your start date in a calendar application.