{
  "version": "v1",
  "source": "https://craftquantities.com",
  "licence": "CC BY 4.0",
  "licenceUrl": "https://creativecommons.org/licenses/by/4.0/",
  "attribution": "Craft Quantities — craftquantities.com",
  "documentation": "https://craftquantities.com/api/",
  "versioning": "Fields are added, never removed or repurposed, within a version. A breaking change becomes /api/v2/ and v1 keeps being built.",
  "slug": "fenestration-rough-opening-calculator",
  "category": "materials-quantities",
  "title": "Fenestration Rough Opening Calculator",
  "description": "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.",
  "url": "https://craftquantities.com/calculators/materials-quantities/fenestration-rough-opening-calculator/",
  "json": "https://craftquantities.com/api/v1/calculators/fenestration-rough-opening-calculator.json",
  "inputCount": 7,
  "testCaseCount": 3,
  "sourceCount": 3,
  "lastVerified": "2026-08-30",
  "translations": {
    "es-US": "https://craftquantities.com/es/calculators/materials-quantities/fenestration-rough-opening-calculator/"
  },
  "citation": {
    "author": "Craft Quantities",
    "title": "Fenestration Rough Opening Calculator",
    "version": "1.0.0",
    "sourcesChecked": "2026-08-30",
    "url": "https://craftquantities.com/calculators/materials-quantities/fenestration-rough-opening-calculator/",
    "accessDate": null,
    "accessDateNote": "Add the date you retrieved this. It is deliberately absent: a static file cannot know when you read it, and the build date would be wrong.",
    "permanentVersionedUrl": null,
    "permanentVersionedUrlNote": "Not offered. This site keeps no archive of previous builds, so any such URL would resolve to the current page or to nothing. The version and sourcesChecked fields identify the calculation instead.",
    "formats": {
      "plain": "Craft Quantities. Fenestration Rough Opening Calculator. Version 1.0.0. Sources checked 2026-08-30. https://craftquantities.com/calculators/materials-quantities/fenestration-rough-opening-calculator/",
      "apa": "Craft Quantities. (2026). Fenestration Rough Opening Calculator (Version 1.0.0) [Web calculator]. Retrieved from https://craftquantities.com/calculators/materials-quantities/fenestration-rough-opening-calculator/",
      "harvard": "Craft Quantities (2026) Fenestration Rough Opening Calculator (Version 1.0.0). Available at: https://craftquantities.com/calculators/materials-quantities/fenestration-rough-opening-calculator/",
      "bibtex": "@misc{craftquantities-calculators-materials-quantities-fenestration-rough-opening-calculator,\n  author       = {{Craft Quantities}},\n  title        = {Fenestration Rough Opening Calculator},\n  version      = {1.0.0},\n  year         = {2026},\n  howpublished = {\\url{https://craftquantities.com/calculators/materials-quantities/fenestration-rough-opening-calculator/}},\n}"
    }
  },
  "inputs": [
    {
      "id": "unitWidth",
      "label": "Unit Width",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0.9,
      "min": 0.2,
      "max": 4,
      "step": 0.005,
      "help": "Overall outside frame width of the window or door unit."
    },
    {
      "id": "unitHeight",
      "label": "Unit Height",
      "type": "number",
      "dimension": "length",
      "defaultValue": 1.2,
      "min": 0.2,
      "max": 3.5,
      "step": 0.005,
      "help": "Overall outside frame height of the unit, sill to head."
    },
    {
      "id": "jambShim",
      "label": "Shim Space per Jamb",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0.0095,
      "min": 0.003,
      "max": 0.025,
      "step": 0.0005,
      "help": "The clear gap the manufacturer requires at each jamb."
    },
    {
      "id": "headShim",
      "label": "Clearance at the Head",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0.0127,
      "min": 0.003,
      "max": 0.038,
      "step": 0.0005,
      "help": "The clear space required above the head of the unit."
    },
    {
      "id": "sillPanThickness",
      "label": "Sill Pan Thickness",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0.006,
      "min": 0,
      "max": 0.05,
      "step": 0.0005,
      "help": "Thickness of the pan the unit will sit on at the sill."
    },
    {
      "id": "subSillBuildUp",
      "label": "Sub-Sill Build-Up",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0,
      "min": 0,
      "max": 0.1,
      "step": 0.001,
      "help": "Any packer, sloped bevel or sub-sill placed under the pan."
    },
    {
      "id": "outOfSquareAllowance",
      "label": "Out-of-Square Allowance",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0.006,
      "min": 0,
      "max": 0.025,
      "step": 0.0005,
      "help": "Extra carried for a rough opening that will not be perfectly true."
    }
  ],
  "sources": [
    {
      "label": "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."
    },
    {
      "label": "ASTM E2112, Standard Practice for Installation of Exterior Windows, Doors and Skylights — the practice the shim space and pan sequence follow"
    },
    {
      "label": "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"
    }
  ],
  "testCases": [
    {
      "name": "900 by 1200 unit, 9.5 mm jambs, 6 mm pan",
      "inputs": {
        "unitWidth": 0.9,
        "unitHeight": 1.2,
        "jambShim": 0.0095,
        "headShim": 0.0127,
        "sillPanThickness": 0.006,
        "subSillBuildUp": 0,
        "outOfSquareAllowance": 0.006
      },
      "expected": 925,
      "toleranceDecimalPlaces": 2,
      "unit": "mm",
      "confidence": "high",
      "steps": [
        {
          "label": "Rough opening height",
          "value": 1224.6999999999998,
          "unit": "mm"
        },
        {
          "label": "Shim stack at each jamb",
          "value": 9.5,
          "unit": "mm"
        },
        {
          "label": "Clear space at the head",
          "value": 12.7,
          "unit": "mm"
        },
        {
          "label": "Build-up under the sill",
          "value": 6,
          "unit": "mm"
        },
        {
          "label": "Rough opening area",
          "value": 1.1328475,
          "unit": "m²"
        }
      ],
      "basis": "ambiguous"
    },
    {
      "name": "1500 wide unit with a sloped sub-sill packer",
      "inputs": {
        "unitWidth": 1.5,
        "unitHeight": 1.5,
        "jambShim": 0.0127,
        "headShim": 0.0127,
        "sillPanThickness": 0.009,
        "subSillBuildUp": 0.019,
        "outOfSquareAllowance": 0.0095
      },
      "expected": 1534.9,
      "toleranceDecimalPlaces": 2,
      "unit": "mm",
      "confidence": "high",
      "steps": [
        {
          "label": "Rough opening height",
          "value": 1550.2,
          "unit": "mm"
        },
        {
          "label": "Shim stack at each jamb",
          "value": 12.7,
          "unit": "mm"
        },
        {
          "label": "Clear space at the head",
          "value": 12.7,
          "unit": "mm"
        },
        {
          "label": "Build-up under the sill",
          "value": 27.999999999999996,
          "unit": "mm"
        },
        {
          "label": "Rough opening area",
          "value": 2.3794019800000004,
          "unit": "m²"
        }
      ],
      "basis": "ambiguous"
    },
    {
      "name": "Tight-tolerance opening, minimum shims, no pan",
      "inputs": {
        "unitWidth": 0.6,
        "unitHeight": 0.6,
        "jambShim": 0.003,
        "headShim": 0.003,
        "sillPanThickness": 0,
        "subSillBuildUp": 0,
        "outOfSquareAllowance": 0
      },
      "expected": 606,
      "toleranceDecimalPlaces": 2,
      "unit": "mm",
      "confidence": "high",
      "steps": [
        {
          "label": "Rough opening height",
          "value": 603,
          "unit": "mm"
        },
        {
          "label": "Shim stack at each jamb",
          "value": 3,
          "unit": "mm"
        },
        {
          "label": "Clear space at the head",
          "value": 3,
          "unit": "mm"
        },
        {
          "label": "Build-up under the sill",
          "value": 0,
          "unit": "mm"
        },
        {
          "label": "Rough opening area",
          "value": 0.36541799999999997,
          "unit": "m²"
        }
      ],
      "basis": "ambiguous"
    }
  ],
  "usedByAssemblies": [
    {
      "id": "window-replacement",
      "name": "Window replacement"
    }
  ]
}
