{
  "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": "stud-calculator",
  "category": "materials-quantities",
  "title": "Stud Calculator",
  "description": "Count the studs, plates and corner framing for a wall run at 16 or 24 inch (400 or 600 mm) centres, including openings.",
  "url": "https://craftquantities.com/calculators/materials-quantities/stud-calculator/",
  "json": "https://craftquantities.com/api/v1/calculators/stud-calculator.json",
  "inputCount": 4,
  "testCaseCount": 4,
  "sourceCount": 2,
  "lastVerified": "2026-09-06",
  "translations": {
    "es-US": "https://craftquantities.com/es/calculators/materials-quantities/stud-calculator/"
  },
  "citation": {
    "author": "Craft Quantities",
    "title": "Stud Calculator",
    "version": "1.0.1",
    "sourcesChecked": "2026-09-06",
    "url": "https://craftquantities.com/calculators/materials-quantities/stud-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. Stud Calculator. Version 1.0.1. Sources checked 2026-09-06. https://craftquantities.com/calculators/materials-quantities/stud-calculator/",
      "apa": "Craft Quantities. (2026). Stud Calculator (Version 1.0.1) [Web calculator]. Retrieved from https://craftquantities.com/calculators/materials-quantities/stud-calculator/",
      "harvard": "Craft Quantities (2026) Stud Calculator (Version 1.0.1). Available at: https://craftquantities.com/calculators/materials-quantities/stud-calculator/",
      "bibtex": "@misc{craftquantities-calculators-materials-quantities-stud-calculator,\n  author       = {{Craft Quantities}},\n  title        = {Stud Calculator},\n  version      = {1.0.1},\n  year         = {2026},\n  howpublished = {\\url{https://craftquantities.com/calculators/materials-quantities/stud-calculator/}},\n}"
    }
  },
  "inputs": [
    {
      "id": "wallLength",
      "label": "Wall length",
      "type": "number",
      "dimension": "length",
      "defaultValue": 6,
      "min": 0.01,
      "max": 200,
      "step": 0.1,
      "help": "Total length of the wall run."
    },
    {
      "id": "spacingIn",
      "label": "Stud spacing",
      "type": "select",
      "defaultValue": "16",
      "options": [
        {
          "value": "16",
          "label": "16 in / 400 mm centres"
        },
        {
          "value": "24",
          "label": "24 in / 600 mm centres"
        },
        {
          "value": "12",
          "label": "12 in / 300 mm centres"
        }
      ],
      "help": "Centre-to-centre spacing."
    },
    {
      "id": "openings",
      "label": "Doors and windows",
      "type": "number",
      "defaultValue": 1,
      "min": 0,
      "max": 40,
      "step": 1,
      "help": "Number of openings in the run."
    },
    {
      "id": "corners",
      "label": "Corners and intersections",
      "type": "number",
      "defaultValue": 2,
      "min": 0,
      "max": 40,
      "step": 1,
      "help": "Corners plus partition intersections."
    }
  ],
  "sources": [
    {
      "label": "IRC R602.3 — stud spacing and size for load-bearing and non-load-bearing walls"
    },
    {
      "label": "AS 1684.2 (AU) and BS 8103 (UK) give equivalent stud spacing rules for timber-framed construction"
    }
  ],
  "testCases": [
    {
      "name": "6 m wall at 16 in, 1 opening, 2 corners",
      "inputs": {
        "wallLength": 6,
        "spacingIn": "16",
        "openings": 1,
        "corners": 2
      },
      "expected": 23,
      "toleranceDecimalPlaces": 0,
      "unit": "studs",
      "confidence": "medium",
      "steps": [
        {
          "label": "Field studs",
          "value": 16,
          "unit": "studs"
        },
        {
          "label": "Opening framing",
          "value": 3,
          "unit": "studs"
        },
        {
          "label": "Corner framing",
          "value": 4,
          "unit": "studs"
        },
        {
          "label": "Whole bays at the centres chosen",
          "value": 14
        },
        {
          "label": "Short bay where the wall ends",
          "value": 0.31040000000000045,
          "unit": "m"
        },
        {
          "label": "Plate material (single bottom, double top)",
          "value": 18,
          "unit": "m"
        }
      ],
      "basis": "ambiguous"
    },
    {
      "name": "Same wall at 24 in centres",
      "inputs": {
        "wallLength": 6,
        "spacingIn": "24",
        "openings": 1,
        "corners": 2
      },
      "expected": 18,
      "toleranceDecimalPlaces": 0,
      "unit": "studs",
      "confidence": "medium",
      "steps": [
        {
          "label": "Field studs",
          "value": 11,
          "unit": "studs"
        },
        {
          "label": "Opening framing",
          "value": 3,
          "unit": "studs"
        },
        {
          "label": "Corner framing",
          "value": 4,
          "unit": "studs"
        },
        {
          "label": "Whole bays at the centres chosen",
          "value": 9
        },
        {
          "label": "Short bay where the wall ends",
          "value": 0.5136000000000003,
          "unit": "m"
        },
        {
          "label": "Plate material (single bottom, double top)",
          "value": 18,
          "unit": "m"
        }
      ],
      "basis": "ambiguous"
    },
    {
      "name": "No openings or corners",
      "inputs": {
        "wallLength": 6,
        "spacingIn": "16",
        "openings": 0,
        "corners": 0
      },
      "expected": 16,
      "toleranceDecimalPlaces": 0,
      "unit": "studs",
      "confidence": "medium",
      "steps": [
        {
          "label": "Field studs",
          "value": 16,
          "unit": "studs"
        },
        {
          "label": "Opening framing",
          "value": 0,
          "unit": "studs"
        },
        {
          "label": "Corner framing",
          "value": 0,
          "unit": "studs"
        },
        {
          "label": "Whole bays at the centres chosen",
          "value": 14
        },
        {
          "label": "Short bay where the wall ends",
          "value": 0.31040000000000045,
          "unit": "m"
        },
        {
          "label": "Plate material (single bottom, double top)",
          "value": 18,
          "unit": "m"
        }
      ],
      "basis": "ambiguous"
    },
    {
      "name": "Doubling the wall roughly doubles the field studs",
      "inputs": {
        "wallLength": 12,
        "spacingIn": "16",
        "openings": 0,
        "corners": 0
      },
      "expected": 31,
      "toleranceDecimalPlaces": 0,
      "unit": "studs",
      "confidence": "medium",
      "steps": [
        {
          "label": "Field studs",
          "value": 31,
          "unit": "studs"
        },
        {
          "label": "Opening framing",
          "value": 0,
          "unit": "studs"
        },
        {
          "label": "Corner framing",
          "value": 0,
          "unit": "studs"
        },
        {
          "label": "Whole bays at the centres chosen",
          "value": 29
        },
        {
          "label": "Short bay where the wall ends",
          "value": 0.21440000000000126,
          "unit": "m"
        },
        {
          "label": "Plate material (single bottom, double top)",
          "value": 36,
          "unit": "m"
        }
      ],
      "basis": "ambiguous"
    }
  ]
}
