Quick answer
Rough opening = door width + 2 inches by door height + 2½ inches. A 32 × 80 inch door needs a rough opening of 34 × 82.5 inches.
Enter the door width and height. The calculator returns the framing opening to build.
Related tools: Stud Count Calculator: Wall studs from length, spacing, corners and openings. Cabinet Door Size Calculator: Door size for an opening with an overlay. Square Footage Calculator: Area of a rectangular space in square feet, square metres and square yards.
How to use the Door Rough Opening Calculator
- Enter door width (in) (above 0).
- Enter door height (in) (above 0).
- Press Calculate to see the result, and use Reset to start again.
| Input | What to enter | Allowed values |
|---|---|---|
| Door width | A number, in in | > 0 |
| Door height | A number, in in | > 0 |
Formula and method
Formula
rough opening = door width + 2 in × door height + 2½ in
IEEE-754 double precision; shown to the decimals indicated.
A common framing allowance for the jamb and shims; follow the door manufacturer's instructions. Plan geometry only; confirm quantities with your supplier and local code before ordering.
Worked examples
These examples are verified: each one is an automated test case that the live calculator must reproduce exactly.
Example 1
Inputs: Door width = 32; Door height = 80.
| Result | Value |
|---|---|
| Rough opening | 34 × 82.5 in |
| Width | 34 in |
| Height | 82.5 in |
Example 2
Inputs: Door width = 36; Door height = 80.
| Result | Value |
|---|---|
| Rough opening | 38 × 82.5 in |
| Width | 38 in |
| Height | 82.5 in |
Example 3
Inputs: Door width = 30; Door height = 78.
| Result | Value |
|---|---|
| Rough opening | 32 × 80.5 in |
| Width | 32 in |
| Height | 80.5 in |
The first line is the headline result (rough opening). Below it the door Rough Opening Calculator lists width and height, which describe the same case from other angles. IEEE-754 double precision; shown to the decimals indicated.
What the extra space is for
The extra width allows for the door jamb and shims to plumb the unit, and the extra height allows for the head jamb and the gap above the threshold or flooring. A pre-hung door's actual frame is slightly wider than the slab.
Always check the manufacturer
Rough-opening sizes can vary by door type, such as exterior doors with sills or doors needing extra for tile. The manufacturer's spec overrides the rule of thumb. Also allow for finished flooring thickness.
How the result changes with door width
Holding every other input at the first worked example, this table changes only door width. It shows how sensitive the answer is to that one value; each row was produced by running this calculator.
| Door width | Rough opening | Width | Height |
|---|---|---|---|
| 16 | 18 × 82.5 in | 18 in | 82.5 in |
| 32 | 34 × 82.5 in | 34 in | 82.5 in |
| 64 | 66 × 82.5 in | 66 in | 82.5 in |
| 128 | 130 × 82.5 in | 130 in | 82.5 in |
What happens with invalid input
These messages are produced by the calculator itself, so you know what to fix.
- Door width: entering "0" shows "Door width must be greater than 0." beside that field and no result.
- Door height: entering "0" shows "Door height must be greater than 0." beside that field and no result.
Choosing between the Door Rough Opening Calculator and similar calculators
Each row shows what a related calculator on this site asks for and what it returns, so you can pick the one that matches your question.
| Calculator | You enter | It returns |
|---|---|---|
| [Stud Count Calculator](/construction/stud-count-calculator/) | wall length, stud spacing and corners | Studs needed |
| [Cabinet Door Size Calculator](/construction/cabinet-door-calculator/) | opening width, opening height and overlay on each side | Door size |
| [Square Footage Calculator](/construction/square-footage-calculator/) | length, width and unit | Area |
| [Concrete Calculator](/construction/concrete-calculator/) | length, width and depth / thickness | Cubic yards |
| [Stair Calculator](/construction/stair-calculator/) | total rise, preferred riser height and tread depth | Number of risers |
Background: construction estimates
Material quantities are geometry plus a margin. Calculate the exact volume or area, add an allowance for waste, spillage, cuts and uneven ground (calculator pages commonly mention 5 to 10 percent, a rule of thumb that varies by material and job) and round up to whole units. One cubic yard is exactly 27 cubic feet.
Suppliers often have minimum order sizes and may charge for small loads, so confirm quantities, product yields and local code with your supplier or a qualified estimator before ordering.
Assumptions and limitations
- Check the manufacturer's rough-opening size
Quantities are estimates. Add allowances for waste and site conditions, and follow local codes and a qualified professional's instructions for structural or safety-critical work.
If a required value is empty, not a number, or outside its allowed range, the form marks that field with a message and shows no result instead of a misleading number. The automated checks deliberately try invalid entries for door width and door height to confirm this.
Frequently asked questions
What is a rough opening?
The framed hole in the wall before the door is installed.
Does it apply to windows?
Windows follow their own manufacturer sizes.
Why 2½ inches in height?
It covers the head jamb and the clearance at the bottom.
What does the Door Rough Opening Calculator calculate?
Framing opening size for a door from its slab size. It returns Rough opening, Width and Height.
What formula does the Door Rough Opening Calculator use?
rough opening = door width + 2 in × door height + 2½ in. A common framing allowance for the jamb and shims; follow the door manufacturer's instructions.
What do I need to enter in the door Rough Opening Calculator?
You enter Door width (in) and Door height (in).
How is the result rounded or limited?
IEEE-754 double precision; shown to the decimals indicated. Check the manufacturer's rough-opening size.
What is an example of a door Rough Opening result?
With door width 32 and door height 80, the rough opening is 34 × 82.5 in.
Where does the method come from?
The method follows: Common framing practice; confirm with the door manufacturer's installation instructions.
Can I rely on this calculator for a decision?
Quantities are estimates. Add allowances for waste and site conditions, and follow local codes and a qualified professional's instructions for structural or safety-critical work. For this calculator in particular: Check the manufacturer's rough-opening size.
Related calculators
- Stud Count Calculator — Wall studs from length, spacing, corners and openings.
- Cabinet Door Size Calculator — Door size for an opening with an overlay.
- Square Footage Calculator — Area of a rectangular space in square feet, square metres and square yards.
- Concrete Calculator — Cubic yards of concrete for a slab, plus bag counts.
- Roofing Calculator — Roof surface area and roofing squares from the footprint and pitch.
Sources
- Common framing practice; confirm with the door manufacturer's installation instructions
Content last reviewed 2026-11-04. Formulas and worked examples are checked by automated tests against independently computed values.