{
  "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": "trailer-ramp-length-calculator",
  "category": "auto-utility",
  "title": "Trailer Ramp Length Calculator",
  "description": "Find the ramp length needed to keep a load-and-unload slope at or below a target maximum grade.",
  "url": "https://craftquantities.com/calculators/auto-utility/trailer-ramp-length-calculator/",
  "json": "https://craftquantities.com/api/v1/calculators/trailer-ramp-length-calculator.json",
  "inputCount": 2,
  "testCaseCount": 2,
  "sourceCount": 2,
  "lastVerified": "2026-09-05",
  "citation": {
    "author": "Craft Quantities",
    "title": "Trailer Ramp Length Calculator",
    "version": "1.0.1",
    "sourcesChecked": "2026-09-05",
    "url": "https://craftquantities.com/calculators/auto-utility/trailer-ramp-length-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. Trailer Ramp Length Calculator. Version 1.0.1. Sources checked 2026-09-05. https://craftquantities.com/calculators/auto-utility/trailer-ramp-length-calculator/",
      "apa": "Craft Quantities. (2026). Trailer Ramp Length Calculator (Version 1.0.1) [Web calculator]. Retrieved from https://craftquantities.com/calculators/auto-utility/trailer-ramp-length-calculator/",
      "harvard": "Craft Quantities (2026) Trailer Ramp Length Calculator (Version 1.0.1). Available at: https://craftquantities.com/calculators/auto-utility/trailer-ramp-length-calculator/",
      "bibtex": "@misc{craftquantities-calculators-auto-utility-trailer-ramp-length-calculator,\n  author       = {{Craft Quantities}},\n  title        = {Trailer Ramp Length Calculator},\n  version      = {1.0.1},\n  year         = {2026},\n  howpublished = {\\url{https://craftquantities.com/calculators/auto-utility/trailer-ramp-length-calculator/}},\n}"
    }
  },
  "inputs": [
    {
      "id": "riseHeight",
      "label": "Rise Height",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0.5,
      "min": 0.01,
      "max": 3,
      "step": 0.05,
      "help": "The vertical height the ramp needs to climb — e.g. trailer bed height off the ground."
    },
    {
      "id": "maxGradePercent",
      "label": "Maximum Safe Grade (%)",
      "type": "number",
      "defaultValue": 15,
      "min": 5,
      "max": 30,
      "step": 1,
      "help": "The steepest slope you want the ramp to have."
    }
  ],
  "sources": [
    {
      "label": "Horizontal run = rise height / (maximum grade percent / 100) — the same rise/run relationship used in the Slope & Grade Calculator"
    },
    {
      "label": "Ramp length = the hypotenuse over that rise and run, sqrt(rise^2 + run^2), because the ramp is the sloping member rather than its footprint"
    }
  ],
  "testCases": [
    {
      "name": "0.5m rise, 15% max grade",
      "inputs": {
        "riseHeight": 0.5,
        "maxGradePercent": 15
      },
      "expected": 11.06,
      "toleranceDecimalPlaces": 2,
      "unit": "ft (minimum length)",
      "confidence": "medium",
      "steps": [
        {
          "label": "Horizontal run needed on the ground",
          "value": 10.936132983377076,
          "unit": "ft"
        },
        {
          "label": "Rise being climbed",
          "value": 1.6404199475065615,
          "unit": "ft"
        }
      ],
      "basis": "ambiguous"
    },
    {
      "name": "0.8m rise, 12% max grade",
      "inputs": {
        "riseHeight": 0.8,
        "maxGradePercent": 12
      },
      "expected": 22.03,
      "toleranceDecimalPlaces": 2,
      "unit": "ft (minimum length)",
      "confidence": "medium",
      "steps": [
        {
          "label": "Horizontal run needed on the ground",
          "value": 21.872265966754156,
          "unit": "ft"
        },
        {
          "label": "Rise being climbed",
          "value": 2.6246719160104988,
          "unit": "ft"
        }
      ],
      "basis": "ambiguous"
    }
  ]
}
