Rough Opening Calculator

How we build and test

Enter the size of the door or window to get the rough opening to frame, the header length and the jack stud length. The manufacturer’s stated rough opening always governs, so use these common framing rules when you do not have it yet.

in

Doors: the door slab size, such as 30 × 80. Windows: the actual frame size.

in
in

Blank uses the common rule: 2 in for doors, 1/2 in for windows.

in

Blank uses 2 1/2 in for doors, 1/2 in for windows.

Jack studs each side
in

Windows only: subfloor to the underside of the header. Often set level with the door headers.

Rough opening

Enter the width and height of the door or window.

What this calculator does

  • Rough opening width and height for interior doors, exterior doors and windows
  • Header length, jack stud length and the rough sill height for windows
  • Your own allowances if the manufacturer gives different ones

How to use the rough opening calculator

  1. Choose the opening type.
  2. For a door, enter the door size as it is sold, such as 30 × 80 in. For a window, enter the actual outside size of the frame.
  3. Leave the allowances blank to use the common rules, or type the allowances from the manufacturer’s instructions.
  4. Pick one or two jack studs per side. For a window, enter the height you want the head of the opening.

Formulas

Door rough opening width = door width + 2 in
Door rough opening height = door height + 2 1/2 in, from the subfloor
Window rough opening = frame width + 1/2 in by frame height + 1/2 in
Header length = rough opening width + 3 in for each pair of jack studs
Door jack stud length = rough opening height − 1 1/2 in
Window jack stud length = head height − 1 1/2 in
Top of rough sill = head height − rough opening height

These are the rules most framers work to. The 2 in on a door covers the two side jambs, about 3/4 in each, and leaves room for shims, and the 2 1/2 in covers the head jamb, shim space and clearance under the door. The 1/2 in on a window gives about 1/4 in on every side for squaring and insulating the unit. A jack stud is 1 1/2 in thick, so one on each side adds 3 in to the header, which runs between the full-height king studs. Jack studs stand on the 1 1/2 in bottom plate, which is why they are shorter than the opening height.

Worked example: a 30 × 80 in prehung interior door

  1. Width: 30 + 2 = 32 in.
  2. Height: 80 + 2 1/2 = 82 1/2 in from the subfloor.
  3. Header: 32 + 3 = 35 in, sitting on one jack stud each side between the king studs.
  4. Jack studs: 82 1/2 − 1 1/2 = 81 in, standing on the bottom plate.

For a window with a 36 × 48 in frame and the head at 82 1/2 in: the rough opening is 36 1/2 × 48 1/2 in, the header is 39 1/2 in, the top of the rough sill is 34 in above the subfloor and the cripples under a single 2× sill are 31 in.

Rough openings for common doors

Door size Rough opening Header, one jack each side
24 × 80 in 26 × 82 1/2 in 29 in
28 × 80 in 30 × 82 1/2 in 33 in
30 × 80 in 32 × 82 1/2 in 35 in
32 × 80 in 34 × 82 1/2 in 37 in
36 × 80 in 38 × 82 1/2 in 41 in

Before you frame

Door and window makers publish a rough opening for every unit, and it can differ from the rules above. Exterior doors vary the most because of thicker jambs, sills and brickmould, and some window lines call for 3/4 in instead of 1/2 in. Get the figure from the installation instructions or the label and enter it as an allowance. The opening height is measured from the subfloor, so add to it if thick finished flooring will go in later. Header depth and the number of jack studs depend on the span and the load above: the International Residential Code gives both in the header span tables of Section R602.7, and Section R602.7.5 requires each end of a header to rest on one or more jack studs or on approved framing anchors. This calculator gives lengths only and is an estimate, so the manufacturer’s instructions, the local code or an engineer govern.

Questions

What is the rough opening for a 30 inch door?

For a 30 × 80 in prehung interior door, frame the opening 32 in wide and 82 1/2 in high, measured from the subfloor.

What is the rough opening for a 36 inch door?

By the common rule, 38 × 82 1/2 in for a 36 × 80 in door. For an exterior door, confirm with the manufacturer, because sills and thicker frames often change the figure.

How much bigger should a rough opening be than a window?

Usually 1/2 in wider and 1/2 in taller than the window frame, which leaves about 1/4 in on each side. Some manufacturers ask for 3/4 in, so check the instructions for your window.

How long should a door header be?

The rough opening width plus 3 in when there is one jack stud on each side, or plus 6 in with two. A 32 in rough opening takes a 35 in header.

Sources

  1. 2021 International Residential Code, Chapter 6 Wall Construction, Section R602.7 Headers, International Code Council.
    Used for: header spans and the required number of jack studs in Tables R602.7(1) to R602.7(3), and headers supported on each end by one or more jack studs or approved framing anchors (R602.7.5).

Related calculators