How the day counter works
Every calendar date can be turned into a serial number: the count of days since a fixed starting point. Subtracting the serial number of the start date from the serial number of the end date gives the number of days between them. This avoids the messy parts of calendar math, such as months with 28, 29, 30 or 31 days, because the serial numbers already account for them. The counter also works in plain calendar days, so daylight saving time changes and time zones never shift the answer by an hour or a day.
Days including both dates = serial(end) − serial(start) + 1
Should you include the end day?
By default the start date counts and the end date does not. That matches everyday speech: from Monday to Friday is 4 days, and from today to tomorrow is 1 day. Some questions need both dates counted. A conference that runs from June 3 through June 7 lasts 5 days, not 4. A medication course that starts on the 1st and ends on the 10th covers 10 days. Tick include end day for those cases and the total grows by one.
Weekend days, weekdays and business days
Inside the counted span, every Saturday and Sunday is a weekend day and every other day is a weekday. When holidays are switched on, each selected holiday that falls inside the span is counted, and business days are the total minus weekend days minus holidays. Holidays are taken on their actual calendar date. If a holiday falls on a weekend it is still counted as a holiday, so it reduces the business-day figure as well; untick it if your workplace observes it on the Friday or Monday instead.
Holidays you can select
- Fixed dates: New Year's Day (Jan 1), Juneteenth (Jun 19), Independence Day (Jul 4), Veterans Day (Nov 11), Christmas Eve, Christmas and New Year's Eve.
- Floating Mondays: Martin Luther King Jr. Day (third Monday of January), Presidents' Day (third Monday of February), Memorial Day (last Monday of May), Labor Day (first Monday of September) and Columbus Day (second Monday of October).
- Thanksgiving (fourth Thursday of November) and Black Friday, the day after.
- Up to three custom holidays that repeat on the same month and day every year.
Worked example
How many days are there from Thursday, January 15, 2026 to Tuesday, November 3, 2026? The serial difference is 292 days. Of those, 84 are Saturdays or Sundays, which leaves 208 weekdays. With the standard US federal holidays selected, 7 of them fall inside the span (MLK Day, Presidents' Day, Memorial Day, Juneteenth, Independence Day, Labor Day and Columbus Day), so there are 201 business days. If you include the end date, the total becomes 293 days and the business days become 202, because November 3 is a Tuesday.
Common uses
| Question | Tip |
|---|---|
| Days until a birthday, trip or deadline | Leave the start date blank to count from today. |
| Length of a rental, lease or hotel stay | Nights are the plain count; days on site usually include the end day. |
| Contract notice periods | Check whether the contract counts calendar days or business days. |
| Project scheduling | Use business days with your company holidays added as custom dates. |
| Interest or late-fee periods | Lenders usually count actual calendar days between dates. |
Leap years
A leap year adds February 29, so any span that crosses the end of February in a leap year is one day longer than the same span in an ordinary year. Leap years are years divisible by 4, except century years, which must also be divisible by 400. That is why 2000 and 2024 are leap years while 1900 and 2100 are not. The counter applies these Gregorian rules automatically to every year you enter.