# Days Between Dates Calculator

> Count the days between two dates, with years, months, weeks and days, business days, and an option to exclude US federal holidays.

Interactive calculator: https://calculatorsplatform.com/c/date-difference/
Category: Date & Time Calculators
Calculations run in the browser; inputs can be prefilled through URL parameters and shared with the Share button.

## How the days are counted

The calculator counts calendar days from the start date up to the end date. By default the start date is counted and the end date is not, which is how durations are normally measured: from Monday to Tuesday is 1 day. Tick **Include the end date** when both the first and last day should count, for example the length of a hotel stay in days or an event that runs from the 1st to the 5th inclusive (5 days).

> days = end date − start date (+ 1 if the end date is included)

All dates are handled as whole calendar days in UTC, so daylight-saving changes never add or lose an hour. Leap years are taken into account automatically: there are 366 days from January 1, 2024 to January 1, 2025.

## Years, months, weeks and business days

Days convert exactly to weeks (7 days each), but months and years have different lengths, so they are counted on the calendar. The **years, months, days** figure uses the anniversary method: whole years first, then whole months, then the days left over. When the start day does not exist in a shorter month, such as January 31 to February 28, the month is treated as complete on the last day of that month.

**Business days** are Monday to Friday. With the holiday option on, observed US federal holidays are removed too: New Year's Day, Martin Luther King Jr. Day, Washington's Birthday, Memorial Day, Juneteenth (from 2021), Independence Day, Labor Day, Columbus Day, Veterans Day, Thanksgiving and Christmas. When a fixed-date holiday falls on a Saturday it is observed on the Friday before, and on a Sunday the Monday after, following 5 U.S.C. 6103 and OPM practice. For other weekend patterns or your own company holidays, use the [business days calculator](https://calculatorsplatform.com/c/business-days/).

## Worked example

From **November 26, 2026** to **January 1, 2027** (end date not included):

- Total: **36 days**, which is 5 weeks and 1 day.
- On the calendar: November 26 to December 26 is 1 month, plus 6 days = **1 month, 6 days**.
- Weekdays: 26 Monday-to-Friday dates; removing Thanksgiving (Nov 26) and Christmas (Dec 25) leaves **24 business days**.
- In other units: 864 hours, 51,840 minutes or 3,110,400 seconds.

When the end date is earlier than the start date the calculator still works and shows the result as a negative number, which is handy for asking how long ago something happened.

## Frequently asked questions

### Does the calculator include the end date?

Not by default: it counts from the start date up to, but not including, the end date. Tick the checkbox to count the end date as well; this adds one day.

### How many business days are in a year?

A year has 260 or 261 weekdays (262 in some leap years). In 2024 there were 262 weekdays and 11 federal holidays, all on weekdays, leaving 251 federal working days.

### Why do months and days look different from days ÷ 30?

Months have 28 to 31 days, so the calculator counts real calendar months rather than dividing by an average. That keeps results such as "1 month" from January 15 to February 15 intuitive.

### Are state or company holidays excluded?

Only US federal holidays are built in here. To remove your own list of holidays, or to use a different weekend such as Friday and Saturday, use the business days calculator.

## Sources

- [U.S. Office of Personnel Management — Federal holidays](https://www.opm.gov/policy-data-oversight/pay-leave/federal-holidays/)

## Related calculators

- [Business Days Calculator](https://calculatorsplatform.com/c/business-days/index.md)
- [Add or Subtract Days Calculator](https://calculatorsplatform.com/c/date-add/index.md)
- [Age Calculator](https://calculatorsplatform.com/c/age/index.md)
- [Countdown Calculator](https://calculatorsplatform.com/c/countdown/index.md)
- [Week Number Calculator](https://calculatorsplatform.com/c/week-number/index.md)
- [Day of the Week Calculator](https://calculatorsplatform.com/c/day-of-week/index.md)

---
Source: CalculatorsPlatform (https://calculatorsplatform.com/c/date-difference/). Last reviewed 2026-11-25. Please link to the calculator page when citing.
