How to Count Days Between Dates

By default, the days between two dates count the gap: from 1 March to 31 March is 30 days. If both the first and last day count โ€” as for a stay or an event that runs every day โ€” add one: 31 days.

Last updated: 8 November 2026

By the EasyDateCalc team ยท Updated 17 November 2026 ยท How we check dates

Ask three people how many days there are from Monday to Friday and you may get three answers: four, five or "four nights". None of them is wrong โ€” they are counting different things. This guide explains the two ways of counting days, which one each common situation uses, and how to avoid off-by-one mistakes in deadlines, bookings and visas.

Two ways to count

The difference is always exactly one. It is sometimes called the fence-post problem: a fence 30 metres long with a post every metre needs 31 posts. Our days between dates calculator shows the gap and has an option to include the end date.

Which count to use

SituationUsual countExample
Age, time since an eventGapBorn 10 May 2000 โ†’ 10 May 2027 is exactly 27 years
Hotel staysNights = gapCheck in Fri 5, out Mon 8 = 3 nights
Holiday or leave lengthInclusiveOff Mon 22 to Fri 26 March = 5 days of leave
Event or festival running each dayInclusiveTet 2027, 4 to 10 Feb = 7 days
Schengen and many visa staysInclusive (entry and exit days count)In on 1 June, out on 10 June = 10 days used
"Within 30 days of" a dateGap, starting the day afterNotice given 1 March โ†’ day 30 is 31 March

For leave, the inclusive count is still only part of the story: weekends and public holidays inside the period usually do not use up leave days. Count working days with the business days calculator.

Deadlines: where off-by-one errors happen

Most legal and contractual deadlines in English-speaking countries start counting on the day after the triggering event. A 14-day return window for an order delivered on Monday 1 March ends on Monday 15 March. Some rules also say that if the last day falls on a weekend or public holiday, the deadline moves to the next working day. The exact rule depends on the contract, the court or the government department, so when a deadline matters, read the definition โ€” then use add days to a date to find the date, and the business days calculator if it is counted in working days. Our guide to business days vs calendar days covers that difference in detail.

Weeks and months

Quick checks

Frequently asked questions

How many days from 1 March to 31 March?
30 days between the dates, or 31 days if you count both the first and last day.
Do you count the first day when counting days?
For a gap (age, time elapsed, deadlines) no. For a stay or an event that happens on every day, both the first and the last day count.
Is a hotel stay counted in days or nights?
In nights: the number of nights equals the gap between check-in and check-out dates.
How do I count 30 days from a date?
Start counting on the next day; the 30th day is the date 30 days later. Add days to a date does this for you.

Sources: European Commission โ€“ Short-stay calculator (entry and exit days count)