Skip to content
CalculatorAtlas

Door Rough Opening Calculator

Tested

Framing opening size for a door from its slab size.

Tested, not yet published. The formula for this calculator is implemented and passes its automated checks. This page stays non-indexable until it is reviewed and published.

in
in

Results

Enter your values and press Calculate. Results appear here.

  • • Result

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

  1. Enter door width (in) (above 0).
  2. Enter door height (in) (above 0).
  3. Press Calculate to see the result, and use Reset to start again.
Inputs of the Door Rough Opening Calculator
InputWhat to enterAllowed values
Door widthA number, in in> 0
Door heightA 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.

Results of example 1
ResultValue
Rough opening34 × 82.5 in
Width34 in
Height82.5 in

Example 2

Inputs: Door width = 36; Door height = 80.

Results of example 2
ResultValue
Rough opening38 × 82.5 in
Width38 in
Height82.5 in

Example 3

Inputs: Door width = 30; Door height = 78.

Results of example 3
ResultValue
Rough opening32 × 80.5 in
Width32 in
Height80.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.

How the result changes with door width
Door widthRough openingWidthHeight
1618 × 82.5 in18 in82.5 in
3234 × 82.5 in34 in82.5 in
6466 × 82.5 in66 in82.5 in
128130 × 82.5 in130 in82.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.

Choosing between the Door Rough Opening Calculator and similar calculators
CalculatorYou enterIt returns
[Stud Count Calculator](/construction/stud-count-calculator/)wall length, stud spacing and cornersStuds needed
[Cabinet Door Size Calculator](/construction/cabinet-door-calculator/)opening width, opening height and overlay on each sideDoor size
[Square Footage Calculator](/construction/square-footage-calculator/)length, width and unitArea
[Concrete Calculator](/construction/concrete-calculator/)length, width and depth / thicknessCubic yards
[Stair Calculator](/construction/stair-calculator/)total rise, preferred riser height and tread depthNumber 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.

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.