Inclusive vs exclusive day counting: is the start date day 1?
If the start date counts as day 1 (inclusive counting), the last day of an N-day period is start + N − 1. If it doesn't (exclusive counting), the period ends on start + N. For a 90-day stay that begins on 13 February 2024, that is the difference between 12 May and 13 May. Most immigration rules, leave policies and medication courses count inclusively; most spreadsheet formulas, programming libraries and "days between" calculators count exclusively. The date calculator shows both, but knowing which one your rule uses is the real answer.
Why the same question has two answers
Counting days is like counting fence posts and the gaps between them. Put a post on Monday and another on Friday: there are four gaps (Monday→Tuesday, Tuesday→Wednesday, Wednesday→Thursday, Thursday→Friday) but five posts. "How many days from Monday to Friday?" can therefore honestly be answered with 4 or 5. Subtracting one date from another — Friday minus Monday — counts the gaps, which is why it gives 4. Asking "on how many days was I present?" counts the posts, which gives 5.
Neither is wrong. They answer different questions, and arguments about deadlines and visa stays almost always come down to people silently using different ones. The fix is to decide, before doing any arithmetic, whether you are measuring elapsed time (gaps) or days occupied (posts).
The two formulas
| Question | Counting style | Formula |
|---|---|---|
| How much time has passed between two dates? | Exclusive | end − start |
| On how many calendar days did something happen? | Inclusive | end − start + 1 |
| What date is N days after the start? | Exclusive | start + N |
| What is the Nth day, if the start is day 1? | Inclusive | start + N − 1 |
The "+1" and "−1" are the whole story. Everything else in this article is about recognising which row you are in.
Visas and permitted stays
Immigration rules nearly always count inclusively, because they are measuring the days you are physically in the country, and both the day you arrive and the day you leave are days you were there. Under the Schengen 90/180 rule, for example, the European Commission's guidance treats the entry day and the exit day as days of stay. So if a rule says you may stay "up to 90 days" and you arrive on 13 February 2024, day 1 is 13 February and day 90 is 12 May 2024. Leaving on 13 May would be day 91.
A common question on travel forums is exactly this: "What is the last day to leave on a 90-day visa if I arrived on 13 February?" Typing 13 February + 90 days into an ordinary calculator gives 13 May, which is one day too late under inclusive counting. Some countries, however, express their rule differently — "valid until" a printed date, or "90 days from the date of entry" with the official counting set out in law — and some border stamps simply show the final permitted date. When an official date is printed on your stamp, visa or approval letter, that date wins over any calculation.
Notice periods and employment
Notice periods are usually expressed as "N days' notice" or "one month's notice", and the default interpretation in many jurisdictions is that the day notice is given does not count; the period starts the next day. With 30 days' notice given on 1 March, day 1 is 2 March and day 30 is 31 March — which is numerically the same as 1 March + 30, the exclusive formula. That equivalence trips people up: "start the day after, count inclusively" and "start the same day, count exclusively" give the same end date. Contracts and employment law may say otherwise, so read the clause. Annual leave and sick leave, on the other hand, are usually counted inclusively on working days: off Monday to Friday is five days of leave, not four.
Deadlines and "within N days"
Court rules and many statutory deadlines follow a pattern codified in places such as the US Federal Rules of Civil Procedure: exclude the day of the triggering event, count every day including weekends and holidays, and include the last day — but if the last day falls on a weekend or legal holiday, the period runs until the next working day. Under that rule, a 14-day deadline triggered on a Wednesday ends two Wednesdays later, i.e. start + 14. Consumer rights periods, tax filing windows and insurance claims each have their own wording. The arithmetic is simple once you know whether the trigger day counts and whether weekends extend the deadline; the calculator's weekend warning helps with the second point.
Medication courses and treatment plans
"Take for 7 days" started on a Monday morning means the last dose is on Sunday — seven calendar days including the first. That's inclusive: Monday + 7 − 1 = Sunday. If doses are spaced in hours rather than days (every 12 hours, 14 doses), it is better to count doses than calendar days, because a course started in the evening may finish in the morning of the eighth day. Always follow the pharmacist's or prescriber's instructions where they differ from simple arithmetic.
Hotel nights versus days
Hotels count nights, which is exclusive counting in disguise: check in on the 10th and out on the 13th and you pay for 3 nights (13 − 10). But you were on the property on 4 calendar days — the 10th, 11th, 12th and 13th. Car rentals usually count 24-hour periods from pick-up time, so returning an hour late can add a full day; across time zones the rental company's local time at the pick-up location usually governs. Again, the question decides the formula.
Ages, anniversaries and "how long ago"
Ages and anniversaries are exclusive, elapsed-time measurements. A baby born on 1 March is one day old on 2 March and one year old on 1 March the following year. The calculator's "Days between dates" tab gives this as years, months and days. Because months have different lengths, "years, months, days" is computed by stepping whole months on the calendar and counting the leftover days; the end-of-month article explains what happens when the birthday is on the 29th, 30th or 31st.
A quick checklist before you count
- Find the exact wording. "Within", "after", "from", "up to", "no later than" and "until" can each imply a different rule.
- Decide whether the first day counts. Physical presence and doses: usually yes. Notice, elapsed time and legal "after the event" periods: usually no.
- Decide whether the last day counts. Almost always yes for deadlines — you can act on the last day.
- Check weekends and holidays. Calendar days or business days? Does a deadline on a weekend roll forward?
- Check the time zone and cut-off time. "By the end of day 30" in whose time zone? Online filings often close at midnight local time of the authority.
- Prefer an official date. If a document states the final date, use it.
Worked examples
| Situation | Start | Rule | Result |
|---|---|---|---|
| 90-day stay, entry day counts | 13 Feb 2024 | start + 90 − 1 | 12 May 2024 |
| Invoice due "net 30" | 1 Oct 2026 | start + 30 | 31 Oct 2026 |
| 7-day medication course | Mon 5 Oct 2026 | start + 7 − 1 | Sun 11 Oct 2026 |
| Hotel, 10th to 13th | 10th | end − start | 3 nights |
| Days on site, 10th to 13th | 10th | end − start + 1 | 4 days |
| Leave Monday–Friday | Monday | working days, inclusive | 5 days |
Using the calculator for each style
On the add/subtract tab, the main result is always start + N (exclusive). Tick Start date counts as day 1 and a green box shows the inclusive Nth day as well. On the Days between dates tab, the headline number is end − start, and the table lists the inclusive count (both dates included) and the number of weekdays with and without the start date. Having both numbers side by side makes it easy to match whichever wording your rule uses — and to spot the one-day difference before it costs you a fine, a missed flight or an overstay.