Window & Door Rough Opening Calculator

Get exact rough opening dimensions, header sizes, and framing specs for any window or door.

HEADER SILL PLATE R.O. Width R.O. Height TRIMMER STUD TRIMMER STUD KING STUD KING STUD
Unit width of window unit (inches)
Please enter a valid width.
Unit height of window unit (inches)
Please enter a valid height.
HEADER SUBFLOOR R.O. Width R.O. Height TRIMMER TRIMMER KING KING
Standard: 32", 34", 36"
Please enter a valid width.
Standard: 80" (6'8"), 84", 96"
Please enter a valid height.
CRIPPLE STUDS FLAT 2Γ—4 HEADER R.O. Width R.O. Height TRIMMER TRIMMER
Standard: 24", 28", 30", 32", 36"
Please enter a valid width.
Standard: 80" (6'8")
Please enter a valid height.
Number of identical openings

Results

How to Use This Rough Opening Calculator

Select whether you're framing a window, exterior door, or interior door using the tabs above. Enter the nominal unit size (the size printed on the product label or your plans β€” not the rough opening), choose your wall framing type (2Γ—4 or 2Γ—6), and select your load conditions. Hit Calculate to instantly get the exact rough opening width and height, recommended header lumber size, and a complete framing summary.

Why This Matters

Getting rough opening sizes right is one of the most consequential things you'll do on a framing project. Too small, and you can't get the window or door unit into the wall β€” you'll need to tear out framing and redo it. Too large, and you'll have excessive shimming, potential structural problems, and a sloppy install that can void the manufacturer's warranty.

Consider a typical 36Γ—80 exterior door: the correct rough opening is 38β€³ wide Γ— 82Β½β€³ tall β€” but many first-time framers accidentally make it 36Γ—80 (the door size) or use the wrong clearance. With a 2Γ—6 load-bearing wall and a two-story house, that door also needs a doubled 2Γ—10 header, not the undersized 2Γ—6 a novice might grab. Mistakes like these cost hours of rework and hundreds of dollars in lumber.

Professionals use 1Β½β€³ of total width clearance and 1½″–2β€³ of height clearance for windows. Exterior doors get 2β€³ of width clearance and 2Β½β€³ of height. Interior doors are tighter β€” typically 2β€³ width and 2β€³ height. Header sizing depends on span and load, governed by the IRC span tables. This calculator bakes all of that in so you don't have to look it up every time.

How It's Calculated

For Windows:

For Exterior Doors:

For Interior Doors:

Header Sizing follows IRC Table R602.7. Span is the R.O. width. Load = 1 or 2+ stories of bearing load. A wider span and greater load requires a deeper header lumber (e.g., 2Γ—10 or 2Γ—12 doubled).

Tips & Common Mistakes

Frequently Asked Questions

What is a rough opening?

A rough opening (R.O.) is the framed opening in the wall β€” the space between the king studs and trimmer studs β€” into which a pre-hung window or door unit is installed. It is always larger than the finished unit to allow room for the frame, shimming, and adjustment.

How much bigger should a rough opening be than the window or door?

For windows, the rough opening is typically 2β€³ wider and 2β€³ taller than the nominal unit size. Exterior doors get 2Β½β€³ of additional width and height. Interior doors are usually 2β€³ wider and 2β€³ taller. Always verify with the manufacturer's installation guide for exact clearances.

What size header do I need?

Header size depends on the span (rough opening width), the number of stories bearing on the wall, and local codes. Common guidelines: up to 3'6β€³ span use 2Γ—6, 3'6″–5β€² use 2Γ—8, 5′–6'6β€³ use 2Γ—10, and 6'6″–8β€² use 2Γ—12, all doubled with a Β½β€³ spacer. This calculator recommends sizes based on IRC span table guidelines.

Does the rough opening calculation change for a 2Γ—6 wall?

The rough opening width and height stay the same regardless of wall depth. The wall depth (2Γ—4 vs 2Γ—6) affects the extension jambs needed for the window/door trim, and the header construction (the OSB spacer thickness changes), but not the actual framed opening dimensions.

Related Tools