{
  "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": "handrail-gooseneck-calculator",
  "category": "materials-quantities",
  "title": "Handrail Gooseneck and Easing Calculator (Rail Heights, Gooseneck Rise and Mitre Cuts)",
  "description": "From your stair and two rail heights: whether the top takes a gooseneck or an easing, its rise, each mitre cut off square, and the rail along the flight.",
  "url": "https://craftquantities.com/calculators/materials-quantities/handrail-gooseneck-calculator/",
  "json": "https://craftquantities.com/api/v1/calculators/handrail-gooseneck-calculator.json",
  "inputCount": 6,
  "testCaseCount": 5,
  "sourceCount": 2,
  "lastVerified": "2026-11-14",
  "citation": {
    "author": "Craft Quantities",
    "title": "Handrail Gooseneck and Easing Calculator (Rail Heights, Gooseneck Rise and Mitre Cuts)",
    "version": "1.0.1",
    "sourcesChecked": "2026-11-14",
    "url": "https://craftquantities.com/calculators/materials-quantities/handrail-gooseneck-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. Handrail Gooseneck and Easing Calculator (Rail Heights, Gooseneck Rise and Mitre Cuts). Version 1.0.1. Sources checked 2026-11-14. https://craftquantities.com/calculators/materials-quantities/handrail-gooseneck-calculator/",
      "apa": "Craft Quantities. (2026). Handrail Gooseneck and Easing Calculator (Rail Heights, Gooseneck Rise and Mitre Cuts) (Version 1.0.1) [Web calculator]. Retrieved from https://craftquantities.com/calculators/materials-quantities/handrail-gooseneck-calculator/",
      "harvard": "Craft Quantities (2026) Handrail Gooseneck and Easing Calculator (Rail Heights, Gooseneck Rise and Mitre Cuts) (Version 1.0.1). Available at: https://craftquantities.com/calculators/materials-quantities/handrail-gooseneck-calculator/",
      "bibtex": "@misc{craftquantities-calculators-materials-quantities-handrail-gooseneck-calculator,\n  author       = {{Craft Quantities}},\n  title        = {Handrail Gooseneck and Easing Calculator (Rail Heights, Gooseneck Rise and Mitre Cuts)},\n  version      = {1.0.1},\n  year         = {2026},\n  howpublished = {\\url{https://craftquantities.com/calculators/materials-quantities/handrail-gooseneck-calculator/}},\n}"
    }
  },
  "inputs": [
    {
      "id": "totalRise",
      "label": "Total Rise (floor to floor)",
      "type": "number",
      "dimension": "length",
      "defaultValue": 2.7,
      "min": 0.3,
      "max": 8,
      "step": 0.005,
      "help": "Finished floor below to finished floor above."
    },
    {
      "id": "targetRiser",
      "label": "Riser You Are Aiming For",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0.185,
      "min": 0.1,
      "max": 0.3,
      "step": 0.001,
      "help": "The rise per step you want."
    },
    {
      "id": "going",
      "label": "Going",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0.26,
      "min": 0.15,
      "max": 0.4,
      "step": 0.001,
      "help": "Nosing to nosing."
    },
    {
      "id": "rakeHeight",
      "label": "Rail height over the nosings",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0.9,
      "min": 0.7,
      "max": 1.2,
      "step": 0.001,
      "help": "Top of the rail, plumb above the nosing line."
    },
    {
      "id": "levelHeight",
      "label": "Level rail height at the landing",
      "type": "number",
      "dimension": "length",
      "defaultValue": 1,
      "min": 0.7,
      "max": 1.3,
      "step": 0.001,
      "help": "The landing's rail or guard."
    },
    {
      "id": "buildingCode",
      "label": "Code for the readout",
      "type": "select",
      "defaultValue": "irc",
      "options": [
        {
          "value": "irc",
          "label": "US — IRC"
        },
        {
          "value": "uk",
          "label": "UK — Approved Document K"
        },
        {
          "value": "au",
          "label": "Australia — NCC Housing Provisions"
        },
        {
          "value": "ca",
          "label": "Canada — National Building Code"
        },
        {
          "value": "generic",
          "label": "General guideline (the IRC's figures)"
        }
      ],
      "help": "The code the rail heights are read against."
    }
  ],
  "sources": [
    {
      "label": "Two straight members meeting with a change of direction d are each cut d / 2 from square (the saw setting; 90° less it from the member's axis): rake to level d = pitch, rake to vertical d = 90° - pitch (up, a gooseneck) or 90° + pitch (down, a ramp), vertical to level d = 90°; pitch = atan(riser / going)"
    },
    {
      "label": "US: IRC R311.7.8.1 (handrail 34–38 in measured vertically from the sloped plane of the nosings) and R312.1.2 (guards at least 36 in); UK: Approved Document K 1.34 (handrails 900–1000 mm above the pitch line); the NCC's and the NBC's rail heights are not read here"
    }
  ],
  "testCases": [
    {
      "name": "900 mm rail to a 1000 mm landing rail: a 100 mm gooseneck",
      "inputs": {
        "totalRise": 2.7,
        "targetRiser": 0.185,
        "going": 0.26,
        "rakeHeight": 0.9,
        "levelHeight": 1,
        "buildingCode": "irc"
      },
      "expected": 100,
      "toleranceDecimalPlaces": 1,
      "unit": "mm",
      "confidence": "high",
      "steps": [
        {
          "label": "Pitch",
          "value": 34.69515353123398,
          "unit": "°"
        },
        {
          "label": "Cut, rake to vertical (each piece, saw setting from square)",
          "value": 27.65242323438301,
          "unit": "°"
        },
        {
          "label": "Cut, vertical to level (saw setting from square)",
          "value": 45,
          "unit": "°"
        },
        {
          "label": "Cut, rake to level (an easing, saw setting from square)",
          "value": 17.34757676561699,
          "unit": "°"
        },
        {
          "label": "Rail along the flight",
          "value": 4.427188724235731,
          "unit": "m"
        },
        {
          "label": "Post height at the foot",
          "value": 900,
          "unit": "mm"
        },
        {
          "label": "Post height at the top",
          "value": 1000,
          "unit": "mm"
        }
      ],
      "basis": "cited",
      "sourceIndex": 0
    },
    {
      "name": "36 in rail to a 42 in guard: a 6 in gooseneck",
      "inputs": {
        "totalRise": 2.7432,
        "targetRiser": 0.19685,
        "going": 0.254,
        "rakeHeight": 0.9144,
        "levelHeight": 1.0668,
        "buildingCode": "uk"
      },
      "expected": 152.4,
      "toleranceDecimalPlaces": 1,
      "unit": "mm",
      "confidence": "high",
      "steps": [
        {
          "label": "Pitch",
          "value": 37.64762064010764,
          "unit": "°"
        },
        {
          "label": "Cut, rake to vertical (each piece, saw setting from square)",
          "value": 26.17618967994618,
          "unit": "°"
        },
        {
          "label": "Cut, vertical to level (saw setting from square)",
          "value": 45,
          "unit": "°"
        },
        {
          "label": "Cut, rake to level (an easing, saw setting from square)",
          "value": 18.82381032005382,
          "unit": "°"
        },
        {
          "label": "Rail along the flight",
          "value": 4.170338469697242,
          "unit": "m"
        },
        {
          "label": "Post height at the foot",
          "value": 914.4,
          "unit": "mm"
        },
        {
          "label": "Post height at the top",
          "value": 1066.8,
          "unit": "mm"
        }
      ],
      "basis": "cited",
      "sourceIndex": 0
    },
    {
      "name": "the same height both sides: an easing, no rise",
      "inputs": {
        "totalRise": 2.7,
        "targetRiser": 0.185,
        "going": 0.26,
        "rakeHeight": 0.9,
        "levelHeight": 0.9,
        "buildingCode": "au"
      },
      "expected": 0,
      "toleranceDecimalPlaces": 1,
      "unit": "mm",
      "confidence": "high",
      "steps": [
        {
          "label": "Pitch",
          "value": 34.69515353123398,
          "unit": "°"
        },
        {
          "label": "Cut, rake to vertical (each piece, saw setting from square)",
          "value": 27.65242323438301,
          "unit": "°"
        },
        {
          "label": "Cut, vertical to level (saw setting from square)",
          "value": 45,
          "unit": "°"
        },
        {
          "label": "Cut, rake to level (an easing, saw setting from square)",
          "value": 17.34757676561699,
          "unit": "°"
        },
        {
          "label": "Rail along the flight",
          "value": 4.427188724235731,
          "unit": "m"
        },
        {
          "label": "Post height at the foot",
          "value": 900,
          "unit": "mm"
        },
        {
          "label": "Post height at the top",
          "value": 900,
          "unit": "mm"
        }
      ],
      "basis": "cited",
      "sourceIndex": 0
    },
    {
      "name": "a 1000 mm rail down to 900 mm: a 100 mm ramp",
      "inputs": {
        "totalRise": 2.7,
        "targetRiser": 0.185,
        "going": 0.26,
        "rakeHeight": 1,
        "levelHeight": 0.9,
        "buildingCode": "ca"
      },
      "expected": 100,
      "toleranceDecimalPlaces": 1,
      "unit": "mm",
      "confidence": "high",
      "steps": [
        {
          "label": "Pitch",
          "value": 34.69515353123398,
          "unit": "°"
        },
        {
          "label": "Cut, rake to vertical (each piece, saw setting from square)",
          "value": 62.34757676561699,
          "unit": "°"
        },
        {
          "label": "Cut, vertical to level (saw setting from square)",
          "value": 45,
          "unit": "°"
        },
        {
          "label": "Cut, rake to level (an easing, saw setting from square)",
          "value": 17.34757676561699,
          "unit": "°"
        },
        {
          "label": "Rail along the flight",
          "value": 4.427188724235731,
          "unit": "m"
        },
        {
          "label": "Post height at the foot",
          "value": 1000,
          "unit": "mm"
        },
        {
          "label": "Post height at the top",
          "value": 900,
          "unit": "mm"
        }
      ],
      "basis": "cited",
      "sourceIndex": 0
    },
    {
      "name": "the 100 mm gooseneck on the general guideline",
      "inputs": {
        "totalRise": 2.7,
        "targetRiser": 0.185,
        "going": 0.26,
        "rakeHeight": 0.9,
        "levelHeight": 1,
        "buildingCode": "generic"
      },
      "expected": 100,
      "toleranceDecimalPlaces": 1,
      "unit": "mm",
      "confidence": "high",
      "steps": [
        {
          "label": "Pitch",
          "value": 34.69515353123398,
          "unit": "°"
        },
        {
          "label": "Cut, rake to vertical (each piece, saw setting from square)",
          "value": 27.65242323438301,
          "unit": "°"
        },
        {
          "label": "Cut, vertical to level (saw setting from square)",
          "value": 45,
          "unit": "°"
        },
        {
          "label": "Cut, rake to level (an easing, saw setting from square)",
          "value": 17.34757676561699,
          "unit": "°"
        },
        {
          "label": "Rail along the flight",
          "value": 4.427188724235731,
          "unit": "m"
        },
        {
          "label": "Post height at the foot",
          "value": 900,
          "unit": "mm"
        },
        {
          "label": "Post height at the top",
          "value": 1000,
          "unit": "mm"
        }
      ],
      "basis": "cited",
      "sourceIndex": 1
    }
  ]
}
