Reviewed and updated: August 2026
Get rough opening width and height, header depth, jack stud count, and king stud count for any window or door. Enter your unit size and wall type to get a practical framing estimate.
Results are practical estimates based on standard framing conventions. Rough opening width is typically the unit width plus 1" total for side clearance (about 1/2" per side). Rough opening height is typically the unit height plus about 1/2" to 3/4" at the top for shimming clearance. Always verify with your window or door manufacturer's installation specs and local building code before framing.
This calculator gives you practical rough opening dimensions, header size, and stud count for any window or door installation. Estimates are based on standard framing conventions used in residential construction. Use the calculator above to get your framing layout before cutting any openings.
Let's say you're installing a 36" × 48" window unit in a 2×4 load-bearing wall with one story above. Here's how the framing works:
👉 Key rule: Rough opening width = unit width + 1" (1/2" shimming clearance each side). Rough opening height = unit height + 1/2" to 3/4" clearance at the top. Always check the manufacturer's installation guide; some windows require specific clearances.
Each opening in a framed wall requires several specific components working together. Here's what each one does:
Interior and exterior doors use the same basic framing components, but the clearances and details differ enough to catch people off guard when switching between the two. Exterior doors typically need a larger rough opening allowance than interior doors, since exterior units are heavier, include integrated thresholds and weatherstripping, and often require room for a sloped sill pan for water management. Interior doors, by contrast, usually have tighter, more standardized clearances since there's no weatherproofing to account for.
Exterior door headers also tend to run larger than an interior door header at the same width, both because exterior walls are more likely to be load-bearing and because exterior openings often coincide with larger structural spans (garage door openings, wide entry doors, sliding glass door units). Always check whether the wall in question is load-bearing before assuming a light-duty header will work; a wall's location on an exterior perimeter is a strong hint that it carries roof or floor load above, even if it doesn't look structural at a glance.
Window manufacturers label units using a shorthand nominal size rather than the unit's actual dimensions, which trips up a lot of first-time framers. A common format is a number like "3050," which doesn't mean 30 inches by 50 inches; it means 3 feet 0 inches wide by 5 feet 0 inches tall (the first two digits are feet-and-inches width, the last two are feet-and-inches height). So "3050" is a 36" wide by 60" tall window, and "2846" is a 34" wide by 46" tall window.
This labeling convention is common but not universal, and some manufacturers list actual dimensions directly on the spec sheet instead of the shorthand code. Before framing anything, confirm the actual unit dimensions from the manufacturer's cut sheet or the label on the unit itself rather than assuming a nominal code translates the way you expect; a mistake here means an expensive rough opening rebuild after the window arrives and doesn't fit.
Header size depends on the span (rough opening width) and the load above. These are general guidelines for standard residential construction; always verify with local building code.
| Opening Width | 1 Story Above | 2 Stories Above | Notes |
|---|---|---|---|
| Up to 3' | 2×4 or 2×6 | 2×6 | Non-bearing may use single 2×4 |
| 3' – 4' | 2×6 | 2×8 | Double with 1/2" spacer |
| 4' – 5' | 2×8 | 2×10 | Double with 1/2" spacer |
| 5' – 6' | 2×10 | 2×12 | Double with 1/2" spacer |
| 6' – 8' | 2×12 | LVL or engineered | Consult engineer for heavy loads |
| 8'+ | LVL or engineered | Engineer required | Structural design required |
⚠️ The most common mistake: Cutting the rough opening too small. You can always shim a slightly large opening; you cannot easily widen one that's too tight. When in doubt, go 1/4" wider.
This calculator is designed for standard residential framing planning. For any structural modification to a load-bearing wall, consult a licensed contractor or structural engineer before cutting.
For related framing tools, see our door rough opening calculator and our lumber calculator.