Rough Opening Calculator

Work out the framed rough opening for a window or door unit, plus the header length and the rough sill height.

Free · No sign-up · Runs in your browser

How to use the rough opening calculator

Framing an opening too tight means planing jambs or reframing on site, and framing it too loose leaves big shim gaps that are hard to seal. This calculator turns a door or window size into the rough opening, then works out the header length that bears on the jack studs and, for windows, where the rough sill sits. It is meant for quick checks on drawings and framing lists.

  1. Choose units and the opening type. Switching type loads the usual allowances: 2 in by 2½ in for prehung doors and ½ in each way for windows.
  2. Enter the size. For a door use the slab size, such as 36 × 80 in. For a window use the unit's outside frame size.
  3. Check the allowances against the manufacturer's installation guide and change them if it gives a different rough opening.
  4. Set the jack studs and stud thickness. Use the number of jacks the header span table or engineer calls for.
  5. For windows, enter the head height above the subfloor to get the rough sill height.

Rough opening formulas

Rough opening width = unit width + width allowance
Rough opening height = unit height + height allowance
Header length = rough opening width + 2 × jacks per side × stud thickness
King-to-king distance = header length (kings sit outside the jacks)
Rough sill height = head height − rough opening height

The jack studs (also called trimmers) carry the header, and the king studs run full height beside them. Cripple studs fill the space above the header and below the rough sill on the usual layout spacing. The table shows common sizes using the default allowances.

UnitRough openingHeader, one jack each side
30 × 80 in door32 × 82½ in35 in
32 × 80 in door34 × 82½ in37 in
36 × 80 in door38 × 82½ in41 in
35½ × 59½ in window36 × 60 in39 in
47½ × 47½ in window48 × 48 in51 in

Worked examples

A 36 inch entry door

A 36 × 80 in prehung door gets a rough opening of 38 × 82½ in. With one 1½ in jack each side the header is 38 + 3 = 41 in long, and the king studs sit 41 in apart. The jacks are cut to 82½ in from the subfloor to carry the header.

A bedroom window

A window unit is 35½ × 59½ in. With ½ in allowances the rough opening is 36 × 60 in and the header is 39 in. With the head lined up with the doors at 82½ in, the rough sill sits at 22½ in above the subfloor. If this is an egress window, check the sill height and clear opening against the code limit.

A wide patio door

A 72 × 80 in sliding door with two jack studs each side has a 74 × 82½ in rough opening and a header of 74 + 4 × 1½ = 80 in. Wide openings like this usually need an engineered or span-table header and should be checked for point loads above.

Who this calculator helps

  • Architects and technologists dimensioning openings on framing plans and window and door schedules.
  • Framers and carpenters cutting jacks, kings and headers for a wall.
  • Contractors checking that ordered windows and doors match the framed openings before installation.
  • Renovators resizing an opening for a replacement door or window.

Practical tips

  • Check bedroom windows with the egress window calculator and glazing ratios with the window-to-wall ratio calculator.
  • Size framing members for longer spans with the joist and rafter span calculator, and work out casing lengths with the baseboard and trim calculator.
  • Allow for the finished floor build-up when framing door openings over thick tile, stone or underfloor heating.
  • Measure the rough opening at the top, middle and bottom, and check the diagonals for square before ordering.
  • Leave the shim space open for low-expansion foam or backer rod and sealant, and flash the sill before installing the unit.

Planning new windows on an existing facade? Test the look on a photo first with AI Exterior Redesign.

From numbers to pictures

See the space before it's built.

Once the plan works on paper, BasedFrame turns a sketch, a massing model or a site photo into a photoreal render in seconds. Try Sketch to Render or Room Redesign with free credits.

Try BasedFrame free

FAQ

Rough Opening Calculator FAQ

What is a rough opening?

A rough opening is the framed hole in a wall that a window or door unit is installed into. It is slightly larger than the unit so the frame can be shimmed level, plumb and square, and so there is room for insulation and flashing around it. It is measured between the jack studs and from the subfloor or rough sill to the underside of the header.

How much bigger is a rough opening than the window?

A common rule is to frame the rough opening ½ inch wider and ½ inch taller than the window unit, which leaves about ¼ inch on each side and at the head for shims. Many manufacturers list a window by its rough opening and make the unit ½ inch smaller. Always follow the rough opening on the manufacturer's data sheet when you have it.

What is the rough opening for a 36 inch door?

For a standard 36 × 80 inch prehung door, the usual rule is to add 2 inches to the width and about 2½ inches to the height, giving a rough opening of 38 × 82½ inches. That allows for the jamb, a little shim space and the finished flooring. Some doors and thick floor finishes need a taller opening.

How do I calculate rough opening for a prehung door?

Start from the door slab size. Add 2 inches to the width for the two jambs and shim space, and 2 to 2½ inches to the height for the head jamb, shims and clearance over the finished floor. A 32 × 80 inch door has a 34 × 82½ inch rough opening on this rule.

How long should the header be?

The header spans the rough opening and bears on the jack studs at each end, so its length is the rough opening width plus the thickness of the jack studs on both sides. With one 1½ inch jack stud each side, the header is the rough opening plus 3 inches. Header depth depends on the span and load, which a span table or engineer must confirm.

How many jack studs does an opening need?

Small openings in light-frame walls often need one jack stud each side, and wider or more heavily loaded openings need two or more, as set out in building code tables such as IRC R602.7.5 or by the engineer. The calculator lets you set the number of jacks so the header length stays correct.

What is the rough sill height for a window?

Windows are usually set so their heads line up with the door heads, often at about 82½ inches above the subfloor in US houses. The rough sill height is the head height minus the rough opening height. For a 60 inch tall rough opening with the head at 82½ inches, the rough sill is at 22½ inches, which also needs checking against egress and guard rules.

Can I use these rules in metric?

Yes, as a guide. The calculator's metric defaults are the US rules converted to millimetres: about 13 mm extra each way for windows and about 51 mm wider and 64 mm taller for doors. Many European and UK makers specify their own fitting tolerances, often 10 to 20 mm around the frame, so use their figures where available.

Keep exploring

More free tools for architects

Turn any listing
into rooms that sell

Start with a Zillow link or a single photo. Redesign, stage, relight and walk buyers through every room, ready to list today.