{
  "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": "slope-grade-calculator",
  "category": "measurements-conversions",
  "title": "Slope & Grade Calculator",
  "description": "Convert a rise and run measurement into slope percentage and angle in degrees.",
  "url": "https://craftquantities.com/calculators/measurements-conversions/slope-grade-calculator/",
  "json": "https://craftquantities.com/api/v1/calculators/slope-grade-calculator.json",
  "inputCount": 2,
  "testCaseCount": 2,
  "sourceCount": 1,
  "lastVerified": "2026-09-05",
  "translations": {
    "es-US": "https://craftquantities.com/es/calculators/measurements-conversions/slope-grade-calculator/"
  },
  "citation": {
    "author": "Craft Quantities",
    "title": "Slope & Grade Calculator",
    "version": "1.0.1",
    "sourcesChecked": "2026-09-05",
    "url": "https://craftquantities.com/calculators/measurements-conversions/slope-grade-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. Slope & Grade Calculator. Version 1.0.1. Sources checked 2026-09-05. https://craftquantities.com/calculators/measurements-conversions/slope-grade-calculator/",
      "apa": "Craft Quantities. (2026). Slope & Grade Calculator (Version 1.0.1) [Web calculator]. Retrieved from https://craftquantities.com/calculators/measurements-conversions/slope-grade-calculator/",
      "harvard": "Craft Quantities (2026) Slope & Grade Calculator (Version 1.0.1). Available at: https://craftquantities.com/calculators/measurements-conversions/slope-grade-calculator/",
      "bibtex": "@misc{craftquantities-calculators-measurements-conversions-slope-grade-calculator,\n  author       = {{Craft Quantities}},\n  title        = {Slope & Grade Calculator},\n  version      = {1.0.1},\n  year         = {2026},\n  howpublished = {\\url{https://craftquantities.com/calculators/measurements-conversions/slope-grade-calculator/}},\n}"
    }
  },
  "inputs": [
    {
      "id": "rise",
      "label": "Rise",
      "type": "number",
      "dimension": "length",
      "defaultValue": 1,
      "min": 0,
      "max": 50,
      "step": 0.05,
      "help": "The vertical change in height over the run."
    },
    {
      "id": "run",
      "label": "Run",
      "type": "number",
      "dimension": "length",
      "defaultValue": 12,
      "min": 0.01,
      "max": 200,
      "step": 0.05,
      "help": "The horizontal distance over which the rise occurs."
    }
  ],
  "sources": [
    {
      "label": "Grade percent = (rise / run) x 100; angle in degrees = arctangent(rise / run)"
    }
  ],
  "testCases": [
    {
      "name": "1m rise over 12m run",
      "inputs": {
        "rise": 1,
        "run": 12
      },
      "expected": 8.333,
      "toleranceDecimalPlaces": 1,
      "unit": "%",
      "confidence": "high",
      "steps": [
        {
          "label": "Angle",
          "value": 4.763641690726177,
          "unit": "degrees"
        }
      ],
      "basis": "sole-source",
      "sourceIndex": 0
    },
    {
      "name": "0.5m rise over 2m run",
      "inputs": {
        "rise": 0.5,
        "run": 2
      },
      "expected": 25,
      "toleranceDecimalPlaces": 0,
      "unit": "%",
      "confidence": "high",
      "steps": [
        {
          "label": "Angle",
          "value": 14.036243467926479,
          "unit": "degrees"
        }
      ],
      "basis": "sole-source",
      "sourceIndex": 0
    }
  ]
}
