Skip to main content
New: Bathroom Remodel Cost Estimator is live. Try it ›
Structure, Framing & Openings Live Calculation Verified Formula

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.

1. Opening Type & Unit Sizing
Door slab or window frame width
Standard door: 80"; window e.g. 60"
2. Wall Framing Height & Header Size
Sandwich with 1/2" OSB to 3.5" thickness
Estimated Material Required
38" × 62" RO
What to Buy at the Store

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 ClassificationWindow Unit
Unit Callout Size36" Wide × 60" High
Framed Rough Opening (RO)38" W × 62" H
Header AssemblyDouble 2×8 + 1/2" OSB (41" Long)
King Studs (Full Height)2 studs (1 left, 1 right)
Jack / Trimmer Studs2 studs (supports header bearing)
Top Cripple Studs3 studs (@ 16" OC)
Bottom Cripple Studs3 studs (@ 16" OC)
Window Rough Sill Plate38" 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×12 IRC 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

  1. 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).
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. 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. 1. Calculate Rough Opening Width: 36" + 2.0" = 38.0 inches.
  2. 2. Calculate Rough Opening Height: 60" + 2.0" = 62.0 inches.
  3. 3. Full-Height King Studs: 2 full-length 92-5/8" studs (1 left, 1 right).
  4. 4. Jack / Trimmer Studs: 2 studs supporting the header underside at standard 82.5" height = 81.0 inches.
  5. 5. Header Assembly: Double 2×8 dimensional lumber + 1/2" OSB spacer = 38" RO + 3" (two 1.5" jacks) = 41.0 inches long.
  6. 6. Window Rough Sill Plate: 2 pieces (single or double 2x4 sill) cut to 38.0 inches wide.
  7. 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. 8. Bottom Cripple Studs (Sill to Bottom Plate): 81" jack - 62" RO = 19" sill height = 2 bottom cripple studs.
  9. 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 SizeOpening ClassificationRough Opening (W × H)Header Span RequirementTrimmer / Jack Count
24" × 80" (2-0 Door)Interior Pre-Hung Door26" × 82-1/2"Double 2×4 or 2×61 Jack per side
30" × 80" (2-6 Door)Interior Pre-Hung Door32" × 82-1/2"Double 2×61 Jack per side
36" × 80" (3-0 Door)Exterior Entry Door38" × 82-1/2"Double 2×6 or 2×81 Jack per side
36" × 60" (3050 Window)Double-Hung Window38" × 62"Double 2×81 Jack per side
60" × 60" (5050 Window)Double Slider Window62" × 62"Double 2×8 or 2×102 Jacks per side
72" × 80" (6-0 Patio Door)Sliding Glass Door74" × 82-1/2"Double 2×102 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.