A rough opening calculator finds the framed opening size you need for a door or window. Pick the opening type and enter the unit size, and the tool adds the correct clearance for jambs and shims. A standard 36-inch prehung door needs a rough opening of 38 inches wide by 82-1/4 inches tall.
Rough opening size
Calculations run in your browser. Inputs are not sent to our servers; anything you Save stays in this browser only.
Saved results (0)
How to Use the Rough Opening Calculator
- Pick the opening type (prehung door, bifold, pocket door or window).
- Enter the unit width and unit height in inches.
- Read the rough opening width, height and clearance breakdown.
Here is what each result line means:
| Result | What it means |
|---|---|
| RO width | The framed opening width, including clearance for jambs and shims. |
| RO height | The framed opening height, including clearance for the threshold, head jamb and hardware. |
| Width clearance | How much extra width is added and why. |
| Height clearance | How much extra height is added and why. |
For the header size that goes above this opening, see the header size calculator. For a full wall material list, see the framing calculator.
What Is a Rough Opening?
A rough opening is the framed hole in a wall where a door or window unit will be installed. It is always slightly larger than the unit itself to leave room for the jamb, shims, insulation and adjustment.
Getting the rough opening right is critical: too small and the unit will not fit, too large and you waste shimming material and compromise the seal.
How the Rough Opening Calculator Works
Each opening type has a standard clearance:
- Prehung door: +2 in width (1 in each side), +2-1/4 in height.
- Bifold door: width equals the door width (track mounts inside), +3/4 in height.
- Pocket door: width = 2 x door width + 1 in (pocket cavity), +4-1/2 in height.
- Window: +1/2 in width (1/4 in each side), +1/2 in height.
- Read the unit width and height in inches.
- Add the clearance for the selected type.
- Report the rough opening dimensions.
Rough Opening Example
You are framing for a 36-inch prehung interior door, 80 inches tall.
Calculation: RO width = 36 + 2 = 38 inches. RO height = 80 + 2.25 = 82-1/4 inches. Frame the opening 38 inches wide by 82-1/4 inches tall.
Factors That Change Rough Opening Size
Opening Type
Pocket doors need the widest rough opening (twice the door width plus 1 inch) because the door slides into the wall cavity.
Manufacturer Specs
Some window and door brands specify clearances different from the standard rules. Always check the installation guide for your unit.
Floor Finish
If the finished floor is not yet installed, add its thickness to the height clearance so the door clears the floor.
Exterior vs Interior
Exterior doors may need extra height clearance (up to 3-3/4 in for outswing units with a threshold) compared to interior doors.
Sill Pan and Flashing
Windows with a sill pan or flashing membrane may need an extra 1/4 to 1/2 inch in height.
Rough Opening Comparison by Door Type
The table below compares rough openings for a 36-inch-wide, 80-inch-tall unit across door types.
| Type | RO width | RO height | Notes |
|---|---|---|---|
| Prehung | 38 in | 82-1/4 in | Standard clearance. |
| Bifold | 36 in | 80-3/4 in | Track mounts inside opening. |
| 73 in | 84-1/2 in | 2x width + 1 in for cavity. |
When to Use a Rough Opening Calculator
New Construction Framing
Frame every opening to the correct size before drywall.
Door or Window Replacement
Verify the existing rough opening fits the new unit, or plan how to resize it.
Adding an Opening to an Existing Wall
Cut the wall to the right rough opening the first time.
Pocket Door Conversions
Pocket doors need a much wider rough opening than swing doors. Check before committing.
Common Mistakes with Rough Openings
1. Making the Opening Too Tight
Without clearance, the unit will not fit or will bind when shimmed. A too-tight opening means recutting studs.
2. Forgetting the Floor Finish
If the subfloor is down but the tile or hardwood is not, add the finish thickness to the height allowance.
3. Using Prehung Clearances for Pocket Doors
A pocket door needs twice the width. Using prehung rules leaves the cavity too short for the door to slide in.
4. Ignoring Manufacturer Specs
Some windows need more clearance for a nailing flange or integral J-channel. Check the spec sheet.
5. Measuring the Door Slab Instead of the Unit
A 30-inch slab comes in a 32-inch jamb assembly. Measure the assembled unit, not the slab alone.
Accuracy and Limitations
The calculator uses standard industry clearances verified against Home Depot, Lowe’s and Johnson Hardware installation guides. Some manufacturers may specify different values.
What it calculates
- RO width and height
- Clearance breakdown
- Prehung, bifold, pocket and window types
What it does not do
- Sliding glass door manufacturer specs
- Commercial door frames
- Arched or specialty window shapes
- Structural header sizing
How We Calculate Rough Openings
Frequently Asked Questions About Rough Openings
What is the rough opening for a 36-inch door?
For a standard prehung door: 38 inches wide by 82-1/4 inches tall (unit width + 2 in, unit height + 2-1/4 in).
What is the rough opening for a 30-inch door?
32 inches wide by 82-1/4 inches tall for a prehung door.
How much bigger is a rough opening than the door?
For prehung doors, 2 inches wider (1 inch each side) and 2-1/4 inches taller.
What is the rough opening for a pocket door?
Twice the door width plus 1 inch for the width, and the door height plus 4-1/2 inches for the height.
What is the rough opening for a bifold door?
The width is the same as the bifold opening (the track mounts inside). The height is the door height plus 3/4 inch.
What clearance does a window need?
Typically 1/2 inch wider and 1/2 inch taller than the window unit (1/4 inch on each side). Check the manufacturer guide.
Do I measure the door slab or the frame?
Measure the assembled prehung unit if possible. If you only have the slab width, add 2 inches for the jamb assembly, then add the rough opening clearance.
What if my rough opening is too big?
Shim the extra space. Up to about 1/2 inch extra on each side is normal. More than that may need filler strips.
Does the floor finish change the rough opening?
Yes. If the finished floor is not installed yet, add its thickness to the height clearance so the door swings over the floor.
Is my data saved?
No. The calculation runs entirely in your browser and nothing you enter is stored or sent anywhere.
Sources
- Home Depot, Prehung Door Installation Guide (rough opening clearance rules for prehung entry doors).
- Bob Vila, Standard Door Sizes (common door and rough opening dimensions).
- Johnson Hardware, 1500 Series Pocket Door Installation (pocket door rough opening formula: 2x width + 1 in).
- Andersen Windows, Rough Opening Guidelines (window rough opening clearance practice).
Related Calculators
Framing an opening?
Explore all framing calculatorsThese rough opening sizes follow standard industry clearances. Always check the manufacturer installation guide for your specific door or window unit, as some products need different clearances. Spotted an error? Let us know.