Windows & Doors
Door Rough Opening Calculator
Rough or structural opening for a hinged door from the leaf size, jamb thickness, clearances and the maker's fitting allowance
Updated October 10, 2026 · Live
What this tool does
Builds the frame outside size from the door leaf, the clearance around it, the jamb or lining thickness and the gap under the door, then adds the fitting allowance the door maker specifies to give the rough opening, or structural opening, to frame. Shows the width and height build-up and how much larger than the leaf the opening is, in inches and millimetres.
Leaf plus clearance plus jamb on each side gives the frame; frame plus the maker's fitting allowance gives the opening.
People also use
Formula Used
Formula Used
How the door rough opening calculator works
A door is bought as a leaf, or as a leaf already hung in its frame, and the hole in the wall has to take the frame plus room to pack it plumb. The calculator builds the opening up in two steps. The frame outside size is the leaf plus the clearance between leaf and frame on each side plus the jamb or lining thickness on each side; in height it is the leaf plus the head clearance, the head jamb and the gap under the door, because the jamb legs run down to the floor. The rough opening, called the structural opening in the UK, is the frame plus a fitting allowance. That allowance is the number the makers specify. JELD-WEN's installation instructions for interior pre-hung doors (JII109) say to "verify the width and height of the door frame are each 1/2 in smaller than the rough opening width/height", and its exterior entry door instructions (JII106) say the unit should be "1 in (25 mm) narrower and 3/4 in (19 mm) shorter" than the opening, or 1/2 in (13 mm) each where code requires, with 90-minute fire doors 1 1/4 in (32 mm) narrower and 5/8 in (16 mm) shorter. Masonite's patio door instructions define where the opening is measured: "from the inside of the stud frame to the inside of the opposite stud" and "from the sub-floor to the bottom of the header", with the opening sized to leave "room to shim on each side of unit".
With the US default, a 30 by 80 in leaf with 3/4 in jambs, 1/8 in clearance, 1/2 in fitting allowance in each dimension and 3/4 in under the door, the frame is 31 3/4 by 81 5/8 in and the rough opening 32 1/4 by 82 1/8 in, 2 1/4 in wider and 2 1/8 in taller than the leaf. With the metric default, a 762 by 1,981 mm leaf with a 32 mm lining, 3 mm clearance, 10 mm fitting allowance and 15 mm under the door, the lining is 832 by 2,031 mm and the structural opening 842 by 2,041 mm, 80 mm wider and 60 mm taller than the leaf.
Structural opening, finished opening and frame
The UK terms are set out on Designing Buildings: the structural opening is "the size of an opening in a wall or facade where a window or door or other unit will be installed", normally "slightly larger than the actual unit size to allow for tolerances in construction", and its worked example is a 910 mm structural opening, a 900 mm finished opening after a 10 mm lining, and an 890 mm unit, leaving under 5 mm a side. The same page quotes NHBC guidance 9.1.4 on installing doors and windows to tolerances of less than 3 mm from one side of an opening to the other, which is the squareness check in the Before Framing row for metric users. The 15 mm under the door comes from the lining makers: Howdens' pre-finished door kit instructions say the "jamb length is 2011 mm to allow 15 mm gap at bottom of door for floor covering", to be cut down if the floor covering is already in, and Premdor's SpeedSet Plus doorset "is designed to give a 15 mm gap under the door", with packers to raise it or the lining trimmed to reduce it. Fire doors are tighter: JELD-WEN's Secure-Fit fire doorset guide says the gap under the door on completion "should not exceed 10 mm", which is a reason to set the under-door input from the door type rather than the default.
What this tool does not do
It sizes the hole for one hinged door or a pair hung in one frame. It does not size the header or lintel over the opening, the trimmer studs beside it, or the sill pan and threshold of an external door, which add to the height; JELD-WEN's exterior instructions note that most of its doors use a 1 3/8 in (35 mm) threshold and the opening is adjusted for a taller unit. It does not know the actual leaf and frame you have bought, so for a pre-hung or doorset unit the frame outside size printed on the label replaces the first step, and the fitting allowance is added to that.
Adjusting the defaults
Every input is editable. The leaf width and height are the door itself, from the label. The jamb or lining thickness is the finished timber; the defaults are a 3/4 in US interior jamb and a 32 mm UK lining, and an external frame is thicker, so the figure comes from the frame being fitted. The clearance is the gap between leaf and frame on each side and at the head, about 1/8 in or 3 mm for a hung door. The fitting allowance is the total packing space per dimension, 1/2 in for a US interior unit, 1 in wide and 3/4 in high for an exterior unit, around 10 mm in the UK. The gap under the door is set by the flooring and the door type: 15 mm over a bare floor awaiting covering, less once the floor is down, and no more than 10 mm for a fire door. Outside the United States and the United Kingdom the same build-up applies, with the leaf size, lining thickness and allowance taken from the local maker's sheet.
On-site considerations
The opening is only useful if it is square and plumb, so the diagonals are measured before the frame goes in; JELD-WEN allows 1/4 in out of square on the diagonals and 1/8 in out of plumb for its interior units, and warns that not following its instructions may result in warranty claims being denied. Masonite's advice on the size holds generally: it is easier to reduce an opening by shimming or adding a stud than to enlarge one, so an opening cut large is cheaper to put right than one cut tight. Packers go at each hinge and at the strike, the frame is fixed through the packers, and any gap left between frame and wall is filled, with mineral wool for a fire door, before the architrave covers it.
Using this alongside other BuildMetricLab tools
Frame the wall around the opening with the stud wall calculator, and size the glazing with the window area calculator and the window sill calculator. All BuildMetricLab tools run in your browser with no sign-up, and the formula is on the page so the maths can be checked.
Sources & methodology
Frame outside width = leaf width + 2 × clearance + 2 × jamb thickness. Frame outside height = leaf height + head clearance + head jamb + gap under the door. Rough (structural) opening = frame outside size + fitting allowance in each dimension. US inputs in inches are converted to mm first; results show both. References: JELD-WEN JII109 (interior pre-hung frame 1/2 in smaller than the rough opening in width and height; opening square within 1/4 in); JELD-WEN JII106 (exterior unit 1 in narrower and 3/4 in shorter, 1/2 in each where code requires; fire doors 1 1/4 in and 5/8 in; 1 3/8 in threshold); Masonite patio door instructions (opening measured stud to stud and subfloor to header, room to shim); Designing Buildings (structural opening, finished opening, 910/900/890 mm example, NHBC 9.1.4 tolerance under 3 mm); Howdens door kit (jamb length 2011 mm for a 15 mm gap under the door); Premdor SpeedSet Plus (15 mm gap under the door); JELD-WEN Secure-Fit fire doorset (gap under the door not more than 10 mm).
- JELD-WEN, Installation Instructions for Interior Pre-Hung Doors (JII109): door frame width and height each 1/2 in smaller than the rough opening; opening square within 1/4 in on the diagonals and plumb
- JELD-WEN, Installation Instructions for Prehung Exterior Entry Doors (JII106): unit 1 in (25 mm) narrower and 3/4 in (19 mm) shorter than the rough opening, 1/2 in (13 mm) each where code requires; 90-minute fire doors 1 1/4 in narrower and 5/8 in shorter; 1 3/8 in (35 mm) threshold
- Masonite, Patio door installation instructions: rough opening measured from inside of stud to inside of stud and from subfloor to the bottom of the header, allowing room to shim each side; easier to reduce an opening than to enlarge it
- Designing Buildings Wiki, Structural opening: definition, finished opening, worked example of 910 mm structural, 900 mm finished and 890 mm unit, and NHBC 9.1.4 tolerance of less than 3 mm side to side
- Howdens, Internal pre-finished door kits installation instructions: jamb length 2011 mm to allow a 15 mm gap at the bottom of the door for floor covering; packers to square and plumb the jambs
- Premdor (Masonite UK), SpeedSet Plus doorset leaflet: designed to give a 15 mm gap under the door, raised with packers or reduced by trimming the lining; lining adjusts ±10 mm for wall thickness
- JELD-WEN UK, Secure-Fit fire resisting doorsets fitting guidelines: gap under the fire door on completion not to exceed 10 mm; fixings within 150 mm of corners and at 300 mm centres; gaps between frame and wall filled with mineral wool
Frequently asked questions
Are door rough opening calculator results accurate enough to order materials?
Yes, as a framing size for the opening. The frame outside size and the opening are plain additions of the leaf, the clearances, the jambs and the allowance the maker specifies, and for the default 30 by 80 in leaf they come to 31 3/4 by 81 5/8 in and 32 1/4 by 82 1/8 in. For a pre-hung unit the frame size on the label is the one to use, with the maker's allowance added, and the opening is measured stud to stud and subfloor to header before the unit is ordered.
What wastage percentage should I use?
There is no wastage in an opening, so the calculator has none. The only margins are the clearance around the leaf, which is part of the frame, and the fitting allowance the maker specifies between frame and framing: 1/2 in in each dimension for a JELD-WEN interior pre-hung unit, 1 in in width and 3/4 in in height for its exterior units. Those are inputs, so a different maker's figure goes straight in.
Does this replace professional advice?
No. It is a dimension estimate from the values you enter. The header over the opening, the trimmers beside it, egress and fire-door requirements and the flashing of an external door are design matters under the local building code, the International Residential Code in the United States, and the maker's instructions. For work that affects structure, gas, electrics, plumbing or drainage to a public sewer, use a suitably qualified professional.
Can I change the unit prices?
There are no prices on this page; it returns sizes only. The inputs that change the result are the leaf size, the jamb thickness, the clearance around the leaf, the fitting allowance and the gap under the door, and each is editable so the opening follows the actual door and frame being fitted.
Spotted something off?
Calculations or display — let us know.
Related tools
Calculators from other categories that planners often reach for next.













