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.
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.
The rough opening formula varies slightly by door type because different door systems have different frame and clearance requirements.
| Door Type | RO Width Formula | RO Height Formula | Notes |
|---|---|---|---|
| Interior single swing | Door width + 2" | Door height + 2" | 1" each side for frame + shim |
| Exterior single swing | Door width + 2" | Door height + 2.5" | Extra height for sill pan / threshold |
| French / double door | Combined width + 2" | Door height + 2" | Measure both slabs combined |
| Bi-fold door | Opening width + 1" | Door height + 1.5" | Tighter clearance, track mounts in RO |
| Sliding / pocket door | 2× 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.
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 Width | Load-Bearing (2×4 wall) | Load-Bearing (2×6 wall) | Non-Load-Bearing |
|---|---|---|---|
| Up to 3'–0" | 2× 2×6 | 2× 2×8 | 2× 2×4 (flat) or single 2×4 |
| 3'–1" to 4'–0" | 2× 2×8 | 2× 2×10 | 2× 2×4 |
| 4'–1" to 5'–0" | 2× 2×10 | 2× 2×10 | 2× 2×6 |
| 5'–1" to 6'–0" | 2× 2×10 | 2× 2×12 | 2× 2×6 |
| 6'–1" to 8'–0" | 2× 2×12 | Engineered LVL | 2× 2×8 |
| Over 8'–0" | Engineered LVL | Engineered LVL | 2× 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.
A door rough opening involves four types of framing members, each playing a specific structural role.
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, 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 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.
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 door openings require additional considerations beyond the structural framing.
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.