Date Difference Calculator

Count the days between two dates, find business days with federal holidays skipped, or add and subtract days from any date.

What do you want to do?
Include the end dateCounts both the first and the last day (for example, Monday to Friday = 5 days instead of 4).
Skip U.S. federal holidays in business daysUses the 11 holidays in 5 U.S.C. 6103 on their observed dates (Saturday holidays move to Friday, Sunday holidays to Monday).
Days Between Dates
—
—
Weeks + Days
—
Months + Days
—
Business Days
—
—

Pick two dates, or a date and a number of days,
and click Calculate to see the result

Advertisement

U.S. Federal Holidays — Observed Dates for 2026 and 2027

Holiday (5 U.S.C. 6103)Rule2026 observed2027 observed
New Year's DayJanuary 1Thu, Jan 1Fri, Jan 1
Birthday of Martin Luther King, Jr.Third Monday in JanuaryMon, Jan 19Mon, Jan 18
Washington's BirthdayThird Monday in FebruaryMon, Feb 16Mon, Feb 15
Memorial DayLast Monday in MayMon, May 25Mon, May 31
Juneteenth National Independence DayJune 19Fri, Jun 19Fri, Jun 18 (Jun 19 is a Saturday)
Independence DayJuly 4Fri, Jul 3 (Jul 4 is a Saturday)Mon, Jul 5 (Jul 4 is a Sunday)
Labor DayFirst Monday in SeptemberMon, Sep 7Mon, Sep 6
Columbus DaySecond Monday in OctoberMon, Oct 12Mon, Oct 11
Veterans DayNovember 11Wed, Nov 11Thu, Nov 11
Thanksgiving DayFourth Thursday in NovemberThu, Nov 26Thu, Nov 25
Christmas DayDecember 25Fri, Dec 25Fri, Dec 24 (Dec 25 is a Saturday)

Observed dates match the U.S. Office of Personnel Management's published federal holiday schedule. Banks, courts, states, and private employers may follow different holiday calendars.

How to Use This Date Difference Calculator

Choose Days between dates to measure the gap between two calendar dates. Enter a start date and an end date, decide whether the end date should be counted, and click Calculate. You get the total number of days, the same span as weeks and days, as months and days, and as years, months, and days, plus a count of business days (Monday to Friday) with or without U.S. federal holidays. If the end date comes before the start date, the calculator still works and simply tells you the dates were in reverse order.

Choose Add or subtract days to go the other way: start from a date, add or subtract a number of calendar days, weeks, or business days, and the calculator returns the resulting date and its day of the week. Everything runs in your browser; the dates you enter are not sent anywhere.

Inclusive vs. Exclusive Counting

The most common source of "off by one" disagreements is whether both ends of the range count. By default this calculator uses exclusive counting, which is ordinary date subtraction: it counts the days after the start date, up to and including the end date. That is the answer to "how many days from now until…" and the way most countdowns work. Switch on Include the end date for inclusive counting, which counts the start date as well. Inclusive counting fits questions like "how many days did the trip last?" when you were away on both the first and last day.

Exclusive days = End date − Start date  ·  Inclusive days = (End date − Start date) + 1

Worked example. From Monday, November 2, 2026 to Thursday, December 31, 2026 is 59 days exclusive, which the calculator shows as 8 weeks and 3 days, or 1 month and 29 days. With the end date included it is 60 days, or 1 month and 30 days. Counting business days over the same exclusive span gives 43 weekdays; skipping the three federal holidays that fall inside it (Veterans Day on November 11, Thanksgiving on November 26, and Christmas on December 25) leaves 40 business days. Inclusive counting adds Monday, November 2, for 41.

Advertisement

Years, Months, and Days: How Month Lengths Are Handled

Total days are unambiguous, but "months" are not, because months run from 28 to 31 days. The calculator counts a month as complete when the same day number comes around again: March 15 to April 15 is one month, whatever the number of days in between. When the start day does not exist in a later month, such as the 31st in a 30-day month or February 29 in a common year, the month is treated as complete on the 1st of the following month. So January 31 to March 1, 2026 is exactly 1 month (29 days), and January 31 to February 28, 2026 is 0 months and 28 days.

This is the same rule the Age Calculator uses for birthdays, so the two tools always agree: someone born on February 29 turns a year older on March 1 in common years. Other tools and spreadsheet functions sometimes count from the last day of the shorter month instead, which can shift the months-and-days answer by a day near month ends. The total-days figure is the same either way. Leap years follow the Gregorian rule: a year divisible by 4 is a leap year, except century years, which must be divisible by 400 (2000 was a leap year; 2100 will not be).

Business Days and U.S. Federal Holidays

Business days are the weekdays, Monday through Friday, inside the range. With the holiday option on, the calculator also skips the 11 legal public holidays listed in 5 U.S.C. 6103(a): New Year's Day, the Birthday of Martin Luther King, Jr., Washington's Birthday, Memorial Day, Juneteenth National Independence Day, Independence Day, Labor Day, Columbus Day, Veterans Day, Thanksgiving Day, and Christmas Day. Juneteenth is counted from 2021, the year it became a federal holiday, and Dr. King's Birthday from 1986, its first observance.

When a holiday falls on a weekend, most federal employees get a weekday off instead. According to the Office of Personnel Management, a Saturday holiday is observed on the preceding Friday and a Sunday holiday on the following Monday. In 2026, Independence Day falls on a Saturday, so it is observed on Friday, July 3. The rule can even cross a year boundary: January 1, 2022 was a Saturday, so New Year's Day was observed on Friday, December 31, 2021. The calculator applies these observed dates automatically.

Not everyone closes on the same days. The Federal Reserve Banks stay open on the Friday before a Saturday holiday, many private employers give fewer holidays, and states add their own. Inauguration Day, a holiday only for federal workers in the Washington, D.C. area, is not included. If your organization's calendar differs, use the totals as a starting point and adjust for its specific closures.

Adding and Subtracting Days

Adding calendar days is straightforward date arithmetic: 30 days after Saturday, October 31, 2026 is Monday, November 30, 2026, and 90 days after it is Friday, January 29, 2027. Adding business days steps forward one weekday at a time and skips weekends and, if selected, observed federal holidays. Thirty business days after October 31, 2026 is Tuesday, December 15, 2026, because Veterans Day and Thanksgiving are skipped along the way. Subtracting works the same way in reverse. Adding zero business days returns the start date unchanged, even if it falls on a weekend.

The two modes are consistent with each other: if you add N business days to a date and then measure the business days between the two dates with exclusive counting, you get N back.

Why Time Zones and Daylight Saving Time Don't Change the Answer

A common programming mistake is to subtract two local "midnight" timestamps and divide by 24 hours. On the days clocks change for daylight saving time, a calendar day is 23 or 25 hours long, so that shortcut can produce 58.96 days and round down to the wrong answer. This calculator never uses clock times. It converts each date to a whole-day number on the UTC calendar and subtracts those numbers, so the result is identical in every time zone and on every date, including the March and November clock changes.

Time zones still matter for deadlines described in hours, or when an event happens "at midnight" in another place. A filing due "by 11:59 p.m. Eastern" can fall on a different calendar date for someone in Hawaii. For those cases, convert the deadline to your local time first, then count days.

Deadlines, Contracts, and "Within N Days"

Legal and contractual deadlines often have their own counting rules. Under Rule 6(a) of the Federal Rules of Civil Procedure, for example, you exclude the day of the triggering event, count every day including weekends and holidays, and include the last day, but if the last day lands on a weekend or legal holiday, the period runs to the next day that is not. That matches this calculator's exclusive mode for the count itself, with an extra rollover step for the final day. Other statutes, courts, agencies, and contracts define "days," "business days," or "within" differently. This is general information, not legal advice; check the rule that governs your deadline.

For more on counting conventions, month-length pitfalls, and worked examples, read our guide on how to count days between dates.

Sources: 5 U.S.C. 6103 — Holidays; OPM — Federal Holidays (observed dates and the Saturday/Sunday rule); Federal Reserve Financial Services — Holiday Schedules; Fed. R. Civ. P. 6(a).

For general planning only. Holiday calendars vary by employer, bank, court, and state, and legal or contractual deadlines may use their own counting rules. This is not legal advice.
Advertisement

Frequently Asked Questions

How do I calculate the number of days between two dates?

Subtract the start date from the end date. That exclusive count is the number of days after the start date up to and including the end date. For example, November 2 to December 31, 2026 is 59 days. If you want to count both the first and the last day, add 1, which gives 60 days. The calculator does both with the Include the end date switch.

Should I include the end date when counting days?

It depends on the question. For countdowns and how long until something, use exclusive counting, which is plain subtraction. For how many days something lasted when both the first and the last day count, such as a hotel stay or an event that runs Monday through Friday, use inclusive counting, which is one day more.

How do I count business days between two dates?

Count the weekdays, Monday through Friday, in the range, then subtract any holidays your organization observes that fall on those weekdays. With exclusive counting, November 2 to December 31, 2026 contains 43 weekdays; skipping Veterans Day, Thanksgiving, and Christmas leaves 40 business days.

Which holidays does the calculator skip?

The 11 U.S. federal holidays in 5 U.S.C. 6103: New Year's Day, Martin Luther King Jr.'s Birthday, Washington's Birthday, Memorial Day, Juneteenth, Independence Day, Labor Day, Columbus Day, Veterans Day, Thanksgiving, and Christmas. Juneteenth is included from 2021. State holidays, bank-only closures, and Inauguration Day are not included.

What happens when a federal holiday falls on a weekend?

For most federal employees, a holiday that falls on a Saturday is observed on the Friday before, and one that falls on a Sunday is observed on the Monday after. For example, July 4, 2026 is a Saturday, so it is observed on Friday, July 3. The calculator skips the observed date. Federal Reserve Banks are an exception: they stay open on the Friday before a Saturday holiday.

Why is January 31 to March 1 shown as one month?

February has no 31st, so the calculator treats the month as complete on March 1, the first day after the missing date. This is the same rule the Age Calculator uses for February 29 birthdays. The total number of days, 29 in 2026, is not affected by this convention.

Related Articles

Expert guides and educational resources to help you master the math.