Get exact rough opening dimensions, header sizes, and framing specs for any window or door.
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.
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.
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).
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.
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.
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.
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.