Date Difference Calculator
Count the days between two dates, with weeks, years, months and days, weekdays, and business days that leave out US federal holidays.
- Free, no sign-up
- Runs in your browser
- Sources cited
Year, month and day, such as 2026-01-01.
Year, month and day, such as 2026-01-01.
Between the dates
- Days
- Business days
- Weeks
- 52 weeks, 1 days
- Years, months and days
- 1 y, 0 m, 0 d
- Weekend days
- 104
Federal holidays in the range
- New Year’s DayThursday, January 1, 2026
- Birthday of Martin Luther King, Jr.Monday, January 19, 2026
- Washington’s BirthdayMonday, February 16, 2026
- Memorial DayMonday, May 25, 2026
- Juneteenth National Independence DayFriday, June 19, 2026
- Independence DaySaturday, July 4, 2026 (observed Friday, July 3, 2026)
- Labor DayMonday, September 7, 2026
- Columbus DayMonday, October 12, 2026
- Veterans DayWednesday, November 11, 2026
- Thanksgiving DayThursday, November 26, 2026
- Christmas DayFriday, December 25, 2026
Step by step
Whole weeks have five weekdays each
Weekdays: whole weeks plus the weekdays in the 1 extra days
Weekdays less 11 federal holidays
How to use the date difference calculator
Enter two dates
Type the start and end dates as year-month-day. If the end comes first, the calculator counts the other way.
Choose what to count
Decide whether the end date counts as a day, as when both are days worked, and whether business days leave out federal holidays.
Read the result
See the number of days, weeks and extra days, years-months-days, weekend days and business days, with the federal holidays in the range listed.
Check the working
Click the days or business days to see how they were counted.
How the dates are counted
Each date is turned into a day number, the count of days since January 1, 1970 in the Gregorian calendar, so the difference between two dates is exact however many months, leap years or centuries lie between them. Counting the end date adds one day. Years, months and days count whole calendar months from the start date; a month from January 31 ends on the last day of February.
Weekdays are Monday to Friday. Business days are weekdays less the legal public holidays of the United States government, the eleven listed in 5 U.S.C. 6103, on the dates most federal employees observe them. As the Office of Personnel Management explains, a holiday on a Saturday is observed the Friday before and one on a Sunday the Monday after, so a New Year’s Day on a Saturday is observed on the last day of the year before.
Holidays are counted from 1986, when the amendment adding Martin Luther King Jr.’s birthday took effect, and Juneteenth from 2021, the year it was added. States, banks and employers may observe other days, so check the calendar that applies to you.
Worked example
From Thursday, January 1, 2026 to Thursday, December 31, 2026, counting both, there are 365 days, of which 261 are weekdays. The 11 federal holidays all fall on weekdays as observed, leaving 250 business days. Independence Day, Saturday, July 4, 2026, is observed on Friday, July 3, 2026.
From Thursday, January 15, 2026 to Saturday, March 20, 2027 is 1 year, 2 months and 5 days, or 429 days.
Understanding the result, and common mistakes
- Counting the end date or not. A stay from Monday to Friday is four nights but five days; choose the count that matches your question.
- Using federal holidays for a private calendar. Many employers and banks follow them, but not all; your own business days may differ.
- Expecting months to be equal. Months have 28 to 31 days, so years-months-days and a day count are both shown.
- Forgetting observed dates. When a holiday falls on a weekend, the day off moves to the nearest weekday.
Frequently asked questions
Which holidays are left out of business days?
The eleven federal holidays: 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, on their observed dates.
Does it handle leap years?
Yes. Dates are converted to exact day numbers, so leap days are counted where they fall.
Can I see how the days were counted?
Yes. Click the days or business days to see each step.
Is anything I enter sent anywhere?
No. The calculator runs in your browser.
Sources
- Federal holidaysU.S. Office of Personnel Management · retrieved Nov 15, 2026
- 5 U.S. Code § 6103: HolidaysLegal Information Institute, Cornell Law School · retrieved Nov 15, 2026
About these results
- Business days follow the federal holiday schedule. State, bank and company holidays are not included.
- The calculator runs in your browser. Nothing you enter is sent anywhere.