The rough opening is the hole in the framing that a window or door unit goes into later. It is never the same size as the unit: the frame needs room for shims, leveling and sealing, and the opening itself has to be square, plumb and at the right height. Here is where the numbers come from, how to lay them out and check them, how to flash the opening, and why every inch of width changes your stud count and header length.
What a rough opening is
A rough opening is the framed hole in a wall before a window or door is installed. Jack studs form its sides, the header forms its top, and under a window the rough sill forms its bottom; for a door the opening runs down to the subfloor, and the bottom plate is cut out after the wall is stood up. Framers build the opening, installers set the unit later, so this is exactly where two trades meet and where mismatches show up.
The rough opening is always larger than the unit. The space between the window frame and the framing lets the installer shim the unit level and plumb, gives room for wood and vinyl to move with temperature and moisture, and leaves a cavity that can be insulated and sealed properly. With no clearance the unit either will not go in at all or has to be forced, which racks the frame and makes sashes bind.
The finished opening is what you see after drywall, jamb extensions, stool and casing. It is smaller than the rough opening by the thickness of those materials. Mixing the two up is an expensive mistake: ordering a window from finished dimensions, or from an old plan that showed a different unit, leads to a window that does not fit or leaves gaps of an inch or more. Always confirm which opening a drawing or a schedule refers to.
Where the numbers come from: manufacturer data
The right sequence is unit first, rough opening second, framing third. Window and door manufacturers publish the unit size and the recommended rough opening for every product in their catalogs and installation instructions. For US windows the rough opening is typically about 1/2 in larger than the unit in both width and height, but that is a rule of thumb, not a specification: always use the number printed for the exact product line you are buying.
Doors work the same way. A prehung door lists its rough opening for each slab width, and that number already allows for the jambs and shim space. Exterior doors may need extra height for a sill pan and a threshold that has to land on the finished floor. When the unit is not chosen yet, frame to the plans and measure the built opening before ordering, which is normal for custom-sized windows.
Keep one opening schedule that the designer, the framers and the window supplier all use: opening number, unit type, unit size, rough opening width and height, and the height of the rough sill and header from the subfloor. One sheet on site saves a lot of phone calls and prevents the classic situation where everyone works from a different sketch with different tolerances.
| Unit size | From the manufacturer’s catalog or order confirmation |
|---|---|
| Rough opening, width × height | From the manufacturer’s instructions; typically about 1/2 in over the unit for US windows |
| Shim space per side | Half the difference, as the instructions allow |
| Rough sill height | Per plans; 36 in in the calculator model |
| Top of rough opening | Per plans; 82-1/2 in in the calculator model |
| Door threshold | Allow for finished flooring, per the door manufacturer |
Shim space: why you do not guess it
How much clearance a unit needs depends on its material, size, color and fastening method and on the wall assembly. Dark vinyl frames expand more in the sun, a wide unit moves more than a narrow one, and a wood frame behaves differently from aluminum or fiberglass. That is why there is no universal number and why the installation instructions that come with the unit are the reference, not memory or the last job.
Too little clearance leaves no room to shim the unit level and plumb, and the gap is too thin to insulate: foam goes in as a skin, backer rod does not fit, and air leaks through. Too much clearance is not better: fasteners work over a long unsupported length, a lot of foam is needed, and interior trim struggles to cover the gap. Sometimes framers then add filler strips, which is rework rather than installation.
Clearance is not always the same on every side. Some products want more room at the head for deflection of the header, or extra height at the sill for a sloped sill pan. Know this before you build the wall, because changing the rough sill height afterwards means moving or recutting the cripples under it and possibly the trim heights in the whole room.
How the opening changes the framing
Every opening rebuilds a piece of the wall. Full-height king studs stand at each side, jack studs (trimmers) are nailed to them and carry the header. That is four studs per opening. Layout studs that would fall inside the opening are left out. A framing calculator counts the same way: plus two kings and two jacks per opening, minus the layout studs inside the rough opening width.
How many layout studs disappear depends on width and spacing. At 16 in on center, a 3 ft rough opening replaces two layout studs. Below the rough sill and above the header the layout continues with cripple studs, whose count follows the layout inside the opening, at least one. So a wider opening changes the stud list, the cripple list and the header length at the same time.
Header length is the rough opening width plus the bearing on the jacks at both ends. With single 1-1/2 in jacks, a 36 in opening takes a 39 in header. The header size, number of plies and jack count in a bearing wall come from the code tables or the engineer, not from arithmetic: the IRC provides header span tables, and the calculator only estimates length.
Heights: rough sill, top of opening, header
Measure all heights from one reference, normally the top of the subfloor the bottom plate sits on. The calculator model puts the top of the rough sill at 36 in, the top of the rough opening at 82-1/2 in and uses a 7-1/4 in header. If finished flooring, underlayment or a thick tile bed is coming, account for it: what matters to people is sill and door height above the finished floor.
The cripple lengths follow from those heights. With 1-1/2 in lumber, a cripple under the window is 36 − 1-1/2 − 1-1/2 = 33 in, because you subtract the bottom plate and the rough sill. The jack stud is 82-1/2 − 1-1/2 = 81 in. Above the header there is only a short space left up to the double top plate; in the calculator’s sample room the cripples there come out at about 3-1/4 in.
Raise the head height or use a deeper header and the space above it disappears; many framers then let the header sit tight under the top plate and skip the cripples, or use a flat 2x on top. Lower the sill and the cripples underneath get longer. The number of cripples stays the same; only their length changes. Lock these heights in the opening schedule before cutting.
Door openings: thresholds and finished floor
A door opening has no rough sill. It runs from the subfloor to the header, and the bottom plate is cut out flush with the jacks once the wall is up. The rough opening height has to allow for finished flooring, the threshold and clearance under the slab. A common US convention is 82-1/2 in to the underside of the header for a standard 80 in prehung door, but check the specific unit.
Exterior doors usually need more attention. The threshold has to land on a sill pan and still clear the finished floor inside, the subfloor may need to be notched or the slab recessed, and the door may be set with its frame flush with the exterior sheathing or furred out for trim. All of that is in the manufacturer’s instructions and should be decided before the wall is framed.
Width also needs a little planning. Leave room beside the opening for casing and a switch box, and check that a door near a corner still leaves backing for drywall on the adjacent wall. A door squeezed in wherever it fits at the last minute almost always produces awkward trim, extra studs and a switch in the wrong place.
Laying out the opening on the plates
Lay out openings on the bottom and top plates tacked together. First mark the stud layout from one end of the wall, then mark each opening from the schedule. From the centerline of the opening measure half the rough opening width each way: those are the inside faces of the jacks. Mark the jacks, then the kings beside them.
Mark the cripples on the same layout as the common studs, as if the opening were not there. Sheathing and drywall edges then land on cripples above and below the window, and you avoid cutting filler blocks. Keeping the layout through openings is one of the habits that separates a careful framer from someone building piece by piece.
Use clear symbols: X for a full stud, J for a jack, C for a cripple, K for a king if you like. Before nailing anything, measure the rough opening width again between the jack marks, not between the kings. Measuring to the wrong lines is a classic error that makes the opening 3 in too wide.
Building and checking square
Openings are built with the wall lying on the deck: kings, header, jacks, rough sill, cripples. Then check the geometry: width at the top, middle and bottom, height at both sides, and both diagonals. Equal diagonals mean the opening is square. Fix any rack now, while the wall is flat and easy to push, not after it is stood up and sheathed.
Once the wall is up and braced, check that the jacks are plumb and the rough sill and header are level. The installer can shim out small errors, but an opening that is out of square by a quarter inch eats most of the shim space on one side. The rough sill must not sag; the unit bears on it through shims.
When the wall is sheathed with plywood or OSB, the opening is usually cut out after sheathing with a router or saw riding on the framing, so the sheathing edge matches the jacks exactly. Measure again from the cut opening, because this is the opening the window crew will measure and flash.
- Width at top, middle and bottom within the manufacturer’s tolerance.
- Height the same on both sides.
- Diagonals equal, opening square.
- Jacks plumb, rough sill and header level.
- Rough sill flat, with cripples on layout below it.
- Sill and head heights match the opening schedule.
Measuring an opening for ordering
When a window is ordered to fit a built opening, measure the rough opening clear between the framing members or sheathing the unit will sit against. Take the width at three heights and the height at three points, and use the smallest of each. Then subtract the clearance the manufacturer specifies to get the unit size. Skip this step and you will order a window that fits with no room to shim.
Note the wall depth too: stud depth, sheathing, any continuous exterior insulation and the interior finish. That determines whether the window needs jamb extensions, where the flange sits and how the exterior trim will meet it. In walls with exterior foam the window may be set in a buck or at the sheathing plane, which the manufacturer and the designer should agree on.
Record each measurement on the schedule with the opening number and a photo. A window made to someone else’s numbers is a frequent source of disputes, so the person ordering the unit should measure. The framer’s job is to deliver an opening that matches the plans and is square.
Flashing and sealing the opening
A properly sealed opening sheds water first and stops air second. The usual sequence is shingle-style: the sill is protected first with a sill pan or flexible flashing tape turned up the jacks, the window is set, the jamb flanges are taped, and the head flashing goes on last so it laps over everything below it. The water-resistive barrier is tucked or taped in the same lapped order.
Inside, the gap between the unit and the framing is insulated, typically with low-expansion window and door foam or backer rod and sealant, so it does not bow the frame. Shims sit at the sill under the frame corners and at the jambs near the fastener and hinge locations. The exact tape, foam and shim pattern come from the manufacturer’s instructions and the wall system.
The sill matters most. Water that gets past the exterior trim has to drain back out, not into the wall. Never caulk the bottom flange solid if the instructions call for drainage, and never leave foam exposed to sun and rain. Low-expansion foam is insulation and air sealing; it is not a water barrier.
Trim, stools and finished surfaces
Plan the opening with the finish in mind. Drywall wraps onto the jacks and rough sill or stops at jamb extensions, a stool and apron sit on the rough sill, and exterior trim needs room against the siding. Each choice changes how much the unit has to project from the framing, which is much easier to decide before the opening exists.
The rough sill height is not simply 36 in on the drawing. It follows from the unit’s sill height minus the shim space below the frame and any sill pan thickness. Set it too low and the stool needs filler; too high and the unit will not go in. A few minutes with the instructions prevents both.
Casing hides a joint but does not fix geometry. An opening out of square shows as a tapered reveal; a sagging sill shows as a gap under the stool. The more accurate the rough opening, the less shimming, scribing and caulking the trim carpenter has to do, and the cleaner the window looks inside and out.
Common mistakes
The most common mistake is framing to the unit size with no clearance. Next come confusing rough and finished dimensions, and measuring between kings instead of jacks. Forgetting the finished floor under a door is also frequent: the slab drags or the threshold sits above the floor. Each of these is fixed only by tearing out part of the framing.
The dangerous one is widening an opening in a bearing wall without changing the header: a header sized for a short span ends up over a longer one and deflects. Any change in width means checking the header size against the code tables or the engineer. Removing a jack to gain a little width is equally risky, because the header loses its bearing.
Small things cost money too: a rough sill with no pan, foam with no tape, sheathing cut ragged at the opening, cripples off layout. None of it is visible at framing, but it shows up at drywall and in the first winter as drafts, condensation and cracked caulk. An opening schedule and a quick diagonal check cost less than any repair.
Openings in the framing calculator
In the framing calculator you enter the rough opening width for windows and doors. From that it works out how many layout studs drop out, how many cripples are needed below sills and above headers, the header length and the rough sill length. Heights are fixed in the model: sill at 36 in, top of opening at 82-1/2 in, header depth 7-1/4 in.
In the sample 12 × 12 ft room framed at 16 in on center, two windows and one door add twelve kings and jacks and remove six layout studs. The cripples come to ten: four of about 33 in below the windows and six of about 3-1/4 in above the headers. The two rough sills add 6 ft to the plate footage.
If your openings sit at other heights, the piece count hardly changes; recalculate the cripple lengths by hand with the formulas above. Header size and fastening in bearing walls always come from the code tables or the design. The calculator helps with the lumber order; it is not a structural check.
Checklist
- Unit selected and rough opening taken from the manufacturer’s instructions.
- Shim space allowed as the manufacturer specifies.
- Sill and head heights set from one reference, allowing for finished floor.
- Width measured between jacks; diagonals equal.
- Header size and bearing match the code tables or design for this span.
- Flashing sequence planned: sill pan, jambs, head, interior air seal.
Frequently asked questions
How much bigger than the window is the rough opening?
By the clearance the manufacturer specifies. For US windows it is typically about 1/2 in larger in width and height, but use the number for your product.
Can I order windows before framing?
Yes, if you frame exactly to the rough opening listed for those units. For custom units it is safer to measure the built opening first.
Where do I measure rough opening width?
Between the inside faces of the jacks, or the sheathing if it returns into the opening, at three heights, using the smallest value.
How do I check that an opening is square?
Measure both diagonals; they are equal in a square opening. Also check jacks for plumb and the rough sill for level.
How high should the rough sill be?
Per the plans, adjusted for the unit’s sill height, shim space and sill pan. The calculator model uses 36 in to the top of the rough sill.
How long are the cripples under a window?
With a 36 in sill and 1-1/2 in plate and rough sill, 33 in. Above a 7-1/4 in header at 82-1/2 in they are only a few inches long.
How many studs does an opening add?
Two kings and two jacks. Layout studs that would fall inside the opening are omitted.
How long is the header?
Rough opening width plus bearing on the jacks: 39 in for a 36 in opening with single jacks. Size comes from code tables or design.
What fills the gap around a window?
Low-expansion foam or backer rod and sealant inside, with flashing tape and the WRB lapped outside, per the manufacturer’s instructions.
What if the opening is too small?
Do not force the unit or trim a jack. Reframe the side or order a unit to the actual size, and check any header change with the design.
Tolerances and verification before framing proceeds
Before calling for a framing inspection, verify each rough opening against the unit’s installation instructions and the floor plan dimensions. Check the diagonal measurement of each opening - if the diagonals differ by more than 3mm (⅛ inch), the opening is out of square and the unit may not install cleanly. Verify that the header bearing length on each jack stud is at least 38mm (1.5 inches) on 38mm lumber or the minimum specified for the header span. Mark the rough opening width and height on the king studs with a permanent marker before the opening is closed in - this gives the window or door installer an immediate reference and prevents disputes about whether the rough opening is as specified. Keep the RO dimensions sheet from the unit’s installation manual with the job file.
Related terms
- Rough opening
- Wall stud
- Bottom plate
- Top plate
- Stud spacing
- King and jack studs
- Cripple stud
- Lintel (header)
- Blocking and backing
- Fireblocking
Sources and standards
- ICC: International Residential Code 2021, Chapter 6 Wall Construction
- American Wood Council: Wood Frame Construction Manual
- Eurocode 5 (EN 1995)
- Window and door manufacturer installation instructions for the specific product
