Date Difference Calculator
Jan 1, 2026 to Jul 4, 2026 is 184 days (26 weeks, 2 days, or 6 months, 3 days). It has 132 weekdays, 52 weekend days, 6 weekday holidays, and 126 working days.
Last reviewed
Your calendar span, weekday split, and federal holiday count
Total days
184
Net federal working days
126
From 2026-01-01 (Thursday) to 2026-07-04 (Saturday) is 184 days with the end date left out. That equals 26 weeks, 2 days, or 0 years, 6 months, 3 days.
This span holds 132 weekdays and 52 weekend days. After 6 weekday holidays under 5 U.S.C. 6103, 126 working days remain.
At 24 hours per day (NIST SP 811), it equals 4,416 hours (264,960 minutes). It crosses 0 leap days (Feb 29).
Choose your dates, holiday countdown, or day offset
- Start N₁ = 20,454 (2026-01-01)
- End N₂ = 20,638 (2026-07-04)
- Calendar span = 0 years, 6 months, 3 days (26 weeks, 2 days)
- Weekdays = 132; weekend days = 52
- Working days = 132 − 6 = 126
- d = |20,638 − 20,454| = 184
Net federal working days, weekend days, and weekday holidays by period
Calendar, weekday, weekend, and federal holiday breakdown by period
| Period | Calendar days | Weekdays (Mon–Fri) | Weekend days | Weekday federal holidays | Net working days |
|---|---|---|---|---|---|
| Jan 2026counted slice 2026-01-01 to 2026-01-31 | 31 | 22 | 9 | 2 | 20 |
| Feb 2026counted slice 2026-02-01 to 2026-02-28 | 28 | 20 | 8 | 1 | 19 |
| Mar 2026counted slice 2026-03-01 to 2026-03-31 | 31 | 22 | 9 | 0 | 22 |
| Apr 2026counted slice 2026-04-01 to 2026-04-30 | 30 | 22 | 8 | 0 | 22 |
| May 2026counted slice 2026-05-01 to 2026-05-31 | 31 | 21 | 10 | 1 | 20 |
| Jun 2026counted slice 2026-06-01 to 2026-06-30 | 30 | 22 | 8 | 1 | 21 |
| Jul 2026counted slice 2026-07-01 to 2026-07-03 | 3 | 3 | 0 | 1 | 2 |
Across 7 monthly slices, 184 days split into 132 weekdays + 52 weekend days, minus 6 weekday holidays = 126 working days.
5 U.S.C. 6103 federal legal public holidays in your span
| Federal holiday | 5 U.S.C. 6103(a) date | Observed weekday date | 5 U.S.C. 6103(b) / E.O. 11582 note |
|---|---|---|---|
| New Year's Day5 U.S.C. 6103(a) January 1 | 2026-01-01 (Thursday) | 2026-01-01 (Thursday) | Observed on statutory weekday date (5 U.S.C. 6103(a)) |
| MLK Jr.'s Birthday5 U.S.C. 6103(a) Third Monday in January | 2026-01-19 (Monday) | 2026-01-19 (Monday) | Observed on statutory weekday date (5 U.S.C. 6103(a)) |
| Washington's Birthday5 U.S.C. 6103(a) Third Monday in February | 2026-02-16 (Monday) | 2026-02-16 (Monday) | Observed on statutory weekday date (5 U.S.C. 6103(a)) |
| Memorial Day5 U.S.C. 6103(a) Last Monday in May | 2026-05-25 (Monday) | 2026-05-25 (Monday) | Observed on statutory weekday date (5 U.S.C. 6103(a)) |
| Juneteenth5 U.S.C. 6103(a) June 19 (Pub. L. 117-17) | 2026-06-19 (Friday) | 2026-06-19 (Friday) | Observed on statutory weekday date (5 U.S.C. 6103(a)) |
| Independence Day5 U.S.C. 6103(a) July 4 | 2026-07-04 (Saturday) | 2026-07-03 (Friday) | Saturday statutory date observed on preceding Friday (5 U.S.C. 6103(b)) |
Your counted span crosses 6 observed federal holidays under 5 U.S.C. 6103(a)–(b) and Executive Order 11582.
Key 30-day to 365-day offsets from your start date, shifted past weekends and D.C. holidays
| Offset | Exact calendar date | Day type (D.C. calendar) | Next day that is not a weekend or D.C. holiday |
|---|---|---|---|
| +30 dayslength 30 calendar days | 2026-01-31 (Saturday) | Saturday, shifts 2 days | 2026-02-02 (Monday) |
| +45 dayslength 45 calendar days | 2026-02-15 (Sunday) | Sunday, shifts 2 days | 2026-02-17 (Tuesday) |
| +60 dayslength 60 calendar days | 2026-03-02 (Monday) | Not a weekend or D.C. holiday | 2026-03-02 (Monday) |
| +90 dayslength 90 calendar days | 2026-04-01 (Wednesday) | Not a weekend or D.C. holiday | 2026-04-01 (Wednesday) |
| +120 dayslength 120 calendar days | 2026-05-01 (Friday) | Not a weekend or D.C. holiday | 2026-05-01 (Friday) |
| +180 dayslength 180 calendar days | 2026-06-30 (Tuesday) | Not a weekend or D.C. holiday | 2026-06-30 (Tuesday) |
| +270 dayslength 270 days (about nine months, which is 273 days from Jan 1) | 2026-09-28 (Monday) | Not a weekend or D.C. holiday | 2026-09-28 (Monday) |
| +365 dayslength 365 days (one year only when no Feb 29 falls inside) | 2027-01-01 (Friday) | D.C. holiday: New Year's Day, shifts 3 days | 2027-01-04 (Monday) |
Exact dates 30 to 365 days after 2026-01-01. The last column moves a date that falls on a Saturday, Sunday, or legal holiday in the District of Columbia to the next day that is none of these, which is how 26 U.S.C. 7503 defines a legal holiday. It does not apply state holidays, days the President or Congress declares, or the list in Fed. R. Civ. P. 6(a)(6). Holidays apply from 1986 on.
How the span grows across end years
From 2026-01-01 to Jul 4, 2024 spans 546 days (373 working days), while Jul 4, 2031 spans 2,010 days (1,376 working days).
| End year | Total days | Weeks & days | Years, months, days | Weekdays | Net working days |
|---|---|---|---|---|---|
| 2,024 | 546 | 78 weeks, 0 days | 1 year, 5 months, 28 days | 390 | 373 |
| 2,025 | 181 | 25 weeks, 6 days | 0 years, 5 months, 28 days | 129 | 123 |
| 2,026 (closest to your input) | 184 | 26 weeks, 2 days | 0 years, 6 months, 3 days | 132 | 126 |
| 2,027 | 549 | 78 weeks, 3 days | 1 year, 6 months, 3 days | 392 | 376 |
| 2,028 | 915 | 130 weeks, 5 days | 2 years, 6 months, 3 days | 653 | 626 |
| 2,029 | 1,280 | 182 weeks, 6 days | 3 years, 6 months, 3 days | 914 | 876 |
| 2,030 | 1,645 | 235 weeks, 0 days | 4 years, 6 months, 3 days | 1,175 | 1,126 |
| 2,031 | 2,010 | 287 weeks, 1 day | 5 years, 6 months, 3 days | 1,436 | 1,376 |
How the day of the end month shifts your total and working days
In July 2026, ending on day 1 gives 181 days (124 working days), while ending on day 28 gives 208 days (142 working days).
| End day of month | End date | Total days | Weekdays | Net working days |
|---|---|---|---|---|
| 1 | 2026-07-01 (Wednesday) | 181 | 129 | 124 |
| 4 (closest to your input) | 2026-07-04 (Saturday) | 184 | 132 | 126 |
| 8 | 2026-07-08 (Wednesday) | 188 | 134 | 128 |
| 12 | 2026-07-12 (Sunday) | 192 | 137 | 131 |
| 15 | 2026-07-15 (Wednesday) | 195 | 139 | 133 |
| 20 | 2026-07-20 (Monday) | 200 | 142 | 136 |
| 25 | 2026-07-25 (Saturday) | 205 | 147 | 141 |
| 28 | 2026-07-28 (Tuesday) | 208 | 148 | 142 |
How day, month, and working-day counts work
Each date maps to a whole day number N on the Gregorian calendar, where Jan 1, 1970 is day 0. Subtracting N₁ from N₂ gives the exact day count with no time-zone or clock-change drift. From Jan 1, 2026 to Jul 4, 2026, that difference is 184 days (26 weeks, 2 days). Picking inclusive counting adds 1 day so both boundary dates count, while exclusive counting from Jan 1 to Dec 31, 2026 gives 364 days. To skip weekends on each step, use the business days calculator, or sum clock time in the time duration calculator.
Months do not share one length: they run 28, 29, 30, or 31 days. To split a span into years, months, and days, we step the start date forward by whole months without passing the end date. When a 31-day month steps into a shorter month, the day clamps to that month's last day. One month after Jan 31, 2026 is Feb 28, 2026, plus 2 more days to reach Mar 2, 2026 (30 days, or 1 month, 2 days). For birth dates and leap-year birthdays, open the age calculator.
Each full 7-day week holds 5 weekdays (Monday to Friday) and 2 weekend days (Saturday and Sunday). Any leftover days (d mod 7) are checked by their day of the week. Next, we check the federal holidays in 5 U.S.C. 6103(a): 11 of them since Juneteenth on June 19 was added by Pub. L. 117-17 on June 17, 2021, and 10 before that. Holidays are removed from 1986 on, the year the King birthday became a legal holiday; days before then count as ordinary weekdays. When a holiday falls on Saturday, the Friday before is observed under 5 U.S.C. 6103(b), and a Sunday holiday moves to Monday. Taking 6 weekday holidays out of the default span leaves 126 working days from Jan 1 to Jul 4, 2026.
How courts, the IRS, and finance count calendar days
Federal court clocks leave out the start day (Day 0) and only check weekends or holidays on the last day. Federal Rule of Civil Procedure 6(a) applies to “any time period specified in these rules, in any local rule or court order, or in any statute that does not specify a method of computing time.” Under Federal Rule of Civil Procedure 6(a)(1), when a period is stated in days, you “(A) exclude the day of the event that triggers the period;” then “(B) count every day, including intermediate Saturdays, Sundays, and legal holidays;” and “(C) include the last day of the period, but if the last day is a Saturday, Sunday, or legal holiday, the period continues to run until the end of the next day that is not a Saturday, Sunday, or legal holiday.” You can test multi-step filing windows in the court deadline calculator.
Internal Revenue Code section 7503 (26 U.S.C. 7503) shifts the last day for a tax act in a similar way: “When the last day prescribed under authority of the internal revenue laws for performing any act falls on Saturday, Sunday, or a legal holiday, the performance of such act shall be considered timely if it is performed on the next succeeding day which is not a Saturday, Sunday, or a legal holiday.” Its own definition follows: “the term “legal holiday” means a legal holiday in the District of Columbia.” That list is not the federal pay list behind the working-day counts: it adds District of Columbia Emancipation Day on April 16 (D.C. Code 28-2701). Rule 6(a)(6) has its own list. It names the days set aside by statute for the federal holidays and the days the President or Congress declares. For periods counted after an event, it adds state holidays. The shifted column of the offsets table uses the District's days only. Counting 45 and 180 days from an Oct 1, 2026 closing gives 2026-11-15 (Sunday) and 2027-03-30 (Tuesday). Compare strict and shifted dates in the 1031 exchange deadline calculator.
Loan interest and brokerage cutoffs also rest on exact day counts. Interest runs for the days between two dates, counted up to the payoff date or through it, as your statement says. For Nov 1, 2026 to Nov 20, 2026, that is 19 days up to the payoff date in the daily interest calculator. A 90-day count from a Nov 25, 2026 trade ends on 2027-02-23 (Tuesday); the stock trade settlement date calculator handles settlement dates. A taxable year from Dec 17 through Dec 31, 2026 includes both days, so it is 15 days when counted inclusively. California relieves a limited liability company of its taxes and fees for a taxable year of 15 days or less only if it did no business in the state (Cal. Rev. & Tax. Code § 17946). The California LLC annual tax and fee calculator tests that.
Video walkthrough
A 3-minute walkthrough of how the page counts the days from a start date to an end date, splits them into weekdays, weekend days and federal holidays, and steps to a holiday or a day offset.
Read the transcript
How many days between dates
0:00 How many days from one date to another?
0:03 On the page's example, from the first of January to the fourth of July, 2026, the answer is 184 days.
0:12 The page asks for a start date and an end date, and works out the count as you type.
0:17 Change either date, and every figure follows.
How the days are counted
0:21 Each date is given a whole day number, so no clock or time zone can change the count.
0:27 The sheet takes the difference of the number for the start date and the number for the end date, and writes 184 days.
0:35 The end date is left out by default.
0:38 Choose to include both dates, and the count goes up by one, to 185 days.
0:44 Exclusive counting leaves out the end date.
0:47 Inclusive counting adds one day, so both boundary dates count.
Weekdays, weekends and holidays
0:52 Not every day in the span is a working day.
0:55 It holds 132 weekdays and 52 weekend days, and only the weekdays can be working days.
1:02 The page's own chart shows the same split month by month: working days, weekend days and weekday holidays.
1:10 Federal holidays that fall on a weekday come out of the weekday count.
1:14 In this span there are 6 of them, leaving 126 net working days.
The federal holiday list
1:20 The United States Code lists the federal legal public holidays, and the page follows that list.
1:26 The table lists the holidays in the span, one row for each, with the day it is observed: New Year's Day, the birthday of Martin Luther King, Washington's Birthday, Memorial Day and Juneteenth.
1:40 Its last row is Independence Day, observed on the Friday before.
1:44 When a holiday falls on a Saturday, the Friday immediately before is a legal public holiday for federal staff who work Monday to Friday.
Leap years and the extra day
1:54 The United States Naval Observatory says which years are leap years: in the Gregorian calendar the page uses, years divisible by 4 are leap years.
2:05 A century year is the exception.
2:08 It has to be divisible by 400 as well to count as a leap year.
2:12 So February 2024 has an extra day.
2:16 From the first of February to the first of March, the span is 29 days.
2:21 The same dates in 2026 give 28.
Counting to a holiday, and stepping days
2:25 Two more questions are on the same page.
2:28 It counts down to a fixed-date holiday: from the first of January, Christmas Day is 358 days away.
2:36 The page can add whole calendar days too.
2:39 Switch the question to a day offset, and it counts 90 days from the start date.
2:44 So the page gives you the day count, the split into weekdays, weekends and holidays, and the net working days.
2:52 It also counts down to a holiday and steps days forward.
2:56 Try your own dates at fastcalc.us.
Gregorian rata die, month-step, and weekday formulas
N(Y, M, D) = 146,097 × era + 365 × yoe + ⌊yoe ÷ 4⌋ − ⌊yoe ÷ 100⌋ + ⌊(153 × m + 2) ÷ 5⌋ + D − 719,469 d_excl = |N(Y₂, M₂, D₂) − N(Y₁, M₁, D₁)|; d_incl = d_excl + 1 Weeks = ⌊d ÷ 7⌋ weeks + (d mod 7) days Net federal working days = Weekdays (Mon–Fri) − Observed 5 U.S.C. 6103 holidays on Mon–Fri
Worked date-difference examples
Default span (Jan 1, 2026 to Jul 4, 2026, exclusive): Jan 1, 2026 is day N₁ = 20,454 (Thursday). Jul 4, 2026 is day N₂ = 20,638 (Saturday). Subtracting gives 20,638 − 20,454 = 184 days, or 26 weeks, 2 days. Stepping 6 months from Jan 1, 2026 reaches Jul 1, 2026 plus 3 days (6 months, 3 days). Those 184 days split into 132 weekdays and 52 weekend days. Six federal holidays land on weekdays in that window: Jan 1, Jan 19, Feb 16, May 25, Jun 19, and Friday, Jul 3, 2026 (observed for Saturday, Jul 4).
Leap-year February vs 365-day February and 180-day offset: From Feb 1, 2024 to Mar 1, 2024, the year 2024 is divisible by 4, so Feb 29 adds 1 day. That span has 29 days (4 weeks, 1 day). It holds 21 weekdays, 1 holiday on Feb 19, and 20 working days. Over the same dates in 2026 (Feb 1 to Mar 1, 2026), there are 28 days (4 weeks, 0 days). That span has 20 weekdays and 19 working days. In offset mode, adding 180 days to Oct 1, 2026 (N = 20,727) gives N = 20,907. That date is 2027-03-30 (Tuesday) (25 weeks, 5 days, or 5 months, 29 days).
Assumptions, leap years, and 5 U.S.C. 6103 holidays
- Gregorian leap years (U.S. Naval Observatory). “Every year that is exactly divisible by four is a leap year, except for years that are exactly divisible by 100, but these centurial years are leap years if they are exactly divisible by 400.” This adds 97 leap days every 400 years (146,097 days total, or 20,871 exact weeks) for a mean year of 365.2425 days.
- Whole calendar days and Daylight Saving Time (NIST). Most of the country observes Daylight Saving Time, but not Hawaii, American Samoa, Guam, Puerto Rico, the Virgin Islands, or most of Arizona. Where it applies, clocks spring forward on the second Sunday of March (March 8, 2026, a 23-hour day). Clocks fall back on the first Sunday of November (November 1, 2026, a 25-hour day). Date subtraction counts whole calendar dates rather than local clock hours. Hour and second totals use the exact 24-hour SI day (1,440 minutes = 86,400 seconds) in NIST SP 811, Appendix B.8.
- Federal holidays (5 U.S.C. 6103 and OPM). Title 5, section 6103(a) names 11 annual holidays. The first five are New Year's Day (Jan 1), MLK Jr.'s Birthday (3rd Mon in Jan), Washington's Birthday (3rd Mon in Feb), Memorial Day (last Mon in May), and Juneteenth (Jun 19). The next six are Independence Day (Jul 4), Labor Day (1st Mon in Sep), Columbus Day (2nd Mon in Oct), Veterans Day (Nov 11), Thanksgiving (4th Thu in Nov), and Christmas (Dec 25). Under 5 U.S.C. 6103(b), a Saturday holiday is observed on the Friday before, such as Friday, Jul 3, 2026 and Friday, Dec 31, 2027. Under Executive Order 11582 section 3(a), a Sunday holiday is observed on the following Monday. Inauguration Day (January 20 of each fourth year after 1965) is a holiday under 5 U.S.C. 6103(c) only for employees in the Washington, D.C. area, so the net working days do not remove it. Holidays are removed from 1986 on, the year the King birthday became a legal holiday. Each year from 1986 uses the dates above, with Juneteenth only from 2021. Halloween (Oct 31) and Valentine's Day (Feb 14) are fixed dates, not 5 U.S.C. 6103 holidays.
What to do with your day and date count
Use exclusive counting for court periods and many interest statements. Exclusive counting gives 184 days from Jan 1 to Jul 4, 2026, the same count as Fed. R. Civ. P. 6(a)(1), which leaves out the start day and counts the last. Check whether your statement counts up to or through the payoff date. The daily interest calculator opens with the choice you made here and asks for its own dates.
Switch to inclusive counting when both dates count. A full year from Jan 1 to Dec 31, 2026 is 365 days inclusive. Dec 17 to Dec 31, 2026 is 15 days inclusive, the length of a taxable year that starts on Dec 17. The California LLC annual tax and fee calculator tests the 15-day test in Cal. Rev. & Tax. Code § 17946, which also requires that no business was done in California.
Check weekend and holiday shifts on your end date. Day 45 after Oct 1, 2026 lands on 2026-11-15 (Sunday). The offsets table shifts a date past weekends and District of Columbia holidays. The 1031 exchange deadline calculator and the stock trade settlement date calculator work out their own deadlines.
Separate working days from calendar days. In the default window, 132 weekdays and 52 weekend days minus 6 weekday holidays leave 126 working days. Use the business days calculator when a contract counts business days.
Questions about counting days between dates
Does the days-between-dates count include both the start date and the end date?
By default, End-date counting is set to Exclusive, which subtracts the start day number from the end day number (|N₂ − N₁|) and leaves out the end date. From Jan 1, 2026 to Jan 2, 2026, exclusive counting gives 1 day. Picking Inclusive adds 1 day (|N₂ − N₁| + 1) so both boundary dates count. That gives 185 days through Jul 4, 2026 and 365 days from Jan 1 to Dec 31, 2026.
Why does January 31, 2026 to March 2, 2026 show 1 month and 2 days?
The tool shows both total days (30 days) and calendar months plus leftover days (1 month, 2 days). Calendar months step forward from the start date 1 month at a time and clamp to the end of shorter months. One month after Jan 31, 2026 lands on Feb 28, 2026 (28 days in 2026), and 2 more days reach Mar 2, 2026. In a leap year like 2024, 1 month after Jan 31, 2024 clamps to Feb 29, 2024 (29 days).
How do leap years and century years change multi-year day counts?
In the U.S. Naval Observatory Gregorian calendar, years divisible by 4 are 366-day leap years, except century years are 365-day years unless divisible by 400. Thus 2000 and 2024 are leap years (29 days from Feb 1 to Mar 1, 2024). By contrast, 1900, 2026, and 2100 are 365-day years (28 days from Feb 1 to Mar 1, 2026). Over the 6-year span from Jan 1, 2020 to Jan 1, 2026, the two leap years (2020 and 2024) bring the total to 2,192 days.
Why does Independence Day 2026 reduce weekday working days before July 4, 2026?
July 4, 2026 lands on a Saturday. Under 5 U.S.C. 6103(b) and the U.S. Office of Personnel Management schedule, when a holiday falls on Saturday, federal staff on a Monday-to-Friday week observe it on the Friday before—Jul 3, 2026. Because Friday, Jul 3, 2026 falls inside the span [2026-01-01, 2026-07-04), it counts as the 6th weekday holiday in that window and cuts working days by 1 day before Saturday arrives.
Do Daylight Saving Time clock shifts in March and November change the day count?
No. NIST notes that U.S. Daylight Saving Time starts on the second Sunday of March (March 8, 2026, a 23-hour day) and ends on the first Sunday of November (November 1, 2026, a 25-hour day). Date subtraction uses whole day numbers rather than local clock hours. Total hours multiplies whole days by 24 hours (4,416 hours across 184 days).
What happens under 26 U.S.C. 7503 or Rule 6(a) when a deadline lands on a weekend?
Under Federal Rule of Civil Procedure 6(a)(1), you count every day in between, including Saturdays, Sundays, and legal holidays. Only the last day shifts, to the next day that is not a Saturday, Sunday, or legal holiday. Section 7503 shifts the last day for a tax act the same way. Its legal holidays are the District of Columbia's, while Rule 6(a)(6) uses its own list. For instance, 45 days after Oct 1, 2026 lands on 2026-11-15 (Sunday) and shifts 1 day to Monday, Nov 16, 2026. Meanwhile, 180 days after Oct 1, 2026 lands on 2027-03-30 (Tuesday), which is not a weekend or a holiday.
Sources
- 5 U.S.C. 6103, Holidays (Cornell LII text) (current version)
- Pub. L. 117-17, Juneteenth National Independence Day Act (GovInfo, 135 Stat. 287) (current version)
- U.S. Office of Personnel Management, Federal Holidays (current version)
- U.S. Naval Observatory, Astronomical Applications Department, Introduction to Calendars (current version)
- U.S. Naval Observatory, Astronomical Applications Department, Leap Years (current version)
- NIST, Time and Frequency Division, Daylight Saving Time Rules (page modified Feb 9, 2026)
- NIST, Guide for the Use of the International System of Units (SP 811), Appendix B.8 (page modified Aug 18, 2025)
- Federal Rules of Civil Procedure, Rule 6, Computing and Extending Time (Cornell LII text) (current version)
- 26 U.S.C. 7503, Time for performance of acts on Saturday, Sunday, or legal holiday (Cornell LII text) (current version)
- Code of the District of Columbia, § 28-2701, holidays designated (D.C. Law Library) (current version)
- California Revenue and Taxation Code section 17946, taxable year of 15 days or less (current version)
More in Dates Calculators and Time & Dates Calculators.