Date Difference Calculator
Calculate the difference between two dates.
How to Calculate Days Between Dates
Pick the start date
Choose the first date from the calendar field.
Pick the end date
Choose the second date โ past or future.
Read the difference
See the gap in days, plus weeks and months breakdowns.
Inclusive or exclusive counting
From Monday to Friday: four days or five? Both answers are used in practice. Exclusive counting subtracts one date from the other and gives four โ the number of nights, the way hotels count. Inclusive counting includes both endpoints and gives five โ the way holiday entitlement and event durations are usually counted.
Neither is more correct; they answer different questions. The mistake is applying one convention while the other was expected, which is how a booking ends up a night short or a project plan a day long. Decide which question you are asking before trusting the number.
Working days are a local question
Counting business days means excluding weekends and public holidays, and both vary. The weekend is Saturday and Sunday in much of the world, Friday and Saturday in several countries, and holidays differ not just by country but by region within a country.
This matters for anything with a deadline expressed in working days โ notice periods, payment terms, statutory response times. A calculation that assumes one calendar can be several days wrong, and the direction of the error is never in your favour.
Daylight saving and why days are not always 24 hours
Twice a year in most of Europe and North America, one day is 23 hours and another is 25. If a difference is computed by dividing elapsed seconds by 86,400, any span crossing a clock change comes out fractionally wrong, which rounds into an off-by-one error.
Calendar-based counting avoids this entirely, because it counts dates rather than durations. That is why a date difference should be computed on the calendar and a duration in hours should be computed on the clock โ they are genuinely different calculations.
Months and years are ambiguous units
A difference expressed in days is unambiguous. Expressed in months it is not, because months have 28 to 31 days, and 'two months' therefore means between 59 and 62 days depending on which months. The same applies to years and leap days.
For contracts, notice periods and anything else where the exact endpoint matters, days are the safe unit. Months are for describing a span to a human, not for calculating a deadline.
Practical uses and privacy
The common cases are all ones where being wrong has a cost: how long until a deadline, how many days a project actually ran, how much notice a contract requires, how many nights a trip covers, how long between two medical appointments.
The calculation runs in your browser. Contract dates, medical appointments and travel plans are all mildly sensitive, and none of them are transmitted anywhere here.
Counting forwards from a date
The reverse question โ what date falls thirty days from now โ carries its own trap. A deadline of 'within 30 days' usually starts counting the day after the triggering event rather than the event day itself, so the answer is one day later than naive addition suggests.
Rules also differ on what happens when the final day lands on a weekend or public holiday: some move the deadline forward to the next working day, others backwards, and some leave it where it falls. Where a deadline has consequences, the governing rule is worth reading rather than assuming, because all three conventions are in active use.