Calculate Calendar Days Between Dates
- Dates counted including both endpoints
- days
- Result
- Start date day number
- 1 days
- You entered
- End date day number
- 8 days
- You entered
Calculate calendar days by counting every date from a start date to an end date, including weekends and holidays. Enter the two dates below to get the elapsed number of days; the usual date-difference calculation excludes the start date and includes the end date.
Formula
For dates converted to consecutive day numbers, the standard elapsed calendar-day formula is:
Calendar days = end − start
- start is the starting date represented as an integer day number.
- end is the ending date represented as an integer day number.
- Calendar days is the elapsed duration in days. It counts all dates crossed, not only weekdays.
If you need to count both the start date and end date as included dates, use end − start + 1. The calculator shows this inclusive count separately so you can choose the convention that matches your task.
The input fields here represent day numbers rather than formatted dates: assign day 1 to the first date, day 2 to the next date, and continue without skipping weekends or holidays. For real dates, first convert each date to its position in the calendar. A date calculator or spreadsheet can do that conversion automatically. The underlying subtraction is the same.
Worked Example
Using the calculator’s default values, start = 1 and end = 8:
- Subtract the start day number from the end day number: 8 − 1 = 7.
- The elapsed calendar-day result is 7 days.
- For a count that includes both endpoint dates, add one: 8 − 1 + 1 = 8 dates.
This matches the distinction between elapsed time and an inclusive count: moving from day 1 to day 8 takes seven full day-to-day intervals, although the list of dates from day 1 through day 8 contains eight dates.
What Calendar Days Mean
A calendar day is a day on the calendar, usually understood as a date from midnight to the next midnight in the relevant local time zone. Calendar-day counting includes Saturdays, Sundays, and holidays. It differs from counting business days, which usually excludes at least weekends and may also exclude holidays under a particular organization’s rules.
The difference between two dates is not the same as counting every date label inclusively. For example, from March 10 to March 12 is two elapsed calendar days: March 10 to 11 is one, and March 11 to 12 is another. Counting March 10, March 11, and March 12 as a set gives three dates. Neither result is inherently wrong; the right one depends on whether the question asks for elapsed duration or a count of included dates.
Calendar dates also do not always correspond to exactly 24 hours between local clock times. Daylight-saving changes can make a local calendar day shorter or longer than 24 hours. If you need an exact duration in hours or minutes, compare timestamps with their time zones rather than subtracting dates alone.
How to Count Dates Correctly
For a manual count, identify the convention first, then move through the calendar one date at a time. For a start date of April 28 and an end date of May 2, the elapsed difference is four calendar days: April 29, 30, May 1, and May 2 are reached after the start date. An inclusive list contains five dates: April 28 through May 2.
- Elapsed difference: subtract the start date from the end date. The starting date is not counted as a full elapsed day.
- Inclusive date count: add one to the difference when both endpoints are included.
- Reverse order: if the end date is earlier than the start date, subtraction gives a negative result. Swap the dates if you want a positive span, or keep the sign if direction matters.
- Same date: the elapsed difference is zero; an inclusive count of that single date is one.
When converting dates manually, account for month lengths and leap years. February has 29 days in a leap year and 28 otherwise; other months have 30 or 31 days. A Gregorian-calendar leap year is divisible by 4, except century years must also be divisible by 400. For example, 2000 was a leap year, while 1900 was not.
Calendar Days vs. Business Days
Calendar-day calculations include every date. Business-day calculations depend on which weekdays count as working days and which holidays are excluded. A Monday-to-Monday span is seven calendar days, but it is not automatically seven business days. The exact business-day total can vary with the start and end inclusion rule, the holiday calendar, and the weekday on which the range begins.
Use calendar days for a straightforward date interval when weekends remain part of the count. Use a business-day method when a task explicitly calls for working days, and check its holiday and endpoint conventions. Do not assume that adding a fixed number of calendar days will produce the same result as adding that number of business days.
Common Counting Mistakes and Limits
- Counting both endpoints without saying so: this makes the answer one greater than the elapsed difference. State whether the count is inclusive.
- Removing weekends by habit: weekends belong in calendar-day calculations. Exclude them only for a business-day question.
- Confusing dates with hours: date subtraction returns whole calendar-day intervals, not necessarily a precise number of 24-hour periods between local times.
- Ignoring year boundaries or leap days: the date sequence continues across months and years; do not treat every month as having 30 days.
- Using different time zones: if the dates come from timestamps in different zones, convert them to the intended common zone before deciding which calendar dates apply.
The calculator’s arithmetic assumes valid day numbers in the same continuous date sequence. It does not determine public holidays, business-day rules, or the time zone for timestamps. Those details must be supplied separately when they affect the question.
Frequently Asked Questions
Do calendar days include weekends?
Yes. Calendar days count Saturdays and Sundays as well as weekdays. Public holidays are also dates in the calendar, unless a specific rule asks you to exclude them.
Do I count the start date?
For an elapsed date difference, normally no: subtract the start date from the end date. For a count of dates that includes both endpoints, add one.
How many calendar days are between two dates?
Convert both dates to day numbers in the same calendar and subtract the earlier from the later. For example, January 1 to January 8 is seven elapsed calendar days, or eight dates when both endpoints are counted.
Is a calendar day always 24 hours?
Not when measured by local clock time across a daylight-saving change. Calendar-day counting concerns dates; exact elapsed hours require comparing timestamps and time zones.
How do leap years affect the count?
A leap day is included as an ordinary date in the sequence. A range that crosses February 29 is one calendar day longer than the equivalent range in a non-leap year.
Related
Formula used
in start | Start date day number | days | 1 | 0 in end | End date day number | days | 8 | 0 out days | Calendar days between dates | days | end - start | 0 out inclusive | Dates counted including both endpoints | days | end - start + 1 | 0
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.