Calculate contract duration between dates in days, months, or years, count business days, find notice deadlines, or get an end date from a term.

Choose elapsed days or count both dates.

Optional settings


Related Calculators

Calculator Functions

FunctionWhat it doesWhat it requires
Duration between datesCounts the days from a contract's start date to its end dateRequires the start date, the end date and a day count: elapsed days or inclusive days
Business daysCounts the Monday to Friday days in the term, with both dates includedRequires the start date and the end date. Leaving out recurring US federal holidays is optional
Notice deadlineFinds the date a notice period before the end date beginsRequires the end date and a notice period in days, weeks, months or years
End date from durationFinds the date a term of a given length endsRequires the start date and a term in days, weeks, months or years

Every function works on calendar dates with no time of day, so time zones and daylight saving time never shift a count.

Contract Duration Formulas

D = E โˆ’ S
DContract duration (days)
EEnd date
SStart date

Duration between dates

Elapsed days is the end date minus the start date. Inclusive days adds 1, so both the first and the last day count. A contract running from January 1, 2023 to December 31, 2023 lasts 364 elapsed days, or 365 days with both dates included.

The result also shows approximate months, days รท 30.4375, and approximate years, days รท 365.25. Those divisors are the average month and year over four years with one leap day. 364 days comes to 11.96 months and 0.997 years. These are fixed-length approximations, not a count of completed calendar months.

Business days

Each full week in the term adds 5 days, and the weekdays in any part week are counted one by one, with the start and end dates included. The calendar year 2024 has 262 Monday to Friday days.

With Recurring US federal holidays selected, each holiday that falls on a weekday inside the term is taken off. Federal law names eleven: New Year's Day, the Birthday of Martin Luther King, Jr. (third Monday in January), Washington's Birthday (third Monday in February), Memorial Day (last Monday in May), Juneteenth (June 19), Independence Day, Labor Day (first Monday in September), Columbus Day (second Monday in October), Veterans Day (November 11), Thanksgiving Day (fourth Thursday in November) and Christmas Day [1]. A holiday on a Saturday is observed on the Friday before [1], and one on a Sunday on the Monday after [2]. For 2024 that removes 11 days and leaves 251.

For earlier years the holiday list follows the law as it stood. The Monday holidays took effect on January 1, 1971, which is the earliest start date this option accepts, the King holiday took effect in 1986, and Juneteenth was added in June 2021 [1]. Veterans Day was observed on the fourth Monday in October from 1971 to 1977 and returned to November 11 in 1978 [3].

Notice deadline

Notice date = E โˆ’ period

Days and weeks are exact offsets, with a week as 7 days: 30 days before December 31, 2025 is December 1, 2025. Months and years keep the same day of the month, and if the target month is shorter the date moves to its last day, so one month before March 31, 2025 is February 28, 2025.

End date from duration

End date = S + period

The same rules apply going forward: one month after January 31, 2024 is February 29, 2024, and 12 months after January 1, 2025 is January 1, 2026. Many contracts treat the day before that date, December 31, 2025, as the last day of the term, and the contract wording decides which applies.

Limits of This Estimate

  • The results are date arithmetic only. The contract wording, local law and any rules on how notice must be delivered decide the enforceable dates.
  • The holiday option covers recurring federal holidays only. State, bank and company holidays, one-off closures and Inauguration Day, which applies only in the Washington, DC area [1], are not removed, and future dates assume the current rules stay in force.
  • The notice and end dates are not moved when they land on a weekend or holiday.

Sources

  1. Legal Information Institute, Cornell Law School, 5 U.S. Code ยง 6103, Holidays: the federal holidays, the Saturday rule and the dates each holiday took effect
  2. U.S. Office of Personnel Management, Federal Holidays: observance on Monday when a holiday falls on a Sunday
  3. U.S. Department of Veterans Affairs, History of Veterans Day: Veterans Day in October from 1971 to 1977