{
  "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": "roof-pitch-angle-calculator",
  "category": "measurements-conversions",
  "title": "Roof Pitch to Angle Calculator",
  "description": "Convert a roof pitch (rise per 12 units of run) into its equivalent angle in degrees and slope percent.",
  "url": "https://craftquantities.com/calculators/measurements-conversions/roof-pitch-angle-calculator/",
  "json": "https://craftquantities.com/api/v1/calculators/roof-pitch-angle-calculator.json",
  "inputCount": 1,
  "testCaseCount": 2,
  "sourceCount": 1,
  "lastVerified": "2026-09-06",
  "translations": {
    "es-US": "https://craftquantities.com/es/calculators/measurements-conversions/roof-pitch-angle-calculator/"
  },
  "citation": {
    "author": "Craft Quantities",
    "title": "Roof Pitch to Angle Calculator",
    "version": "1.0.1",
    "sourcesChecked": "2026-09-06",
    "url": "https://craftquantities.com/calculators/measurements-conversions/roof-pitch-angle-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. Roof Pitch to Angle Calculator. Version 1.0.1. Sources checked 2026-09-06. https://craftquantities.com/calculators/measurements-conversions/roof-pitch-angle-calculator/",
      "apa": "Craft Quantities. (2026). Roof Pitch to Angle Calculator (Version 1.0.1) [Web calculator]. Retrieved from https://craftquantities.com/calculators/measurements-conversions/roof-pitch-angle-calculator/",
      "harvard": "Craft Quantities (2026) Roof Pitch to Angle Calculator (Version 1.0.1). Available at: https://craftquantities.com/calculators/measurements-conversions/roof-pitch-angle-calculator/",
      "bibtex": "@misc{craftquantities-calculators-measurements-conversions-roof-pitch-angle-calculator,\n  author       = {{Craft Quantities}},\n  title        = {Roof Pitch to Angle Calculator},\n  version      = {1.0.1},\n  year         = {2026},\n  howpublished = {\\url{https://craftquantities.com/calculators/measurements-conversions/roof-pitch-angle-calculator/}},\n}"
    }
  },
  "inputs": [
    {
      "id": "riseIn",
      "label": "Rise per 12 in of Run",
      "type": "number",
      "defaultValue": 6,
      "min": 0.5,
      "max": 24,
      "step": 0.5,
      "help": "The 'X' in an X/12 roof pitch — how many inches the roof rises over 12 in of horizontal run."
    }
  ],
  "sources": [
    {
      "label": "Roofing pitch is conventionally expressed as rise per 12 in of run (e.g. '6/12'); angle in degrees = arctangent(rise / 12)"
    }
  ],
  "testCases": [
    {
      "name": "6/12 pitch",
      "inputs": {
        "riseIn": 6
      },
      "expected": 26.565,
      "toleranceDecimalPlaces": 0.1,
      "unit": "degrees",
      "confidence": "high",
      "steps": [
        {
          "label": "Slope percent",
          "value": 50,
          "unit": "%"
        }
      ],
      "basis": "sole-source",
      "sourceIndex": 0
    },
    {
      "name": "4/12 pitch",
      "inputs": {
        "riseIn": 4
      },
      "expected": 18.435,
      "toleranceDecimalPlaces": 0.1,
      "unit": "degrees",
      "confidence": "high",
      "steps": [
        {
          "label": "Slope percent",
          "value": 33.33333333333333,
          "unit": "%"
        }
      ],
      "basis": "sole-source",
      "sourceIndex": 0
    }
  ]
}
