{
  "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-degrees-to-percent-calculator",
  "category": "measurements-conversions",
  "title": "Slope Degrees to Percent Calculator",
  "description": "Convert a measured slope angle into a percentage gradient for drainage and civil drawings.",
  "url": "https://craftquantities.com/calculators/measurements-conversions/slope-degrees-to-percent-calculator/",
  "json": "https://craftquantities.com/api/v1/calculators/slope-degrees-to-percent-calculator.json",
  "inputCount": 1,
  "testCaseCount": 2,
  "sourceCount": 1,
  "lastVerified": "2026-08-26",
  "citation": {
    "author": "Craft Quantities",
    "title": "Slope Degrees to Percent Calculator",
    "version": "1.0.0",
    "sourcesChecked": "2026-08-26",
    "url": "https://craftquantities.com/calculators/measurements-conversions/slope-degrees-to-percent-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 Degrees to Percent Calculator. Version 1.0.0. Sources checked 2026-08-26. https://craftquantities.com/calculators/measurements-conversions/slope-degrees-to-percent-calculator/",
      "apa": "Craft Quantities. (2026). Slope Degrees to Percent Calculator (Version 1.0.0) [Web calculator]. Retrieved from https://craftquantities.com/calculators/measurements-conversions/slope-degrees-to-percent-calculator/",
      "harvard": "Craft Quantities (2026) Slope Degrees to Percent Calculator (Version 1.0.0). Available at: https://craftquantities.com/calculators/measurements-conversions/slope-degrees-to-percent-calculator/",
      "bibtex": "@misc{craftquantities-calculators-measurements-conversions-slope-degrees-to-percent-calculator,\n  author       = {{Craft Quantities}},\n  title        = {Slope Degrees to Percent Calculator},\n  version      = {1.0.0},\n  year         = {2026},\n  howpublished = {\\url{https://craftquantities.com/calculators/measurements-conversions/slope-degrees-to-percent-calculator/}},\n}"
    }
  },
  "inputs": [
    {
      "id": "degrees",
      "label": "Slope angle (°)",
      "type": "number",
      "defaultValue": 5,
      "min": 0,
      "max": 89,
      "step": 0.5,
      "help": "The slope angle from horizontal, in degrees."
    }
  ],
  "sources": [
    {
      "label": "Gradient percentage = tan(angle) x 100"
    }
  ],
  "testCases": [
    {
      "name": "5 ° converts correctly",
      "inputs": {
        "degrees": 5
      },
      "expected": 8.748866352592401,
      "toleranceDecimalPlaces": 6,
      "unit": "%",
      "confidence": "high",
      "steps": [],
      "basis": "sole-source",
      "sourceIndex": 0
    },
    {
      "name": "Ten times the input",
      "inputs": {
        "degrees": 50
      },
      "expected": 119.175359259421,
      "toleranceDecimalPlaces": 6,
      "unit": "%",
      "confidence": "high",
      "steps": [],
      "basis": "sole-source",
      "sourceIndex": 0
    }
  ]
}
