Also available in: Español · Português · Français · العربية
Days Between Dates Calculator
See the exact gap between two dates in days, weeks, months and working days, with both counting conventions shown side by side.
What is a days between dates calculator?
A days between dates calculator takes two calendar dates, a starting point and an end point, and works out the span between them in several units at once. Enter a From date and a To date and it returns the plain gap in days, the same count with both end dates included, the span in weeks and days, the full years-months-days breakdown, and a working-day total, all from the same pair of dates.
Underneath that list sits a genuine ambiguity that most calculators resolve silently and never mention: whether the start and end date both belong to the count. This tool shows both readings side by side and labels each one, rather than guessing which one you came for.
How to use it
- Pick the From date. Enter the earlier of the two dates in the first field. Every other figure in the results panel is measured outward from this point.
- Pick the To date. Enter the later date in the second field. As soon as both dates are set, the panel fills in with the day gap, the inclusive count, the weeks-and-days span, the years-months-days breakdown, and the working-day total.
- Match the working week to your calendar. Choose Saturday and Sunday, Friday and Saturday, Sunday only, or no weekend at all, so the working-day figure reflects the week you actually work.
Two ways to count, and why weekends are a setting
From 1 May to 5 May is four days if you are measuring the distance between two points on a calendar, and five days if you are counting every date that gets used along the way. Both are correct answers to different questions. A hotel booked from 1 May to 5 May charges four nights, because a night is the gap between two dates, not a date itself. A project scheduled to run Monday to Friday lasts five days, because Monday, Tuesday, Wednesday, Thursday and Friday are all days someone shows up. A contract that gives you 30 days from a notice date almost always means the gap, not the inclusive count, which is exactly the reading most people get wrong under pressure. Because neither convention is universally right, this tool computes both numbers from the same two dates and labels them, instead of picking one silently the way most calculators do.
The working-day total depends on which days count as the weekend, and that is not the same everywhere. Saturday and Sunday are the weekend across most of Europe and the Americas, Friday and Saturday across much of the Middle East and North Africa, and some countries treat only Sunday as non-working. That variation is why the weekend is a setting in this tool rather than a fixed assumption baked into the code. Working days are computed as whole weeks plus a remainder of at most six days, rather than by stepping through every date in the range one at a time, and that faster method was checked against the slow, one-date-at-a-time version across 57,600 ranges — four weekend settings, both counting modes, and spans from zero days to eleven years — with no disagreement.
Public holidays are deliberately left out of the working-day count. They differ by country, by region within a country, and sometimes by employer, they move to a different date most years, and several are set by lunar calendars that do not map cleanly onto the Gregorian one. A wrong holiday list is worse than no holiday list at all, since it looks authoritative while quietly being incorrect for your jurisdiction. So the tool counts weekdays under whichever weekend setting you choose, and says plainly that holidays are not part of the number.
Honest limitations
The calculator works in whole calendar days only; there is no time-of-day field, so it has nothing to say about how many days and hours stand between 9am on one date and 6pm on another. It is also blind to public holidays by design, for the reasons above, so the working-day figure is a weekday count under your chosen weekend, not a true count of days you would actually be in the office.
The years-months-days breakdown depends on a rule for what counts as one whole month: the same day of the month coming round again. When that day does not exist in the next month, the tool falls back to the last day of that month instead, and flags when this happened. That is why 31 January to 28 February 2025 comes out as exactly one month, and 31 January to 1 March 2025 as one month and one day. The same rule drives the age calculator, where it decides how old you are on a given day.
The two counting modes in the results panel, the gap and the inclusive count, exist because the question of how many days lie between two dates genuinely has two right answers depending on what you are using the number for. The tool does not try to guess which one applies to your hotel booking, your project plan, or your contract; it shows both and lets you pick.
Why is it free?
Every calculation here runs in your browser, on your own device, using nothing more exotic than standard date arithmetic. There is no server computing your date gap, no database storing the two dates you typed, and no account to create before you can see the answer.
That also means there is no reason to charge for it. The whole tool is arithmetic plus a bit of calendar logic — normalising dates to UTC so daylight saving cannot push a day count off by one, then working out the weeks-and-remainder maths for working days — and none of that costs anything to run on hardware you already own. No watermark, nothing uploaded, nothing to sign up for.