Header Size Calculator

Quick answer

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.

Updated 2026-10-17By Shakeel Muzaffar | Reviewed by Prof. Dr. Khalil Mudassar, PhD
Try
Your details
Lumber, Framing and Carpentry
ft
The rough opening width in feet.
The overall building width perpendicular to the header. Wider buildings put more load on headers.
What the wall supports. A wall under a second floor carries more load than one supporting only the roof.
Non-bearing walls can use a flat 2×4 for openings up to 8 feet.
Your results

Recommended header

—
Maximum span (from table)—
Jack studs per side—
King studs per side—
Notes—

Calculations run in your browser. Inputs are not sent to our servers; anything you Save stays in this browser only.

Saved results (0)
Calculator GuideMethod, worked examples, factors and FAQ
How this calculator works1Your inputs2Verified formulameasurementfactor3Result
How it works: your measurements run through a verified formula to give the result.

How to Use the Header Size Calculator

  1. Enter the opening width in feet.
  2. Pick the building width (12, 24 or 36 ft).
  3. Pick the load above (roof only or floor plus roof).
  4. Pick the wall type (bearing or non-bearing).
  5. Read the recommended header, span, jack studs and king studs.

Here is what each result line means:

ResultWhat it means
Recommended headerThe smallest standard doubled header that spans the opening.
Maximum spanThe tabulated span for that header at your building width and load.
Jack studs per sideHow many trimmer studs support the header on each end.
King studs per sideFull-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

Header selection rule
Look up S in IRC R602.7 where S W

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.

  1. Convert the opening width to inches.
  2. 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.
  3. Pick the first header whose span meets or exceeds the opening.
  4. Read the jack stud count from the same table row.
  5. 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.

Worked example: 5-ft opening, 24-ft building, roof and ceiling only
W = 5 ft 2-28 (span 5 ft 9 in at 24 ft width) with 1 jack stud each side

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).

Header12 ft width24 ft width36 ft widthJack studs
2-2×66 ft 0 in4 ft 7 in3 ft 10 in1
2-2×87 ft 7 in5 ft 9 in4 ft 10 in1
2-2×109 ft 0 in6 ft 10 in5 ft 9 in2
2-2×1210 ft 7 in8 ft 1 in6 ft 9 in2

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

Method
Table lookup: smallest doubled header whose IRC R602.7(1) span meets or exceeds the opening width.
Inputs used
Opening width, building width, load condition, wall type.
Constants
IRC R602.7(1) spans at 12, 24, 36 ft building widths, 30 psf ground snow, #2 grade any species. Non-bearing: flat 2×4 up to 8 ft (IRC R602.7.4).
Rounding
Opening converted to inches, rounded to nearest inch.
Edge cases
Non-bearing wall returns flat 2×4. Opening wider than all table spans returns an engineering warning.
Sources
See the Sources list below.
Last reviewed
2026-10-24.

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
Reviewed and sourcedClear, comparable resultsReviewed and sourced
Every figure is checked against cited sources and reviewed by a qualified expert.

Related Calculators

This 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.