{
  "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": "skylight-rough-opening-calculator",
  "category": "materials-quantities",
  "title": "Skylight Rough Opening Calculator",
  "description": "Calculate the framed rough opening dimensions for a skylight from the unit size and manufacturer clearance.",
  "url": "https://craftquantities.com/calculators/materials-quantities/skylight-rough-opening-calculator/",
  "json": "https://craftquantities.com/api/v1/calculators/skylight-rough-opening-calculator.json",
  "inputCount": 5,
  "testCaseCount": 2,
  "sourceCount": 3,
  "lastVerified": "2026-09-05",
  "translations": {
    "es-US": "https://craftquantities.com/es/calculators/materials-quantities/skylight-rough-opening-calculator/"
  },
  "citation": {
    "author": "Craft Quantities",
    "title": "Skylight Rough Opening Calculator",
    "version": "1.0.1",
    "sourcesChecked": "2026-09-05",
    "url": "https://craftquantities.com/calculators/materials-quantities/skylight-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. Skylight Rough Opening Calculator. Version 1.0.1. Sources checked 2026-09-05. https://craftquantities.com/calculators/materials-quantities/skylight-rough-opening-calculator/",
      "apa": "Craft Quantities. (2026). Skylight Rough Opening Calculator (Version 1.0.1) [Web calculator]. Retrieved from https://craftquantities.com/calculators/materials-quantities/skylight-rough-opening-calculator/",
      "harvard": "Craft Quantities (2026) Skylight Rough Opening Calculator (Version 1.0.1). Available at: https://craftquantities.com/calculators/materials-quantities/skylight-rough-opening-calculator/",
      "bibtex": "@misc{craftquantities-calculators-materials-quantities-skylight-rough-opening-calculator,\n  author       = {{Craft Quantities}},\n  title        = {Skylight Rough Opening Calculator},\n  version      = {1.0.1},\n  year         = {2026},\n  howpublished = {\\url{https://craftquantities.com/calculators/materials-quantities/skylight-rough-opening-calculator/}},\n}"
    }
  },
  "inputs": [
    {
      "id": "skylightWidth",
      "label": "Skylight Unit Width",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0.6,
      "min": 0.01,
      "max": 2,
      "step": 0.01,
      "help": "The manufactured width of the skylight unit itself."
    },
    {
      "id": "skylightHeight",
      "label": "Skylight Unit Height",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0.9,
      "min": 0.01,
      "max": 2.5,
      "step": 0.01,
      "help": "The manufactured height of the skylight unit itself."
    },
    {
      "id": "clearance",
      "label": "Clearance per Side",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0.013,
      "min": 0.006,
      "max": 0.025,
      "step": 0.001,
      "help": "The manufacturer's required installation clearance on each side of the unit."
    },
    {
      "id": "rafterSpacing",
      "label": "Rafter Spacing, On Centres",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0.6,
      "min": 0.3,
      "max": 1.5,
      "step": 0.05,
      "help": "The centre-to-centre spacing of the rafters the opening is being cut through."
    },
    {
      "id": "rafterThickness",
      "label": "Rafter Thickness",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0.038,
      "min": 0.02,
      "max": 0.1,
      "step": 0.001,
      "help": "The thickness of one rafter, measured across the face the opening runs past."
    }
  ],
  "sources": [
    {
      "label": "Rough opening dimension = skylight unit dimension + 2 x manufacturer-specified installation clearance (commonly 0.5in / 13mm per side)"
    },
    {
      "label": "Clear gap between two rafters = spacing on centres - rafter thickness, so the widest unit that misses the rafters entirely is that gap less twice the clearance"
    },
    {
      "label": "A rafter is interrupted when its own thickness overlaps the opening, so the rafter centres that fall in an open span of (opening width + rafter thickness) are the ones cut: either ceil(span / spacing) - 1 or ceil(span / spacing) of them, depending where the opening lands"
    }
  ],
  "testCases": [
    {
      "name": "0.6x0.9m unit, 13mm clearance",
      "inputs": {
        "skylightWidth": 0.6,
        "skylightHeight": 0.9,
        "clearance": 0.013
      },
      "expected": 0.626,
      "toleranceDecimalPlaces": 2,
      "unit": "m",
      "confidence": "high",
      "steps": [
        {
          "label": "Rough opening height",
          "value": 0.926,
          "unit": "m"
        },
        {
          "label": "Clear gap between two rafters",
          "value": null,
          "unit": "m"
        },
        {
          "label": "Widest unit that misses the rafters",
          "value": null,
          "unit": "m"
        },
        {
          "label": "Rafters interrupted, at fewest",
          "value": null
        },
        {
          "label": "Rafters interrupted, at most",
          "value": null
        }
      ],
      "basis": "cited",
      "sourceIndex": 0
    },
    {
      "name": "0.8x1.2m unit, 13mm clearance",
      "inputs": {
        "skylightWidth": 0.8,
        "skylightHeight": 1.2,
        "clearance": 0.013
      },
      "expected": 0.826,
      "toleranceDecimalPlaces": 2,
      "unit": "m",
      "confidence": "high",
      "steps": [
        {
          "label": "Rough opening height",
          "value": 1.226,
          "unit": "m"
        },
        {
          "label": "Clear gap between two rafters",
          "value": null,
          "unit": "m"
        },
        {
          "label": "Widest unit that misses the rafters",
          "value": null,
          "unit": "m"
        },
        {
          "label": "Rafters interrupted, at fewest",
          "value": null
        },
        {
          "label": "Rafters interrupted, at most",
          "value": null
        }
      ],
      "basis": "cited",
      "sourceIndex": 0
    }
  ]
}
