# Fenestration Rough Opening Calculator

> Size the framed opening for a window or door once shim space, the sill pan and an out-of-square allowance are all in the sum.

Page: https://craftquantities.com/calculators/materials-quantities/fenestration-rough-opening-calculator/ (calculator). This is the page's Markdown copy; the HTML page is the canonical version.

Version 1.0.0, sources checked 2026-08-30, 3 published test vectors.

Rough opening width: 36 in for Unit Width 35 in, Unit Height 47 in and Shim Space per Jamb 0.37 in, the page's opening figures; on the metric page, 900 mm, 1200 mm and 9.5 mm give 925 mm. Sources are cited below.

## Inputs

A length, area or volume is entered with its unit. The page opens on the values below: a metric reader sees the metric column, a US customary reader the other.

| Input | id | Opens at (metric) | Opens at (US customary) | Accepts |
|---|---|---|---|---|
| Unit Width | `unitWidth` | 900 mm | 35 in | mm, cm, m, in, ft, yd; range 0.2–4 m |
| Unit Height | `unitHeight` | 1200 mm | 47 in | mm, cm, m, in, ft, yd; range 0.2–3.5 m |
| Shim Space per Jamb | `jambShim` | 9.5 mm | 0.37 in | mm, cm, m, in, ft, yd; range 0.003–0.025 m |
| Clearance at the Head | `headShim` | 12.7 mm | 0.5 in | mm, cm, m, in, ft, yd; range 0.003–0.038 m |
| Sill Pan Thickness | `sillPanThickness` | 6 mm | 0.25 in | mm, cm, m, in, ft, yd; range 0–0.05 m |
| Sub-Sill Build-Up | `subSillBuildUp` | 0 mm | 0 in | mm, cm, m, in, ft, yd; range 0–0.1 m |
| Out-of-Square Allowance | `outOfSquareAllowance` | 6 mm | 0.25 in | mm, cm, m, in, ft, yd; range 0–0.025 m |

- **Unit Width**: Overall outside frame width of the window or door unit.
- **Unit Height**: Overall outside frame height of the unit, sill to head.
- **Shim Space per Jamb**: The clear gap the manufacturer requires at each jamb.
- **Clearance at the Head**: The clear space required above the head of the unit.
- **Sill Pan Thickness**: Thickness of the pan the unit will sit on at the sill.
- **Sub-Sill Build-Up**: Any packer, sloped bevel or sub-sill placed under the pan.
- **Out-of-Square Allowance**: Extra carried for a rough opening that will not be perfectly true.

## The answer on the opening values

Worked exactly as the page works it, on the values each system opens on.

### Metric

| Result | Value |
|---|---|
| **Rough opening width** | 925 mm |
| Rough opening height | 1,224.7 mm |
| Shim stack at each jamb | 9.5 mm |
| Clear space at the head | 12.7 mm |
| Build-up under the sill | 6 mm |
| Rough opening area | 1.13 m² |

### US customary

| Result | Value |
|---|---|
| **Rough opening width** | 36 in |
| Rough opening height | 48 in |
| Shim stack at each jamb | 0.37 in |
| Clear space at the head | 0.5 in |
| Build-up under the sill | 0.25 in |
| Rough opening area | 12 sq ft |

## How it is worked out

The working the page shows, in order: Rough opening height; Shim stack at each jamb; Clear space at the head; Build-up under the sill; Rough opening area; then rough opening width.

The method, derived in full:

- [Glass, Insulating Units and the Curtain Wall](https://craftquantities.com/methodology/glazing-and-curtain-wall/): Why glass has no strength until you say how long the load lasts, why the edge of a sealed unit leaks more heat than the middle, and why a mullion's deflection limit protects the seal rather than the glass.

What this calculation does not cover:

- The manufacturer's installation instructions govern. Where they state a rough opening directly, use theirs rather than this reconstruction of it.
- Structural clearance under a header that will deflect, and any allowance for frame shrinkage, are design decisions this sum does not make.

A professional must decide:

- Structural clearance under a header that will deflect, and any allowance for frame shrinkage, are design decisions this sum does not make.

## Sources

As the calculator cites them (sources checked 2026-08-30):

- Width = unit width + two jamb shim spaces + the out-of-square allowance. Height = unit height + the head clearance + sill pan thickness + any sub-sill build-up + the out-of-square allowance.
- ASTM E2112, Standard Practice for Installation of Exterior Windows, Doors and Skylights — the practice the shim space and pan sequence follow
- AAMA/WDMA/CSA 101/I.S.2/A440, North American Fenestration Standard — the specification a unit's declared size and installation instructions are written against

A code or standard has force only where a jurisdiction has adopted it, usually with local amendments; check what is in force with the authority where you build.

## Questions answered on the page

**How does this differ from the skylight rough opening calculator?**

That page applies one symmetrical clearance around a skylight unit and is written for curb-mounted work. A wall opening is not symmetrical: the head normally gets more room than the jambs, and the sill gains height from a pan and often a sloped packer beneath it. Those terms are why this is a separate page rather than a rename.

**Why does the sill pan make the opening taller rather than shorter?**

Because the unit sits on top of it. Every millimetre of pan and packer lifts the frame, and if the opening was framed to the bare unit height that lift comes straight out of the head gap. Framing a little taller is free; discovering it on site with the pan already bonded down is not.

**Is an out-of-square allowance really necessary?**

On stick framing, yes. Openings move as the structure is loaded and as timber dries, and a unit sized to a theoretically perfect opening is the one that has to be persuaded in. The allowance is small, it is filled by the same sealant or foam the shim space is, and it costs nothing to carry.

**What if the manufacturer publishes a rough opening size directly?**

Use the manufacturer's published size: it already contains their shim requirement and any allowance they want, and it is the dimension their warranty is written against. This page is for the case where you have a unit size and an installation detail but no published opening — or where a pan build-up means the published figure no longer applies.

## Related calculators

- [Skylight Rough Opening Calculator](https://craftquantities.com/calculators/materials-quantities/skylight-rough-opening-calculator/)
- [Window Opening Flashing Membrane Calculator](https://craftquantities.com/calculators/materials-quantities/opening-flashing-membrane-calculator/)
- [Door & Window Casing Calculator](https://craftquantities.com/calculators/renovation-construction/door-window-casing-calculator/)

## Run it from a program

- REST: `GET https://api.craftquantities.com/v1/calculate/fenestration-rough-opening-calculator` with each input as a query parameter, a length, area or volume with its unit; `https://api.craftquantities.com/v1/describe/fenestration-rough-opening-calculator` lists the inputs.
- MCP: the `calculate` tool at https://api.craftquantities.com/mcp with `slug` `fenestration-rough-opening-calculator`.
- Definition and test vectors: https://craftquantities.com/api/v1/calculators/fenestration-rough-opening-calculator.json

---
Source: https://craftquantities.com/calculators/materials-quantities/fenestration-rough-opening-calculator/
Craft Quantities: free to read, cite and link to; the pages are not licensed for republication. Quantities only: no prices, no design and no certification.
