Every door and window opening in a bearing wall needs a header strong enough to carry the roof and floors above it, and the building code answers that question with a table, not a guess. This free door header size calculator reads the 2021 IRC header span tables for you.
Building width is measured perpendicular to the ridge. The code allows interpolation between the 12, 24 and 36 ft table columns, so any width from 12 to 36 ft works; outside that range the table does not apply. Opening width is the clear distance between the jack studs.
IRC Tables R602.7(1) and R602.7(2) tabulate the same spans for No. 2 Douglas fir-larch, hem-fir, Southern pine and spruce-pine-fir, so the species choice does not change the answer. If the top of the header is not braced, the code reduces 2x8, 2x10 and 2x12 spans to 70 percent, and 2x4 and 2x6 headers need a design, so they are left out.
| Opening Width | Minimum Header | Max Span of That Header | Jack Studs Each End |
|---|
Each row uses the wall type, loads, snow load, building width and bracing entered above, at a different opening width. Wider openings need deeper or thicker headers, and the jump from two plies to three or four plies is where a wide opening usually lands.
Founder & CEO, Techraxy
Faiq Ur Rahman is a web designer, digital product developer, and Founder of Techraxy, a growing platform of online calculators and utility tools. He specializes in building structured, user-friendly tools focused on finance, health, conversions, productivity, and everyday problem-solving. He is passionate about developing practical digital solutions that make complex tasks simpler for users worldwide.
User Ratings:
ADVERTISEMENT
ADVERTISEMENT
Every door and window opening in a bearing wall needs a header strong enough to carry the roof and floors above it, and the building code answers that question with a table, not a guess. This free door header size calculator reads the 2021 IRC header span tables for you. Enter the opening width, the wall type, what the header supports, the snow load and the building width, and it gives the minimum built-up header size and the number of jack studs required at each end. It covers exterior and interior bearing walls, all five exterior load cases, and all three ground snow load columns.
A door header is the horizontal beam that spans the top of a door or window opening and carries the load of the wall, floors and roof above it down to the jack studs at each side. In wood framing it is usually built up from two, three or four 2x members nailed together, for example two 2x10s, written 2 – 2×10. The header sits on jack studs, also called trimmer studs, which are the short studs cut to fit under each end of the header. Beside each jack stud stands a full-height king stud, which the header is nailed to.
The size a header needs depends on four things: how wide the opening is, how much load bears on the wall, how wide the building is, and how much snow the roof carries. A wider building puts more roof and floor on the wall, so the same header spans less. A second floor above the opening cuts the span sharply, and heavy snow country cuts it further. The International Residential Code publishes all of this as span tables: Table R602.7(1) for exterior bearing walls and Table R602.7(2) for interior bearing walls. Each cell gives the maximum span for one header size and the number of jack studs (NJ) required at each end.
One useful simplification is that the tables use the same spans for No. 2 grade lumber in all four common framing species: Douglas fir-larch, hem-fir, Southern pine and spruce-pine-fir. So the species does not change the header size, and this calculator asks for it only to keep the record straight.
A header is only needed in a bearing wall. In a nonbearing wall, section R602.7.4 of the code says no load-bearing header is required, and a single flat 2×4 may be used as a header for openings up to 8 ft wide where the distance to the nailing surface above is not more than 24 inches.
A header spans an opening; where the member carries floor joists along its length instead, it is a beam, and the Wood Beam Span Calculator reads the same tables for how far it can span, while the Floor Joist Calculator sizes the joists themselves.
There is no single formula for a header size: the answer is a lookup in the IRC span tables, with interpolation between building widths. The calculator works through the built-up header sizes in table order, 2 – 2×4, 2 – 2×6, 2 – 2×8, 2 – 2×10, 2 – 2×12, 3 – 2×8, 3 – 2×10, 3 – 2×12, 4 – 2×8, 4 – 2×10, 4 – 2×12, and returns the first size whose allowable span is at least the opening width.
Interpolated span (inches) = span at the lower width + (span at the upper width – span at the lower width) x (building width – lower width) / (upper width – lower width)
The interpolated span is rounded down to the whole inch, which is conservative, and the jack stud count is taken from the wider bracketing column, which is also conservative. At an exact table width of 12, 24 or 36 ft the tabulated span and jack stud count are used unchanged.
Unbraced top, 2×8, 2×10 and 2×12 (inches) = table span x 0.70, rounded down to the whole inch
This is footnote f of Table R602.7(1) (and footnote e of Table R602.7(2)): where the top of the header is not laterally braced, tabulated spans for 2×8, 2×10 and 2×12 members are multiplied by 0.70 or the header is designed. The footnote gives no factor for 2×4 and 2×6 members, so this calculator leaves them out when the top is unbraced and says they need a design.
A 6 ft opening in an exterior bearing wall, carrying roof and ceiling only, in a 24 ft wide building with a ground snow load up to 30 psf, top of header braced. All values below are from 2021 IRC Table R602.7(1), roof and ceiling section, 30 psf column, 24 ft building width.
Opening width = 6 ft = 72 inches.
2 – 2×8 maximum span = 5 ft 9 in = 69 inches, which is 3 inches short of the opening.
2 – 2×10 maximum span = 6 ft 10 in = 82 inches, which clears the opening by 10 inches.
So the minimum header is 2 – 2×10, with 2 jack studs at each end, and 10 inches of spare capacity.
Interpolation check at a 30 ft building width, same loads: the 2 – 2×10 spans 82 inches at 24 ft and 69 inches at 36 ft, so at 30 ft the span is 82 + (69 – 82) x (30 – 24) / (36 – 24) = 82 – 6.5 = 75.5 inches, rounded down to 75 inches, or 6 ft 3 in. It still clears the 6 ft opening, with 3 inches to spare, and the jack stud count is taken from the wider 36 ft column, which is 2.
It depends on what the wall carries. In an exterior wall carrying only the roof and ceiling, in a 24 ft wide building with snow up to 30 psf, the code minimum for a 3 ft opening is a 2 – 2×4, which spans 3 ft 1 in with 1 jack stud at each end, clearing the opening by just 1 inch. Add one center-bearing floor above the opening and the same 3 ft opening needs a 2 – 2×6, which spans 3 ft 9 in with 1 jack stud at each end. In practice many builders use a 2 – 2×6 or larger for doors anyway, for a stiffer opening and to match the wall depth.
The number comes from the same IRC table as the span, in the NJ column: the number of jack studs required to support each end. It ranges from 1 to 4 depending on the header size and the load. Where the table requires only one jack stud, the code allows an approved framing anchor attached to the full-height stud and the header instead. The full-height king studs beside the jack studs are a separate requirement under Table R602.7.5, which depends on the span and on wind speed and exposure, so this calculator does not count them.
No. Footnote b of Table R602.7(1) and Table R602.7(2) states that the spans are based on minimum design properties for No. 2 grade lumber of Douglas fir-larch, hem-fir, Southern pine and spruce-pine-fir, and one set of numbers covers all four species. The species selector in this calculator is there for the record and does not change the answer. A different grade, such as No. 1 or No. 3, is not covered by these tables.
It is outside the IRC header tables. The largest built-up header in Table R602.7(1), a 4 – 2×12, reaches 15 ft 3 in under the lightest case (roof and ceiling only, 30 psf snow, 12 ft building width), and only 11 ft 8 in in a 24 ft wide building. A 16 ft opening therefore needs an engineered beam, such as an LVL, glulam or steel beam, sized by a designer or the lumber supplier, and this calculator says so rather than returning a size.
No load-bearing header is required. Section R602.7.4 of the 2021 IRC says load-bearing headers are not required in interior or exterior nonbearing walls, and a single flat 2×4 member may be used as a header for openings up to 8 ft wide if the vertical distance to the parallel nailing surface above is not more than 24 inches, with no cripples or blocking required above it. This calculator is for bearing walls; for a nonbearing wall the flat 2×4 is enough.
This calculator is a guide based on the prescriptive span tables in the 2021 International Residential Code, Tables R602.7(1) and R602.7(2). It covers No. 2 grade sawn lumber in the four listed species, building widths from 12 to 36 ft and ground snow loads up to 70 psf. It does not cover point loads from posts above, concentrated loads, headers in high wind or seismic areas, or any case outside the tables. Local building codes and amendments govern, and they may differ from the 2021 IRC. Unusual cases, openings outside the tables and any structural doubt should be checked by a structural engineer or the local building department before building.
ADVERTISEMENT
ADVERTISEMENT