A header size calculator tells you which doubled lumber header fits a door or window opening in a bearing wall. Enter the opening width, building width and load condition, and the tool returns the header size and jack stud count from the IRC R602.7 tables. A 5-foot opening in a 24-foot-wide building under roof load needs a doubled 2×8.
Recommended header
Calculations run in your browser. Inputs are not sent to our servers; anything you Save stays in this browser only.
Saved results (0)
How to Use the Header Size Calculator
- Enter the opening width in feet.
- Pick the building width (12, 24 or 36 ft).
- Pick the load above (roof only or floor plus roof).
- Pick the wall type (bearing or non-bearing).
- Read the recommended header, span, jack studs and king studs.
Here is what each result line means:
| Result | What it means |
|---|---|
| Recommended header | The smallest standard doubled header that spans the opening. |
| Maximum span | The tabulated span for that header at your building width and load. |
| Jack studs per side | How many trimmer studs support the header on each end. |
| King studs per side | Full-height studs beside the jacks (1 up to 8 ft, 2 over 8 ft). |
For the stud count and plate stock for the whole wall, see the stud calculator or the framing calculator.
What Is a Header Size Calculator?
A header size calculator tells you which doubled lumber beam fits a door or window opening in a load-bearing wall. It uses the IRC R602.7 span tables so you can pick the right header without looking up the code yourself.
Framers, builders and permit applicants use it to size headers before submitting plans or buying lumber.
How the Header Size Calculator Works
The calculator looks up the IRC R602.7 exterior bearing wall table for your building width and load condition. It finds the smallest doubled header whose tabulated span is at least as wide as your opening.
- Convert the opening width to inches.
- Look up each header size (2-2×6, 2-2×8, 2-2×10, 2-2×12) in the table for the chosen building width and load.
- Pick the first header whose span meets or exceeds the opening.
- Read the jack stud count from the same table row.
- Assign king studs: 1 per side up to 8 ft, 2 per side over 8 ft.
Header Sizing Example
You have a 5-ft door opening in a bearing wall of a 24-ft-wide building supporting only the roof and ceiling.
Lookup: 2-2×6 spans 4 ft 7 in (too short). 2-2×8 spans 5 ft 9 in (fits). Jack studs = 1 per side. King studs = 1 per side (opening under 8 ft). Use a doubled 2x8 header.
Factors That Change Header Size
Building Width
A wider building puts more tributary load on the header. A header that spans 6 ft in a 12-ft building may only span 4 ft in a 36-ft building.
Load Condition
A wall supporting one floor plus a roof carries roughly twice the load of a wall supporting only a roof. Headers shrink accordingly.
Bracing
IRC R602.7 assumes the header top is braced by perpendicular framing. Without bracing, spans for 2×8, 2×10 and 2×12 headers must be multiplied by 0.70.
Species and Grade
The IRC tables assume minimum #2 grade of any listed species group. Higher grades or stronger species allow longer spans under engineered design.
Snow Load
The standard table uses 30 psf ground snow load. Heavy-snow regions may reduce allowable spans.
Header Span Comparison by Building Width
The table below shows doubled header spans for an exterior bearing wall supporting roof and ceiling only (IRC R602.7(1), 30 psf snow, #2 grade).
| Header | 12 ft width | 24 ft width | 36 ft width | Jack studs |
|---|---|---|---|---|
| 2-2×6 | 6 ft 0 in | 4 ft 7 in | 3 ft 10 in | 1 |
| 2-2×8 | 7 ft 7 in | 5 ft 9 in | 4 ft 10 in | 1 |
| 2-2×10 | 9 ft 0 in | 6 ft 10 in | 5 ft 9 in | 2 |
| 2-2×12 | 10 ft 7 in | 8 ft 1 in | 6 ft 9 in | 2 |
Values are from IRC Table R602.7(1). Wider buildings reduce the allowable span.
When to Use a Header Size Calculator
New Construction Permits
Size every header before submitting plans for review.
Window and Door Replacements
Verify the existing header is adequate if you widen an opening.
Garage Door Headers
Wide garage openings often exceed standard tables and need engineered beams, but the calculator shows exactly where the cutoff falls.
Non-bearing Partitions
Confirm that a flat 2×4 is enough and skip the doubled header entirely.
Common Mistakes with Header Sizing
1. Using the Wrong Building Width
The building width is measured perpendicular to the header, not along the wall. A wrong width gives the wrong table column.
2. Ignoring the Bracing Factor
If cripple studs sit on top of the header with no perpendicular bracing, spans for 2×8 through 2×12 must be reduced by 30 percent.
3. Forgetting Jack Studs
The header rests on the jack studs. Using fewer than the table requires can cause the header to deflect or fail inspection.
4. Treating Non-bearing Walls Like Bearing Walls
A doubled header in a non-bearing wall wastes lumber. A flat 2×4 handles openings up to 8 feet.
5. Exceeding the Table
Openings wider than the largest tabulated span need an engineered header (LVL or steel). The standard table does not cover them.
Accuracy and Limitations
The calculator uses IRC R602.7(1) spans for exterior bearing walls with #2 grade lumber, 30 psf ground snow load. Interior bearing walls (Table R602.7(2)) have slightly different values not included here.
What it calculates
- Header size from IRC tables
- Jack stud count
- King stud count
- Bracing warnings
What it does not do
- Interior bearing wall tables
- Engineered header design (LVL, steel)
- Heavy snow or seismic loads
- Multi-story stacking
How We Size Headers
Frequently Asked Questions About Header Sizing
What size header do I need for a 3-foot door?
At 24-foot building width with roof load only, a doubled 2×6 spans 4 ft 7 in, which covers a 3-foot opening with margin.
What size header for a 6-foot opening?
At 24-foot building width under roof load, a doubled 2×10 spans 6 ft 10 in. Under floor-plus-roof load, a doubled 2×12 spans 6 ft 8 in.
Do non-bearing walls need headers?
No. IRC R602.7.4 allows a flat 2×4 across openings up to 8 feet in non-bearing walls. No jack studs or cripples are required.
What is the 0.70 bracing factor?
If the top of the header is not braced by perpendicular framing, the IRC reduces allowable spans for 2×8, 2×10 and 2×12 headers by 30 percent. The 2×6 is exempt.
How many jack studs do I need?
The IRC table specifies 1 or 2 per side depending on the header size and span. Generally, 2-2×6 and 2-2×8 need 1, while 2-2×10 and 2-2×12 need 2.
How many king studs per side?
One king stud per side for openings up to 8 feet. Two per side for openings over 8 feet.
Does the species matter?
The IRC R602.7 tables apply to any #2 grade species group (SPF, Hem-Fir, Douglas Fir-Larch, Southern Pine). Higher grades or engineered lumber can span farther.
Can I use an LVL instead of doubled lumber?
Yes. Laminated veneer lumber (LVL) headers span farther than dimensional lumber. Size them using the LVL manufacturer tables, not the IRC standard tables.
What about garage door headers?
A 16-foot garage opening exceeds all standard doubled-lumber spans. Use an engineered beam (LVL, glulam or steel) and have it designed by an engineer.
Is my data saved?
No. The calculation runs entirely in your browser and nothing you enter is stored or sent anywhere.
Sources
- International Code Council, IRC R602.7 Table R602.7(1) (header and girder spans for exterior bearing walls).
- up.codes, IRC 2021 Chapter 6 Wall Construction (IRC R602.7 text and footnotes).
- City of Waterloo IA, Header Sizing Handout (IRC R602.7 summary with king stud rules).
- Fine Homebuilding, The Right Header for Every Wall (non-bearing header rules and framing practice).
Related Calculators
Sizing a header?
Explore all framing calculatorsThis calculator uses conservative values from IRC R602.7 for #2 grade lumber of any species group. Actual allowable spans depend on species, grade, building width and load. Confirm header sizing with your local building department or a structural engineer. Spotted an error? Let us know.