Counting days on a calendar is easy to get wrong by one. This calculator gives the exact number of days between two dates, with a switch to include the end date, plus the same span as years, months and days, weeks, hours, minutes and seconds. Leap years and month lengths are handled for you.
It also counts business days (Monday to Friday), weekend days and full weekends, and lists every US federal holiday in the range on the date it is observed, so you can count working days for a deadline, a notice period or a shipping estimate.
How to use the Days Between Dates Calculator
- Enter the start date and the end date. The order doesn’t matter; reversed dates are swapped.
- Choose whether to include the end date. “Yes” adds one day so both the first and last day count.
- Pick what to count: all days, business days, or business days minus federal holidays.
- Read the total, then check the stats for weeks, months and weekends, and the table for holidays in the range.
The formula
Days are counted on the calendar, not by clock time, so daylight-saving changes never shift the result.
Working days = Business days − observed federal holidays
- Counted range: from the start date up to the day before the end date, or through the end date when it is included
- Observed holiday: the weekday a federal holiday is given off. A holiday on Saturday is observed the Friday before; one on Sunday, the Monday after
- Weeks = Days ÷ 7, shown as whole weeks plus leftover days
- Hours = Days × 24, minutes = hours × 60, seconds = minutes × 60
Years and months are counted the way people say them: whole months from the start date, then the days left over. A month that is too short for the start day ends on its last day, so January 31 plus one month is February 28 (or 29).
Worked example
From Monday, March 1, 2027 to Friday, July 30, 2027, end date not included.
- Days left in March: 31, plus April 30, May 31, June 30 and July 1–29: 29. Total: 151 days
- As a calendar span: 4 months, 29 days, or 21 weeks and 4 days (21.57 weeks)
- Weekdays: 21 full weeks × 5 = 105, plus Monday to Thursday of the last partial week = 109 business days; the other 42 are weekend days (21 full weekends)
- Federal holidays in the range: Memorial Day (Monday, May 31), Juneteenth (observed Friday, June 18, because June 19 is a Saturday) and Independence Day (observed Monday, July 5, because July 4 is a Sunday). That leaves 106 working days
- In smaller units: 3,624 hours, 217,440 minutes or 13,046,400 seconds
Include the end date and the answer becomes 152 days and 110 business days, because Friday, July 30 now counts.
Should you include the end date?
The two conventions answer different questions, and mixing them up is the most common off-by-one mistake.
| Question | Include end date? | Example: Jan 1 to Jan 31, 2027 |
|---|---|---|
| How many days until a date (countdowns, “days from now”) | No | 30 days |
| How long ago something happened | No | 30 days |
| Hotel nights, rentals billed per night | No | 30 nights |
| Vacation, event or project that runs “through” the end date | Yes | 31 days |
| Days in a month or year | Yes | 31 days |
Legal deadlines follow their own rules. Under the federal court rules, for example, you exclude the day of the triggering event and include the last day, unless it falls on a weekend or legal holiday. When a contract or court sets a deadline, follow its counting rule and confirm with the source.
US federal holidays and how they are observed
Federal law (5 U.S.C. 6103) sets 11 permanent holidays. Six fall on fixed dates and five on a set weekday:
| Holiday | Rule | 2026 observed | 2027 observed |
|---|---|---|---|
| New Year’s Day | January 1 | Thu, Jan 1 | Fri, Jan 1 |
| Martin Luther King Jr. Day | 3rd Monday in January | Mon, Jan 19 | Mon, Jan 18 |
| Washington’s Birthday | 3rd Monday in February | Mon, Feb 16 | Mon, Feb 15 |
| Memorial Day | Last Monday in May | Mon, May 25 | Mon, May 31 |
| Juneteenth | June 19 (since 2021) | Fri, Jun 19 | Fri, Jun 18 |
| Independence Day | July 4 | Fri, Jul 3 | Mon, Jul 5 |
| Labor Day | 1st Monday in September | Mon, Sep 7 | Mon, Sep 6 |
| Columbus Day | 2nd Monday in October | Mon, Oct 12 | Mon, Oct 11 |
| Veterans Day | November 11 | Wed, Nov 11 | Thu, Nov 11 |
| Thanksgiving Day | 4th Thursday in November | Thu, Nov 26 | Thu, Nov 25 |
| Christmas Day | December 25 | Fri, Dec 25 | Fri, Dec 24 |
When a fixed-date holiday lands on a Saturday, federal workers get the Friday before; on a Sunday, the Monday after. That can push a holiday into the previous year: New Year’s Day 2028 is a Saturday, so it is observed on Friday, December 31, 2027. This calculator counts it there, which is why all of 2027 holds 12 observed holidays, not 11.
Private employers, banks, schools and states set their own holiday calendars, and many give fewer days off. Inauguration Day (January 20 every fourth year) is a holiday only for federal workers in the Washington, DC area, so it is not counted here.
Quick reference: common day counts
| Span | Days | Business days |
|---|---|---|
| 1 week | 7 | 5 |
| A common year (2027) | 365 | 261 (249 after federal holidays) |
| A leap year (2028) | 366 | 260 |
| 30 days | 30 | 20–22, depending on the start day |
| 90 days | 90 | 64–65, depending on the start day |
| 6 months | 181–184 | about 129–132 |
A “30-day” or “90-day” period in a lease, return policy or notice usually means calendar days. “10 business days” for a refund or a bank transfer means weekdays, and holidays usually don’t count either.