How the days are counted
With the end date counted: days + 1
Each date is turned into a day number on the calendar (like Date.UTC in JavaScript), and the numbers are subtracted. That means a daylight saving change, when a day is only 23 hours long, never makes the count come out a day short.
By default the start date counts and the end date doesn't, like counting nights in a hotel: Monday to Friday is 4 days. Choose "Yes" under "Count the end date?" for things like the length of an event, where Monday to Friday is 5 days.
Worked example
From January 1 to December 31, 2026 is 364 days. Count the end date too and it's 365 days, the whole year. Of those 365 days, 261 are weekdays, and all 11 US federal holidays are observed on weekdays (July 4 is a Saturday, so it's observed on Friday, July 3), leaving 250 business days. Without the end date (364 days) it's 249, because Thursday, December 31 isn't counted.
Business days and holidays
Business days are Mondays to Fridays in the same span as the day count. With holidays on, these are skipped and listed by name, on the day the federal government observes them:
| Holiday | Rule |
|---|---|
| New Year's Day | January 1 |
| Birthday of Martin Luther King, Jr. | Third Monday in January (from 1986) |
| Washington's Birthday (Presidents Day) | Third Monday in February |
| Memorial Day | Last Monday in May |
| Juneteenth National Independence Day | June 19 (from 2021) |
| Independence Day | July 4 |
| Labor Day | First Monday in September |
| Columbus Day | Second Monday in October |
| Veterans Day | November 11 (fourth Monday in October from 1971 to 1977) |
| Thanksgiving Day | Fourth Thursday in November |
| Christmas Day | December 25 |
A holiday on a Saturday is observed the Friday before; one on a Sunday, the Monday after. So when January 1 is a Saturday, the holiday is Friday, December 31.
Limitations
- State holidays, Inauguration Day (only in the Washington, DC area), and company days off like the day after Thanksgiving aren't included.
- Holidays are only applied from 1971, when the Monday holiday rules took effect.
- Months and years in the breakdown use the month-end rule: one month after January 31 is the end of February.
Sources
- U.S. Office of Personnel Management: Federal holidays (dates and the Saturday/Sunday "observed" rule)
- 5 U.S. Code § 6103 (the list of legal public holidays)
- U.S. Naval Observatory: Introduction to calendars (Gregorian leap-year rule)