{
  "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": "degrees-to-roof-pitch-calculator",
  "category": "renovation-construction",
  "title": "Degrees to Roof Pitch Calculator",
  "description": "Convert a measured roof angle in degrees into the rise-over-12 pitch used by US material schedules.",
  "url": "https://craftquantities.com/calculators/renovation-construction/degrees-to-roof-pitch-calculator/",
  "json": "https://craftquantities.com/api/v1/calculators/degrees-to-roof-pitch-calculator.json",
  "inputCount": 1,
  "testCaseCount": 2,
  "sourceCount": 2,
  "lastVerified": "2026-08-26",
  "translations": {
    "es-US": "https://craftquantities.com/es/calculators/renovation-construction/degrees-to-roof-pitch-calculator/"
  },
  "citation": {
    "author": "Craft Quantities",
    "title": "Degrees to Roof Pitch Calculator",
    "version": "1.0.0",
    "sourcesChecked": "2026-08-26",
    "url": "https://craftquantities.com/calculators/renovation-construction/degrees-to-roof-pitch-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. Degrees to Roof Pitch Calculator. Version 1.0.0. Sources checked 2026-08-26. https://craftquantities.com/calculators/renovation-construction/degrees-to-roof-pitch-calculator/",
      "apa": "Craft Quantities. (2026). Degrees to Roof Pitch Calculator (Version 1.0.0) [Web calculator]. Retrieved from https://craftquantities.com/calculators/renovation-construction/degrees-to-roof-pitch-calculator/",
      "harvard": "Craft Quantities (2026) Degrees to Roof Pitch Calculator (Version 1.0.0). Available at: https://craftquantities.com/calculators/renovation-construction/degrees-to-roof-pitch-calculator/",
      "bibtex": "@misc{craftquantities-calculators-renovation-construction-degrees-to-roof-pitch-calculator,\n  author       = {{Craft Quantities}},\n  title        = {Degrees to Roof Pitch Calculator},\n  version      = {1.0.0},\n  year         = {2026},\n  howpublished = {\\url{https://craftquantities.com/calculators/renovation-construction/degrees-to-roof-pitch-calculator/}},\n}"
    }
  },
  "inputs": [
    {
      "id": "degrees",
      "label": "Measured angle (°)",
      "type": "number",
      "defaultValue": 30,
      "min": 0,
      "max": 85,
      "step": 0.5,
      "help": "The roof angle measured from horizontal, in degrees."
    }
  ],
  "sources": [
    {
      "label": "Inverse of the pitch definition: rise per 12 units of run = tan(angle) x 12"
    },
    {
      "label": "Manufacturer minimum slopes are commonly stated in rise-per-12, e.g. 2:12 for many asphalt shingle systems with additional underlayment"
    }
  ],
  "testCases": [
    {
      "name": "30 ° converts correctly",
      "inputs": {
        "degrees": 30
      },
      "expected": 6.928203230275509,
      "toleranceDecimalPlaces": 6,
      "unit": "in per 12 in",
      "confidence": "high",
      "steps": [],
      "basis": "ambiguous"
    },
    {
      "name": "Ten times the input",
      "inputs": {
        "degrees": 300
      },
      "expected": -20.784609690826525,
      "toleranceDecimalPlaces": 6,
      "unit": "in per 12 in",
      "confidence": "high",
      "steps": [],
      "basis": "ambiguous"
    }
  ]
}
