{
  "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": "door-window-casing-calculator",
  "category": "renovation-construction",
  "title": "Door & Window Casing Calculator",
  "description": "Estimate the linear feet or metres of casing trim needed to frame door or window openings.",
  "url": "https://craftquantities.com/calculators/renovation-construction/door-window-casing-calculator/",
  "json": "https://craftquantities.com/api/v1/calculators/door-window-casing-calculator.json",
  "inputCount": 6,
  "testCaseCount": 3,
  "sourceCount": 3,
  "lastVerified": "2026-09-17",
  "translations": {
    "es-US": "https://craftquantities.com/es/calculators/renovation-construction/door-window-casing-calculator/"
  },
  "citation": {
    "author": "Craft Quantities",
    "title": "Door & Window Casing Calculator",
    "version": "1.1.0",
    "sourcesChecked": "2026-09-17",
    "url": "https://craftquantities.com/calculators/renovation-construction/door-window-casing-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. Door & Window Casing Calculator. Version 1.1.0. Sources checked 2026-09-17. https://craftquantities.com/calculators/renovation-construction/door-window-casing-calculator/",
      "apa": "Craft Quantities. (2026). Door & Window Casing Calculator (Version 1.1.0) [Web calculator]. Retrieved from https://craftquantities.com/calculators/renovation-construction/door-window-casing-calculator/",
      "harvard": "Craft Quantities (2026) Door & Window Casing Calculator (Version 1.1.0). Available at: https://craftquantities.com/calculators/renovation-construction/door-window-casing-calculator/",
      "bibtex": "@misc{craftquantities-calculators-renovation-construction-door-window-casing-calculator,\n  author       = {{Craft Quantities}},\n  title        = {Door & Window Casing Calculator},\n  version      = {1.1.0},\n  year         = {2026},\n  howpublished = {\\url{https://craftquantities.com/calculators/renovation-construction/door-window-casing-calculator/}},\n}"
    }
  },
  "inputs": [
    {
      "id": "openingType",
      "label": "Opening Type",
      "type": "select",
      "defaultValue": "door",
      "options": [
        {
          "value": "door",
          "label": "Door (3 sides — no bottom)"
        },
        {
          "value": "window",
          "label": "Window (4 sides)"
        }
      ],
      "help": "Doors are cased on both jambs and the head; windows are cased on all four sides."
    },
    {
      "id": "openingHeight",
      "label": "Opening Height",
      "type": "number",
      "dimension": "length",
      "defaultValue": 2.032,
      "min": 0.01,
      "max": 3,
      "step": 0.01,
      "help": "The height of the rough opening."
    },
    {
      "id": "openingWidth",
      "label": "Opening Width",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0.864,
      "min": 0.01,
      "max": 3,
      "step": 0.01,
      "help": "The width of the rough opening."
    },
    {
      "id": "openingCount",
      "label": "Number of Openings",
      "type": "number",
      "defaultValue": 1,
      "min": 1,
      "max": 50,
      "step": 1,
      "help": "How many identical door or window openings you're casing."
    },
    {
      "id": "stickLengthFt",
      "label": "Stock Stick Length",
      "type": "select",
      "defaultValue": "7",
      "optionsBySystem": {
        "imperial": [
          {
            "value": "7",
            "label": "7 ft"
          },
          {
            "value": "8",
            "label": "8 ft"
          },
          {
            "value": "10",
            "label": "10 ft"
          }
        ],
        "metric": [
          {
            "value": "7",
            "label": "2.1 m (~7 ft)"
          },
          {
            "value": "8",
            "label": "2.4 m (~8 ft)"
          },
          {
            "value": "10",
            "label": "3 m (~10 ft)"
          }
        ]
      },
      "help": "The length casing stock is sold in at your supplier."
    },
    {
      "id": "wastePercent",
      "label": "Mitre Waste (%)",
      "type": "number",
      "defaultValue": 10,
      "min": 0,
      "max": 30,
      "step": 1,
      "help": "Extra casing for mitre offcuts and a recut joint."
    }
  ],
  "sources": [
    {
      "label": "A door opening is cased on both side jambs plus the head (top): 2 x height + width. A window is cased on all four sides: 2 x (height + width)"
    },
    {
      "label": "10% waste is standard for casing to account for 45° corner miters"
    },
    {
      "label": "Casing stock runs 7, 8 and 10 ft where trim is sold by the foot; the metric shelf carries the same product at 2.1, 2.4 and 3 m, the 2.1 m length being the one cut to clear a standard door height in a single piece"
    }
  ],
  "testCases": [
    {
      "name": "1 door, 80x34 in, 7ft sticks",
      "inputs": {
        "openingType": "door",
        "openingHeight": 2.032,
        "openingWidth": 0.864,
        "openingCount": 1,
        "stickLengthFt": 7
      },
      "expected": 17.79,
      "toleranceDecimalPlaces": 0.5,
      "unit": "linear ft",
      "confidence": "high",
      "steps": [
        {
          "label": "Casing needed (before waste)",
          "value": 16.16797900262467,
          "unit": "linear ft"
        },
        {
          "label": "Sticks needed",
          "value": 3,
          "unit": "x 7 ft sticks"
        }
      ],
      "basis": "ambiguous"
    },
    {
      "name": "2 windows, 1.2x0.9m, 8ft sticks",
      "inputs": {
        "openingType": "window",
        "openingHeight": 1.2,
        "openingWidth": 0.9,
        "openingCount": 2,
        "stickLengthFt": 8
      },
      "expected": 30.32,
      "toleranceDecimalPlaces": 0.5,
      "unit": "linear ft",
      "confidence": "high",
      "steps": [
        {
          "label": "Casing needed (before waste)",
          "value": 27.559055118110237,
          "unit": "linear ft"
        },
        {
          "label": "Sticks needed",
          "value": 4,
          "unit": "x 8 ft sticks"
        }
      ],
      "basis": "ambiguous"
    },
    {
      "name": "1 door with no mitre waste",
      "inputs": {
        "openingType": "door",
        "openingHeight": 2.032,
        "openingWidth": 0.864,
        "openingCount": 1,
        "stickLengthFt": 7,
        "wastePercent": 0
      },
      "expected": 16.17,
      "toleranceDecimalPlaces": 0.5,
      "unit": "linear ft",
      "confidence": "high",
      "steps": [
        {
          "label": "Casing needed (before waste)",
          "value": 16.16797900262467,
          "unit": "linear ft"
        },
        {
          "label": "Sticks needed",
          "value": 3,
          "unit": "x 7 ft sticks"
        }
      ],
      "basis": "cited",
      "sourceIndex": 0
    }
  ],
  "usedByAssemblies": [
    {
      "id": "trim-run",
      "name": "Baseboard and casing"
    },
    {
      "id": "window-replacement",
      "name": "Window replacement"
    },
    {
      "id": "new-external-opening",
      "name": "New window or door opening in an outside wall"
    },
    {
      "id": "external-door-replacement",
      "name": "External door replacement, with its frame"
    }
  ]
}
