Rough Opening Calculator: Window & Door Framing
Use this rough opening calculator to calculate exact rough opening (RO) dimensions, structural header sizing, and framing lumber takeoffs for windows, exterior entry doors, and interior pre-hung doors. Automatically determines king studs, trimmer/jack studs, sill plates, and top/bottom cripple studs spaced at 16 inches on center.
Frame rough opening to 38" W × 62" H: Buy two 2×8s (5 ft each), 11 standard 2×4 studs, and 1 sheet of 1/2" OSB header spacer.
| Opening Classification | Window Unit |
|---|---|
| Unit Callout Size | 36" Wide × 60" High |
| Framed Rough Opening (RO) | 38" W × 62" H |
| Header Assembly | Double 2×8 + 1/2" OSB (41" Long) |
| King Studs (Full Height) | 2 studs (1 left, 1 right) |
| Jack / Trimmer Studs | 2 studs (supports header bearing) |
| Top Cripple Studs | 3 studs (@ 16" OC) |
| Bottom Cripple Studs | 3 studs (@ 16" OC) |
| Window Rough Sill Plate | 38" wide |
📐 Show Formula and Default Assumptions
We believe all home improvement estimates should be transparent and verifiable. Below is the exact math running in this browser tool:
-
Window Rough Opening Formula:
RO Width = Window Width + 2.0" | RO Height = Window Height + 2.0"Standard manufacturer clearance allowing shimming, square leveling, and insulation expansion gap. -
Pre-Hung Door Rough Opening Formula:
RO Width = Door Slab + 2.0" | RO Height = Door Slab + 2.5"Accommodates 3/4" side jambs, shims, top jamb, and finished floor under-clearance. -
Jack / Trimmer Stud Takeoff:
Jack Studs = 2 (1 per side for spans ≤ 5 ft; 2 per side for spans > 5 ft)Direct vertical bearing members supporting structural header loads down to bottom plate. -
Header Span Sizing Rule:
Span ≤ 4 ft: Double 2×6 | Span ≤ 6 ft: Double 2×8 | Span ≤ 8 ft: Double 2×10 | Span ≤ 10 ft: Double 2×12IRC Table R602.7(1) framing lumber standard for exterior bearing walls with 1/2" plywood spacer.
Note: All default assumptions (waste %, coverage rates, container yields) can be adjusted directly in the input fields above to match your project specifications.
How to Measure and Frame Code-Compliant Rough Openings
- Find manufacturer callout sizing or measure unit jamb exterior: For replacement windows, order by nominal callout (e.g. 3050 window is 36" wide by 60" high).
- Add recommended rough opening clearance: For windows, add 2" to width and 2" to height. For pre-hung exterior doors, add 2" to width and 2-1/2" to height.
- Verify header height alignment: Interior and exterior door and window headers typically align at 82-1/2 inches above the finished subfloor to maintain a uniform 6-foot 8-inch door casing sightline.
- Select structural header depth: Use double 2x6 for spans up to 4 ft; double 2x8 for spans up to 6 ft; double 2x10 for 8 ft patio doors; and double 2x12 for 10 ft garage/patio spans sandwiching 1/2" OSB filler.
- Cut king, jack, and cripple studs: Full-length king studs run from bottom plate to top plate; jack studs support the header underside; cripple studs maintain 16" on-center spacing above the header and below the sill.
- Always crown header lumber: Sight down the edge of your header 2x stock and face the natural crown (high curve) upward so floor loads flatten the header rather than causing sagging.
How the Window & Door Framing Calculation Works (Worked Example)
Consider framing an exterior window with a nominal 36" wide × 60" high callout in an 8-foot (96-inch) bearing wall using 16" on-center stud spacing and a double 2×8 header:
- 1. Calculate Rough Opening Width: 36" + 2.0" = 38.0 inches.
- 2. Calculate Rough Opening Height: 60" + 2.0" = 62.0 inches.
- 3. Full-Height King Studs: 2 full-length 92-5/8" studs (1 left, 1 right).
- 4. Jack / Trimmer Studs: 2 studs supporting the header underside at standard 82.5" height = 81.0 inches.
- 5. Header Assembly: Double 2×8 dimensional lumber + 1/2" OSB spacer = 38" RO + 3" (two 1.5" jacks) = 41.0 inches long.
- 6. Window Rough Sill Plate: 2 pieces (single or double 2x4 sill) cut to 38.0 inches wide.
- 7. Top Cripple Studs (Header to Top Plate): 96" wall - 82.5" header top = ~10.5" cripples. At 16" OC across 38" opening = 2 top cripples.
- 8. Bottom Cripple Studs (Sill to Bottom Plate): 81" jack - 62" RO = 19" sill height = 2 bottom cripple studs.
- 9. Total Framing Lumber Takeoff: 4 full 2x4 studs + two 4-ft 2x8 header boards + 1 piece of 1/2" OSB.
Standard Door & Window Callouts and Rough Opening Sizes
| Nominal Unit Size | Opening Classification | Rough Opening (W × H) | Header Span Requirement | Trimmer / Jack Count |
|---|---|---|---|---|
| 24" × 80" (2-0 Door) | Interior Pre-Hung Door | 26" × 82-1/2" | Double 2×4 or 2×6 | 1 Jack per side |
| 30" × 80" (2-6 Door) | Interior Pre-Hung Door | 32" × 82-1/2" | Double 2×6 | 1 Jack per side |
| 36" × 80" (3-0 Door) | Exterior Entry Door | 38" × 82-1/2" | Double 2×6 or 2×8 | 1 Jack per side |
| 36" × 60" (3050 Window) | Double-Hung Window | 38" × 62" | Double 2×8 | 1 Jack per side |
| 60" × 60" (5050 Window) | Double Slider Window | 62" × 62" | Double 2×8 or 2×10 | 2 Jacks per side |
| 72" × 80" (6-0 Patio Door) | Sliding Glass Door | 74" × 82-1/2" | Double 2×10 | 2 Jacks per side |
Frequently Asked Questions About Window & Door Opening Calculator
What is the difference between nominal size and rough opening size?
Nominal size is the marketed dimension of the window sash or door slab (e.g. 36" × 80"). Rough opening is the actual framed opening between wood studs, which is framed 2 inches wider and 2 to 2-1/2 inches taller to leave room for leveling shims and foam insulation.
What is the purpose of king studs versus jack studs?
A king stud runs continuous from bottom plate to top plate to provide lateral shear strength. A jack (or trimmer) stud is cut shorter and nailed directly inside the king stud to provide a solid vertical bearing column directly under the header.
When does building code require two jack studs on each side of an opening?
Under IRC framing tables, openings exceeding 5 to 6 feet in width in load-bearing walls require two jack studs under each end of the header to carry the concentrated floor and roof loads without crushing the wood fibers.
Why do headers have a 1/2-inch plywood spacer sandwiched in the middle?
Two pieces of 2x lumber (each 1-1/2" thick) total 3 inches. Standard 2x4 wall studs are 3-1/2" wide. Sandwiching a 1/2-inch sheet of plywood or OSB between two 2x boards creates a finished header thickness of exactly 3-1/2 inches, sitting flush with the wall framing on both sides.
How much space should be left between a window frame and the rough opening for insulation?
Maintain approximately 1/4 to 1/2 inch of space around all four sides. Seal this gap using low-expansion closed-cell polyurethane window and door foam. Standard high-expansion foam expands too aggressively and will bow the window jamb, preventing sashes from sliding.