Free Framing Tool

Door Rough Opening Calculator – Size, Header & Framing

Reviewed and updated: August 2026

Calculate rough opening width and height, header size, jack studs, king studs, cripple studs, and total framing lumber for any door type and wall configuration.

Enter your door unit size, door type, wall thickness, and load-bearing status to get a complete framing spec. Always verify against your door manufacturer's installation instructions before cutting.

Affects rough opening formula
Nominal unit width
Nominal unit height
Stud size used in wall
Affects header size requirement
Floor to ceiling (for cripple count)
For total lumber estimate
#
FRAMING DIMENSIONS
Rough Opening Width
—
inches
Rough Opening Height
—
inches
Header Size
—
each opening
Jack Studs (each side)
—
trimmer studs
King Studs (each side)
—
full-height studs
Cripple Studs Above
—
short studs
Framing Lumber
—
linear ft (per door)
Load Status
—

How Door Rough Openings Work

The rough opening (RO) is the framed hole in the wall that the door unit (frame, jamb, and all) gets installed into. It is always larger than the door unit itself. The extra space accounts for the door frame thickness, shimming clearance so the frame can be plumbed and leveled regardless of framing imperfections, and in exterior applications, the sill pan flashing and threshold clearance.

The door unit size (also called the slab size or nominal size) is the size of the door itself, not including the frame. A 2'–8" × 6'–8" door (32" × 80") will have a larger rough opening, typically 34" × 82" for a standard interior installation. Getting the RO size right is critical: too small and the unit won't fit; too large and shimming becomes difficult, the header bears on air, and the frame may not be rigid enough to operate correctly.

For the lumber needed to frame your opening, use our lumber calculator. For drywall around the opening, see our drywall calculator.

Rough Opening Formulas by Door Type

The rough opening formula varies slightly by door type because different door systems have different frame and clearance requirements.

Door TypeRO Width FormulaRO Height FormulaNotes
Interior single swingDoor width + 2"Door height + 2"1" each side for frame + shim
Exterior single swingDoor width + 2"Door height + 2.5"Extra height for sill pan / threshold
French / double doorCombined width + 2"Door height + 2"Measure both slabs combined
Bi-fold doorOpening width + 1"Door height + 1.5"Tighter clearance, track mounts in RO
Sliding / pocket door2× door width + 1"Door height + 2"RO must accommodate the full pocket width

These are standard formulas based on common prehung door unit dimensions. Always verify against the specific door unit's installation instructions; manufacturers may specify different clearances for their products.

Header Sizing: Load-Bearing vs. Non-Load-Bearing

The header is the horizontal structural member that spans the rough opening and carries the load from above down to the jack studs on either side. Its size depends on the span (the width of the opening) and whether the wall is load-bearing.

Opening WidthLoad-Bearing (2×4 wall)Load-Bearing (2×6 wall)Non-Load-Bearing
Up to 3'–0"2× 2×62× 2×82× 2×4 (flat) or single 2×4
3'–1" to 4'–0"2× 2×82× 2×102× 2×4
4'–1" to 5'–0"2× 2×102× 2×102× 2×6
5'–1" to 6'–0"2× 2×102× 2×122× 2×6
6'–1" to 8'–0"2× 2×12Engineered LVL2× 2×8
Over 8'–0"Engineered LVLEngineered LVL2× 2×10 or engineer

Header sizing shown above is a general guideline based on typical residential loading and standard IRC span tables. For any load-bearing opening wider than 6 feet, or in areas with heavy snow loads or unusual structural conditions, always confirm header size with a structural engineer or your local building department. An undersized header is one of the most serious framing mistakes and may not be visible until the wall begins to sag years later.

Jack Studs, King Studs, and Cripples Explained

A door rough opening involves four types of framing members, each playing a specific structural role.

KING STUD JACK STUD (trimmer) HEADER CRIPPLES BOTTOM PLATE TOP PLATES (doubled) ROUGH OPENING
The four framing members of a door rough opening: king studs, jack studs, header, and cripples.

King Studs

King studs are full-height studs that run from the bottom plate to the top plate on each side of the opening. They are the primary vertical members that transfer load from the top plate to the foundation. King studs are always present on both sides of any door opening regardless of load-bearing status.

Jack Studs (Trimmer Studs)

Jack studs, also called trimmers, run from the bottom plate up to the underside of the header. They support the header from below and carry the load transferred from above. Standard openings use one jack stud per side; wider openings (typically over 6 feet) require two jack studs per side to adequately support the header. Jack studs are nailed directly to the inside face of the king studs.

Cripple Studs

Cripple studs are short studs that fill the space between the top of the header and the top plate. They maintain stud spacing for sheathing and drywall attachment and transfer the load of the top plate into the header. Cripple count depends on the stud spacing, the width of the opening, and the distance between the top of the header and the top plate.

Sill Plates (for windows, not doors)

Unlike window openings, standard door openings do not have a sill plate at the bottom; the door threshold sits at or near finished floor level. Pocket and sliding doors may have a track at the floor instead.

Exterior vs. Interior Door Framing Differences

Exterior door openings require additional considerations beyond the structural framing.

Common Door Framing Mistakes

Planning Door Framing Costs

Framing lumber for a single door opening typically runs $40–$120 in materials depending on wall thickness, header size, and lumber prices. Prehung interior door units range from $80–$300; exterior prehung units run $200–$800+ depending on material and style. Professional installation adds $150–$400 per door for framing and hanging.

For a complete lumber estimate for your framing project, use our lumber calculator. For drywall around new openings, see our drywall calculator. For a broader material estimate, see our how to estimate materials guide. For total project budgeting, see our project cost estimation guide.

Frequently Asked Questions
How do I calculate rough opening size for a door? ▾
For a standard interior prehung door, add 2 inches to the door width and 2 inches to the door height to get the rough opening. For example, a 2'–8" × 6'–8" door (32" × 80") needs a rough opening of 34" × 82". For exterior doors, add 2.5 inches to the height to allow for the sill pan and threshold. Sliding/pocket doors need a rough opening width equal to twice the door width plus 1 inch. Always check the manufacturer's installation spec for the specific unit you're installing.
What size header do I need for a door opening? ▾
Header size depends on the opening width and whether the wall is load-bearing. For a load-bearing 2×4 wall with a standard 2'–8" door (34" rough opening), doubled 2×6 headers are typical. For wider openings or 2×6 walls, the header size increases. Non-load-bearing walls can use lighter headers, sometimes a single flat 2×4 is sufficient for narrow openings. For any load-bearing opening over 6 feet wide, or in areas with heavy snow loads, confirm the header size with a structural engineer or your local building department.
How many jack studs do I need per side? ▾
Most standard door openings up to about 6 feet wide use one jack stud (trimmer stud) per side. Wider openings (typically those requiring doubled 2×12 or LVL headers) use two jack studs per side to provide adequate bearing surface for the larger header. The jack studs carry the header load down to the bottom plate, so using the correct number is a structural requirement, not just a framing preference. This calculator recommends jack stud count based on opening width and load-bearing status.
What is the difference between a jack stud and a king stud? ▾
King studs are full-height studs that run from bottom plate to top plate on each side of the opening; they're the outermost vertical members of the opening assembly and are always present. Jack studs (also called trimmer studs) are shorter studs nailed to the inside face of the king studs; they run from the bottom plate up to the underside of the header and directly support the header from below. Together, king and jack studs form the vertical frame on each side of the opening. The header bears on the jack studs; the jack studs bear on the king studs and bottom plate.
Can I use a single 2×4 as a header for a non-load-bearing wall? ▾
Yes, for narrow openings (typically up to 3 feet) in confirmed non-load-bearing walls, a single 2×4 laid flat or a doubled flat 2×4 is generally acceptable under the IRC. However, even in non-load-bearing walls, some framing inspectors and local codes require doubled headers for all openings regardless of span. Always check with your local building department before using a single flat header. If there's any doubt about whether a wall is load-bearing, treat it as load-bearing and size the header accordingly.