trowelmath
Window rough opening
Framing · Calculator

Window rough opening calculator

The framed opening to leave in a wall for a new-construction window, sized from the unit. Width, height, and the header length — with the shim gap tied to the frame material instead of hidden inside one fixed number.

W
Detail W — Rough opening
— Opening — in
Rough opening width—
Rough opening height—
Added to unit width—
Added to unit height—
Header length (opening + 2 jacks)—

01 How the math works

A new-construction window comes as a single unit with an integral nailing flange — no separate jamb for the framing to swallow. The carpenter frames an opening a little larger than the unit, sets it in, then shims it plumb, level, and square before nailing off the flange. The rough opening is the unit size plus a shim gap on every side.

The gap is the same at both jambs, at the head, and at the sill, so it lands on height exactly as it lands on width. A window is shimmed on four sides, not three — unlike a door, there is no floor to leave open at the bottom.

RO width = unit width + 2 × shim per side
RO height = unit height + 2 × shim per side
Header = RO width + 3 in (two 1-1/2 in jack studs)

With a standard 1/4 in (6 mm) shim gap each side, the allowance is 2 × 1/4 = 1/2 in on both width and height. That is the familiar "unit plus half an inch" — written as a sum so you can see it is two shim gaps, not a constant, and swap the gap when the frame changes.

02 Worked example

Take the common bedroom window: a 36 in × 48 in double-hung unit (914 mm × 1,219 mm), vinyl-framed, with a 1/4 in (6 mm) shim gap on each side.

Width: 36 + 2 × 1/4 = 36-1/2 in (927 mm). Height: 48 + 2 × 1/4 = 48-1/2 in (1,232 mm). So the framed opening is 36-1/2 × 48-1/2 in. The header above it bears on two jack studs, so it spans the opening width plus two 1-1/2 in jacks: 36-1/2 + 3 = 39-1/2 in (1,003 mm). A fiberglass unit of the same size, framed at 3/8 in per side, needs a 36-3/4 × 48-3/4 in opening instead.

03 When this calculator is wrong

The number here is a per-side shim gap, not a universal constant. Two things break a fixed-addition "window rough opening" rule, and both have a number attached.

04 What to do with the result

Frame the opening at the width and height above, then check it for square across both diagonals before the unit arrives — a 1/4 in of shim per side only trues a rough opening that started close. Confirm the exact rough opening on the window's own spec sheet, since the shim gap shifts with frame material and product line. For the header, use the length here and size its depth from the span table.

05 Common questions

What is the rough opening for a window?
For a standard vinyl, wood, or aluminum unit, frame the opening about 1/2 in larger than the window in both width and height — a 1/4 in (6 mm) shim gap at each jamb, the head, and the sill. Composite, fiberglass, and mulled units take 3/8 in per side, a 3/4 in total.
How much bigger should a rough opening be than the window?
A 1/4 in shim gap on each side is the common standard, so the opening is 1/2 in wider and 1/2 in taller than the unit. The gap lets you shim the window plumb and square and leaves room to seal with low-expansion foam. Confirm it against the unit's spec sheet.
What is the rough opening for a 36x48 window?
36-1/2 in wide × 48-1/2 in tall for a standard-frame unit at 1/4 in per side (927 × 1,232 mm). A fiberglass or composite unit of the same size wants 36-3/4 × 48-3/4 in.
Can a window rough opening be too big?
Yes. Past about 1/2 in of gap per side, shims no longer bridge the space cleanly, and the opening needs filler framing before the window is set. Oversizing a window opening makes more work, not a safer install.
Is a window rough opening the window size plus 2 inches?
No — that is the pre-hung door rule, where 2 in covers the jamb and shims. A new-construction window has no separate jamb, so its opening is only about 1/2 in larger than the unit. Borrowing the door number leaves a gap too wide to shim.