Framing calculator
Window Rough Opening Calculator
A window rough opening calculator that turns a window unit size into the framed hole it needs, the rough opening, the header length and size, the king and jack studs, the cripples above and below and the rough sill height. Enter the unit size and the shim allowance, and frame it right the first time. The manufacturer published rough opening always wins when it differs.
- Free to use
- No sign-up
- Formula and sources shown

Got the number? Save it before it gets lost.
A result on a screen is easy to lose. Save this estimate in the app and it stays with the project, ready when you order.
The size on the manufacturer's label, e.g. 36 in for a 3/0 window.
The size on the manufacturer's label, e.g. 48 in for a 4/0 window.
½ in per side is standard. Some vinyl and fibreglass units specify ¼ to ⅜ in. The manufacturer's sheet wins.
2×4 or 2×6. It changes the header plies, not the opening size.
Top of the rough opening above the subfloor. 84 in (7 ft) is the common default.
Totals the rough opening area for all identical windows.
Rough opening
37 × 49 in
Header length
40 in
Header size
Doubled 2×8
King studs / jack studs
2 / 2
Rough sill height
35 in
Cripples above / below
3 / 3
Total RO area (1 window)
12.59 sq ft
Check the manufacturer's installation sheet for the unit you bought. Its published rough opening always wins over this rule of thumb.
Turn this result into a priced plan
Save it to a project, add the rest of your materials, and send a client-ready quote. No retyping, no spreadsheet, no lost numbers.
Formula
Rough opening = unit size + 2 × shim per side; Header length = RO width + 2 × jacks × 1½ in; Rough sill height = head height − RO height
Worked example. A 36 × 48 in window with ½ in of shim per side: the rough opening is 37 × 49 in (12.59 sq ft). With one jack stud each side the header is 37 + 3 = 40 in long, a doubled 2×8. With the head at 84 in above the subfloor, the rough sill sits at 84 − 49 = 35 in, with 3 cripples above the header and 3 below the sill.
A 36 × 48 in window needs a 37 × 49 in rough opening with the standard ½ in shim allowance per side, 12.59 square feet of framed hole for a 12 square foot window. The header is 40 in long, a doubled 2×8, carried on one jack stud each side with a full-height king beside each jack, and with the head at 84 in the rough sill sits at 35 in. This page works out all of that from the unit size, and tells you where the numbers come from so you can check them against the manufacturer sheet.
Key takeaways
- •Default window: 36 × 48 in unit → 37 × 49 in rough opening, 12.59 sq ft, header 40 in (doubled 2×8), sill at 35 in with the head at 84 in.
- •Rule: rough opening = unit + ½ in of shim per side. 1 in total on width and height. The manufacturer's published opening always wins.
- •Header length = rough opening width + 2 × jacks × 1½ in. One jack per side up to 60 in wide, two jacks per side above that.
- •Header size (planning guide, single-storey roof load): doubled 2×6 to 36 in, 2×8 to 48 in, 2×10 to 60 in, 2×12 to 72 in; wider needs LVL.
- •Rough sill height = head height − rough opening height. Egress windows need the sill no more than 44 in above the floor (IRC R310).
- •Framing per opening: 2 king studs full height, 2 jack studs (4 above 60 in), plus cripples above the header and below the sill at 16 in on-centre.
- •Measure rough opening height from the subfloor, not the finished floor. The flooring comes out of the gap underneath.
- •A non-bearing wall usually needs no structural header, but frame one anyway if there is any doubt about what the wall carries.
How to use the window rough opening calculator
- Enter the window unit width and height in inches, the size on the manufacturer's label, not the glass size.
- Set the shim allowance per side: ½ in is the standard; use ¼ in or ⅜ in if the manufacturer specifies it.
- Choose the wall type: 2×4 or 2×6. The jack studs are 1½ in thick either way, but the header plies change.
- Enter the head height, the top of the rough opening above the subfloor. 84 in (7 ft) is the common default.
- Enter how many identical windows you are framing, to total the rough opening area.
- Read the rough opening, the header length and size, the king and jack studs, the cripples and the rough sill height.
- Check the result against the manufacturer's installation sheet for the unit you bought. If it disagrees, the sheet wins.
- For the door in the same wall, use the door rough opening calculator, which uses the door's own allowances.
Worked examples
1. The default: 36 × 48 in window, ½ in shim
- Rough opening width: 36 + 2 × ½ = 37 in
- Rough opening height: 48 + 2 × ½ = 49 in
- Rough opening area: 37 × 49 ÷ 144 = 12.59 sq ft
- Jacks: one per side (37 in is under 60 in), so header length = 37 + 2 × 1 × 1½ = 40 in
- Header size: doubled 2×8 (span 37–48 in, single-storey roof load)
- Rough sill height: 84 − 49 = 35 in above the subfloor
- Studs: 2 kings full height, 2 jacks; cripples: 3 above the header, 3 below the sill (37 in ÷ 16 in, rounded up)
2. A 48 × 60 in picture window
- Rough opening: 49 × 61 in (48 + 1, 60 + 1)
- Rough opening area: 49 × 61 ÷ 144 = 20.76 sq ft
- Header length: 49 + 3 = 52 in, one jack per side
- Header size: doubled 2×10 (span 49–60 in)
- Rough sill height: 84 − 61 = 23 in, a low sill, good for a view, and well under the 44 in egress maximum
- Cripples: 4 above (49 ÷ 16 = 3.06, rounded up), 4 below
3. Four identical windows: total rough opening area
- One window: 37 × 49 in = 12.59 sq ft of rough opening
- Four windows: 4 × 12.59 = 50.36 sq ft total
- That is the framed hole area to allow for in the wall. Useful when you are working out how much sheathing the openings remove, or how much glass the house gets
- Each window still frames the same way: 2 kings, 2 jacks, a 40 in doubled 2×8 header, sill at 35 in
Rough openings for standard window sizes
Window sizes are written as a callout in feet and inches. 3/0 × 4/0 means 36 × 48 in, not 3 × 4 in. Reading a callout as inches under-frames every opening on a drawing by a consistent and invisible amount, and it is the commonest ordering error there is. Every rough opening below uses the standard ½ in shim per side.
| Window callout | Unit size (in) | Rough opening (in) | Header length (1 jack/side) | Header size |
|---|---|---|---|---|
| 2/0 × 3/0 | 24 × 36 | 25 × 37 | 28 in | Doubled 2×6 |
| 2/6 × 3/0 | 30 × 36 | 31 × 37 | 34 in | Doubled 2×6 |
| 3/0 × 4/0 | 36 × 48 | 37 × 49 | 40 in | Doubled 2×8 |
| 3/0 × 5/0 | 36 × 60 | 37 × 61 | 40 in | Doubled 2×8 |
| 4/0 × 4/0 | 48 × 48 | 49 × 49 | 52 in | Doubled 2×10 |
| 4/0 × 5/0 | 48 × 60 | 49 × 61 | 52 in | Doubled 2×10 |
| 5/0 × 4/0 | 60 × 48 | 61 × 49 | 64 in | Doubled 2×12 |
| 6/0 × 4/0 | 72 × 48 | 73 × 49 | 79 in | LVL / engineered |
Header sizes are planning guides for a single-storey wall with a roof load only. The real size comes from IRC Table R602.7(1) for your span and load. Openings over 60 in wide get two jacks per side, so the header is 6 in longer than the rough opening, not 3 in.
The 6 ft window is the one that changes the job: at 73 in of rough opening it is past the doubled 2×12 range, needs two jacks per side, and the header becomes an LVL sized by an engineer or from the supplier's span tables. It also needs a proper look at the wall. A 6 ft opening in a bearing wall removes a lot of studs, and the wall may need hold-downs or a shear check that a small window never triggers.
King studs, jack studs and cripples: who does what
Three kinds of stud hold up a window opening, and they do three different jobs. The king stud runs full height, from the bottom plate to the top plate, beside the opening. It is the stud the wall would have had anyway, moved to the edge of the opening. The jack stud, also called a trimmer, is cut short: it runs from the sill (or the floor) to the underside of the header, and it is the stud that actually carries the header's load down to the plate. The cripple is the short stud above the header and below the sill that fills the remaining space at normal 16 in spacing.
| Member | How many per opening | Length | Job |
|---|---|---|---|
| King stud | 2 (one each side) | Full wall height | Full-height stud beside the opening; the header nails to it |
| Jack stud (trimmer) | 2 (one each side); 4 above 60 in | Rough opening height | Carries the header down to the plate or sill |
| Header | 1 (doubled, or LVL) | RO width + jacks | Carries the load above the opening around it |
| Cripples above | RO width ÷ 16, rounded up | Head height − header top | Fill the space between the header and the top plate |
| Cripples below | RO width ÷ 16, rounded up | Sill height | Fill the space between the sill and the bottom plate |
| Rough sill | 1 | RO width | The horizontal member the window sits on |
On a tall opening the header can run right up to the top plate with no room for cripples above. That is common, and it means the header is doing the top plate's job as well.
The order of assembly matters too: set the kings first, then the jacks against them, then the header across the jacks, then the sill and the cripples. The header must bear fully on the jacks, a header that bears on half a jack because the jack was cut short is a header that will settle. And the header length is the rough opening plus the jacks, not the rough opening alone: a 40 in header for a 37 in opening is correct, not a mistake.
For the wall stud count around the opening, use the wall stud calculator, which counts the field studs and adds the kings, jacks and cripples.
Egress windows: the bedroom rule
A bedroom window is not just a window. It is the second way out of the room, and the code treats it that way. IRC Section R310 requires every sleeping room to have an emergency escape and rescue opening: a clear opening of at least 5.7 sq ft (5.0 sq ft at grade), at least 20 in wide and 24 in high, with the sill no more than 44 in above the floor. Clear opening is the key phrase. It is the opening with the sash open, not the rough opening and not the glass size. The frame and sash eat roughly 3 in on each side, so a window needs a rough opening well above the minimums to pass.
| Egress requirement (IRC R310) | Minimum | Default window (37 × 49 in RO) | Passes? |
|---|---|---|---|
| Clear opening area | 5.7 sq ft (5.0 at grade) | About 8.5 sq ft clear | Yes |
| Clear width | 20 in | About 31 in clear | Yes |
| Clear height | 24 in | About 43 in clear | Yes |
| Sill height above floor | 44 in maximum | 35 in | Yes |
Clear dimensions are estimates: the sash and frame take roughly 3 in per side off the rough opening. A window that meets the minimums on rough opening can still fail on clear opening. Always use the manufacturer's published net clear opening.
The trap is a window that meets both minimums and still fails: a tall narrow window can be 20 in wide and 24 in high and still give less than 5.7 sq ft of clear opening, because 20 × 24 in is only 3.33 sq ft. All three numbers, area, width and height, must pass at the same time, on the clear opening, not the rough one. When a bedroom window is replaced, the replacement must meet the egress rules too, even if the old window did not. A like-for-like swap of a non-egress window is not a defence.
Header size: the planning table and its limits
Header size depends on three things: the span, the load above, and the width of the building. The planning table on this page assumes the lightest common case. A single-storey wall with a roof load only, in a building up to about 28 ft wide. Add a second floor and every size goes up a step; add a long span above and it goes up again. The real answer is IRC Table R602.7(1), which lists header sizes by span, number of floors and building width, and it is the table your inspector will check.
| Rough opening width | Planning header (roof load only) | With a second floor above | Over 72 in |
|---|---|---|---|
| Up to 36 in | Doubled 2×6 | Doubled 2×8 | n/a |
| 37–48 in | Doubled 2×8 | Doubled 2×10 | n/a |
| 49–60 in | Doubled 2×10 | Doubled 2×12 | n/a |
| 61–72 in | Doubled 2×12 | LVL | n/a |
| Over 72 in | LVL / engineered | LVL / engineered | Engineer or supplier tables |
Planning guide only. Snow load, building width, point loads and local amendments all change the answer. IRC Table R602.7(1) and your local code govern.
One more limit: the header depth cannot exceed the wall depth without furring, and a doubled 2×12 in a 2×4 wall is already 3 in thick against a 3½ in wall. It fits, but only just, and the drywall will show every bow. In a 2×6 wall the header is three plies, not two, which is why the wall type matters to the lumber order even though it does not change the rough opening.
Common rough opening mistakes
- •Framing the unit size instead of the rough opening. A 36 × 48 in window does not fit a 36 × 48 in hole. It needs 37 × 49 in.
- •Reading the callout as inches. A 3/0 × 5/0 window is 36 × 60 in, not 3 × 5 in. The commonest ordering error there is.
- •Using the manufacturer's rough opening for the wrong unit. Rough openings differ by brand and by series; check the sheet for the unit you bought.
- •Measuring the height from the finished floor. Frame to the subfloor. The flooring comes out of the gap underneath, and framing tight to finished flooring leaves a door or window that will not fit after the floor goes in.
- •Forgetting the jacks in the header length. The header is the rough opening plus the jacks, 40 in for a 37 in opening, not 37 in.
- •Sizing the header from the span alone. The load above matters as much as the span. A second floor pushes every size up a step.
- •Checking egress on the rough opening. Egress is measured on the clear opening with the sash open, the frame eats about 3 in per side.
- •Skipping the header in a bearing wall. Any opening in a bearing wall needs a header sized from IRC Table R602.7(1), however small it looks.
How this calculator compares with the rivals
The rough-opening search is split between window-only tools and door-only tools, and most of them stop at the opening size. The gap is a tool that gives the whole framing package; header length and size, kings and jacks, cripples, sill height and the egress check, in one place.
| Rival | What it offers | Where this page beats it |
|---|---|---|
| BuildItCalc | Window Rough Opening Calculator | Rough opening for a window unit, the named rival | This page adds the header length and size, the king/jack stud count, cripples, the sill height and the egress check it does not show. |
| BasedFrame | Rough Opening Calculator | Rough opening, header length and sill height for windows and doors | The strongest rival on framing detail. This page adds the header size table, the standard-size reference table and the egress section. |
| LevelCalc | Window Rough Opening Calculator | Rough opening with shim clearance, header size and total area for multiple windows | Good on multiple windows. This page adds the jack/king stud count, cripples and the sill-height math. |
| AbsurdTools | Rough Opening Calculator | Rough opening and framing with the egress check, including the callout trap | Excellent on egress and callouts. This page adds the standard-size table and the header planning table. |
| Zerdly | Window & Door Rough Opening Calculator | Rough opening and header length in metric and imperial | Good unit flexibility. This page adds the header size, the stud counts and the egress rules. |
| ProfessionCalculators | Rough Opening Calculator | Rough opening with shim space, header sizing and jack/king requirements | Good header guidance. This page adds the cripple counts, the sill height and the standard-size table. |
| RedBison | Wall Framing Calculator | Full wall framing with openings, headers and stud counts | The deepest rival on whole-wall framing. This page is the quick single-window check, with the egress rules it does not cover. |
| CalculatorSoup | General calculators; no dedicated rough opening calculator in the top results | Its strength is general-purpose calculators; this page frames the whole opening. |
| BuildCova's own door rough opening calculator | The same framing package for doors, different allowances, different rules | The sibling page, not a rival. Windows add ½ in per side; doors add 2 in of width and 2½ in of height. The two pages link to each other. |
The honest summary: BasedFrame and AbsurdTools are the rivals to watch, because they already think about framing rather than just the hole. No rival combines the rough opening, header length and size, king and jack studs, cripples, sill height and the egress check with a standard-size reference table in one place. This page wins by framing the whole opening, not just measuring it.
Assumptions
- •The standard shim allowance is ½ in per side (1 in total on width and height). Some manufacturers, especially vinyl and fibreglass, specify ¼ to ⅜ in per side; the manufacturer's published rough opening for the unit you are buying always governs.
- •Header sizes here are planning guides for a single-storey residential wall with a roof load only: doubled 2×6 to 36 in, 2×8 to 48 in, 2×10 to 60 in, 2×12 to 72 in. The real header size comes from IRC Table R602.7(1) for your span and the load above it.
- •Rough opening height is measured from the subfloor. The finished floor comes out of the gap underneath, frame to the subfloor, not the finished floor.
- •King studs run full height beside the jacks; jacks (trimmers) carry the header. Openings over 60 in wide get two jacks per side.
- •Cripples are counted at 16 in on-centre across the opening width, above the header and below the sill.
- •Whether an opening needs a header at all depends on whether the wall is load-bearing. Check the plans and your code before cutting.
Sources✓ Verified
- International Residential Code (IRC) Table R602.7(1). Header spans for exterior bearing walls; header size depends on span, load and building width.
- IRC Section R308.6 and R310 (egress). Overhead glazing requirements and emergency escape openings: 5.7 sq ft clear, 20 in minimum width, 24 in minimum height, sill not more than 44 in above the floor.
- Window manufacturer installation instructions (e.g. JELD-WEN, Andersen). Published rough openings per unit; the manufacturer's figure governs over any rule of thumb.
- Fine Homebuilding and Journal of Light Construction framing guides. King/jack stud practice and header sizing conventions for residential framing.
Formula reviewed November 2026.
With the standard ½ in shim allowance per side, a 36 × 48 in window needs a 37 × 49 in rough opening. 12.59 square feet. The header is 40 in long with one jack stud each side, a doubled 2×8 for a normal single-storey wall. Always check the manufacturer's published rough opening for the unit you are buying, because some brands specify a different allowance.
Usually 1 in wider and 1 in taller than the unit, ½ in of shim space on each side, top and bottom. Some manufacturers ask for ¼ in per side (½ in total) and some for ¾ in per side. The extra room is for shimming, levelling and insulating around the frame; framing it tight means planing jambs on site, and framing it loose leaves shim gaps that are hard to seal.
As a planning guide for a single-storey wall with a roof load only: doubled 2×6 for openings up to 36 in, doubled 2×8 up to 48 in, doubled 2×10 up to 60 in and doubled 2×12 up to 72 in. Wider openings or heavier loads, a second floor, a long span above, need a bigger header or an LVL, sized from IRC Table R602.7(1). The header length is the rough opening width plus the jack studs on both sides.
The rough sill height is the head height minus the rough opening height. For a 36 × 48 in window with the head at 84 in above the subfloor, the sill is at 84 − 49 = 35 in. For an egress window in a bedroom, the sill must be no more than 44 in above the floor (IRC R310), and the clear opening must be at least 5.7 sq ft, 20 in wide and 24 in high.
Two king studs, one full-height stud on each side of the opening, and two jack studs, one per side, carrying the header. Openings over 60 in wide need two jacks per side, so four jack studs. The kings run from the bottom plate to the top plate; the jacks run from the sill to the underside of the header.
Usually not a structural one. A non-bearing wall carries no load above the opening, so a single flat 2×4 or a doubled top plate is often enough. But check the plans: many walls that look non-bearing carry a point load, a beam, or roof load through a post. When in doubt, frame the header. It costs little and removes the question.
Converters to use with the Window Rough Opening Calculator
Switch units, compare bulk and bagged quantities, or check coverage, without leaving BuildCova.
Lumber, Deck & FenceNominal vs Actual Lumber Size ConverterA 2×4 is really 1½ × 3½ in, every size.
Slope & MeasurementFeet & Inches to Decimal Feet Converter5 ft 6 in = 5.5 ft, both directions.
Slope & MeasurementDecimal Inches to Fraction ConverterTurn 0.6875 in into 11/16 in and back.More framing calculators
FramingDoor Rough Opening CalculatorA door rough opening calculator that turns a door size into the framed hole it needs, the rough opening, the header length and size and the jack and king studs, for prehung interior and exterior doors, pocket doors, bifolds and French pairs. Enter the slab size and door type, and the calculator applies that type allowance, including the flooring still to go in.
FramingStair Railing CalculatorA stair railing calculator that works out everything a stair railing needs, the handrail length along the slope, the number of balusters with a code-safe gap, the newel posts and the cost, for wood, metal or cable rail. Enter the total rise and run of the stair, and the calculator follows the slope, checks the 4-inch sphere rule and prices the job, so no opening is wide enough for a child to slip through.
FramingEgress Window CalculatorAn egress window calculator that checks a bedroom or basement window against the building code before you cut the wall or order the window. Enter the clear opening width and height, the sill height and the room type, and see whether the opening passes all four IRC R310 rules, net clear area, minimum width, minimum height and maximum sill height, plus the window well rules for a below-grade window, and the window size that would pass.
FramingRight Angle CalculatorA right angle calculator that squares corners before a fraction of a degree puts the far end of a 40 ft wall inches off the footing. Enter any two sides of a right triangle to solve the third and both angles, check a corner you have already marked by entering the diagonal you actually measured, or scale the 3-4-5 rule to any size and find a neat multiple that fits your job.
FramingWall Framing CalculatorA wall framing calculator that works out the full lumber list for a framed wall, not just a stud count. Enter the wall length and height, the stud spacing and the windows and doors, and the calculator gives you every piece: the field studs, the king and jack studs at each opening, the corner studs, the double top plate and bottom plate, the headers, the cripple studs and the sheathing sheets. It is the list you take to the lumber yard.
FramingFastener Spacing CalculatorA fastener spacing calculator that gives you the maximum spacing the code allows, the edge distance the fastener must keep, and the fastener count for the run. A deck board fastened with screws goes 16 in on centre, and a 12 ft run needs 10 screws, one at each joist crossing plus one at the start. A fastener that is too far apart holds nothing, and a fastener that is too close to the edge splits the wood, so check it before you drive the first one.Was this calculator helpful?
Material requirements can vary based on product specifications and job conditions. Verify quantities with your supplier before ordering.