To count the days between two dates, count forward from the earlier date to the later one. For elapsed days, do not count the starting day, so 1 June to 4 June is three days. The date difference calculator does this exactly and also shows the gap in weeks, in years and months, and in business days.
The maths is simple. The thing that causes wrong answers is deciding whether the last day counts, so that is worth getting straight.
Elapsed days versus counted days
There are two reasonable ways to count a span, and they differ by one.
- Elapsed days measure how much time has passed. Consecutive days are one day apart, so 1 June to 2 June is one day. This is what you want for things like how many days old something is.
- Counted days treat both ends as part of the span. A festival that runs from Friday to Sunday lasts three days, because Friday, Saturday and Sunday all count.
Neither is more correct in general; they answer different questions. The date difference calculator has an include-end-day toggle so you pick the one you need.
Why you should count against the real calendar
It is tempting to estimate by assuming 30-day months, but that drifts whenever a span crosses February or a 31-day month. The reliable way is to count the actual calendar days, which handles leap years and the different month lengths automatically.
For example, 28 February to 1 March is one day in a common year but two days in a leap year, because of 29 February. A calculator that walks the real calendar gets this right; a 30-day estimate does not.
Turning days into weeks, months or business days
Once you have the total days, you can express it other ways:
- Weeks: divide the day count by seven; the remainder is the leftover days.
- Years and months: count whole years and months first, then leftover days, the same method used for age.
- Business days: count only Monday to Friday, leaving out weekends.
The date difference calculator shows all of these at once, so you do not have to convert by hand.
Where this comes up
Counting days between dates turns up constantly:
- Bookings and stays, where the number of nights depends on whether the checkout day counts.
- Projects and deadlines, where you want the elapsed time between two milestones.
- Claims and records, where a precise span has to match the calendar.
To count only working days, see how to count business days. To measure an age from today instead of a fixed gap, see how to calculate your exact age, or open the date difference calculator now.