Inclusive or exclusive?
Ask "how many days from Monday to Friday?" and some people say four, others five. Both are right; they're answering different questions. Counting the gap between the dates (exclusive) gives four: that's how many nights pass, or how many times you'd turn the page on a calendar. Counting every day touched (inclusive) gives five: that's how many days you'd be at a conference that runs Monday to Friday.
By default the calculator gives the gap, so the start date isn't counted and the end date is. Tick the box to count both. Leases, hire periods, event lengths and "days present" usually want the inclusive count; time until something and time since something usually want the gap. If a contract or law sets a deadline, read how it defines the count, because some phrase it as "clear days", which leaves out both the first and the last day.
Worked examples
- From 2 October to Christmas Day 2026 is 84 days, or 85 counting both days.
- February 2028 has 29 days because 2028 is a leap year, so 1 February to 1 March 2028 is 29 days; the same dates in 2027 give 28.
- From 31 January to 1 March 2026 is 1 month and 1 day in calendar terms: one month after 31 January lands on the last day of February, and the extra day takes you to 1 March.
All three come from the same code as the calculator.
How it counts
Each date is turned into a plain count of days on the calendar, then one is subtracted from the other. Times of day and time zones play no part, so a daylight saving change in between can't add or lose a day. The weeks figure is simply the day count divided by seven with the remainder shown as days. The calendar figure counts whole months first, using the rule that a month after the 31st lands on the last day of a shorter month, then shows the days left over. Because months differ in length, the same number of days can be a different number of months depending on where it falls in the year.
Years run from 1 to 9999, using the Gregorian calendar throughout. That rule applies leap years every four years, except century years that can't be divided by 400 (so 1900 and 2100 aren't leap years and 2000 was). Historical records from before a country switched to the Gregorian calendar may use the older Julian calendar, so very old dates may not match them.
Common mistakes
- Counting on your fingers across a month end. It's easy to assume 30 days in every month. Over a few months that drifts by days.
- Forgetting leap years when a range crosses the end of February.
- Mixing up working days and calendar days. This tool counts every day. For Monday-to-Friday days with public holidays taken out, use the working days calculator.
Your dates stay in your browser and aren't saved. Only the inclusive setting is remembered in the page address after the # sign. To find the date a set number of days away, use add or subtract days.
Questions people ask
Does the calculator include the end date?
By default it counts the gap: the end date is counted and the start date isn't. Tick "count both" to include the start date as well, which adds one day.
How many days are there in a year?
365, or 366 in a leap year. A year is a leap year if it divides by 4, except century years, which must also divide by 400.
Last reviewed: