{
  "id": "v20-us-roof-pitch",
  "version": "20.16.0",
  "name": "Roof Pitch and Rafter Calculator — United States",
  "shortName": "Roof Pitch and Rafter",
  "description": "Convert a measured roof rise and run into pitch, angle and an ideal geometric sloping length. USD planning view; stated limitations apply.",
  "category": "Home & Construction",
  "categorySlug": "home-construction",
  "keywords": [
    "roof-pitch",
    "us",
    "quantity-surveying",
    "energy-saver",
    "engineering-scope"
  ],
  "status": "live",
  "workStatus": "pending",
  "reviewStatus": "pending",
  "migrationStatus": "new",
  "engine": "native",
  "creator": null,
  "reviewer": null,
  "quality": {
    "availability": "live",
    "technicalReviewRecord": "/reviews/v20-us-roof-pitch.json",
    "qualifiedReview": "pending",
    "qualifiedReviewer": null,
    "qualifiedReviewDate": null,
    "formulaVersion": "20.16.0",
    "referenceCoverage": "references-listed",
    "releaseTestScope": "Catalog and regression checks are not a professional formula audit; consult release evidence.",
    "historicalMetadataDate": "",
    "historicalMetadataNotice": "The imported date is not evidence of a completed human review."
  },
  "notice": "Illustrative defaults are not local quotes or verified legal rules. Dated reference components and user-entered assumptions are explicitly distinguished. Professional review is pending.",
  "urls": {
    "page": "/us/roof-pitch/",
    "definition": "/us/roof-pitch/definition.json",
    "schema": "/us/roof-pitch/schema.json",
    "llms": "/us/roof-pitch/llms.txt",
    "legacyDefinition": "/us/roof-pitch/definition.json"
  },
  "queryExample": "https://askcalculators.com/us/roof-pitch/?unitSystem=imperial&run=13.123359580052492&rise=6.561679790026246&overhang=0.9842519685039369&unitRate=0&laborCost=0&deliveryCost=0&otherCost=0&costMultiplier=1&spreadPercent=15&taxRate=0",
  "queryParameters": {
    "unitSystem": {
      "label": "Measurement system",
      "type": "select",
      "required": false,
      "default": "imperial"
    },
    "run": {
      "label": "Horizontal run",
      "type": "number",
      "required": true,
      "default": 13.123359580052492
    },
    "rise": {
      "label": "Vertical rise",
      "type": "number",
      "required": true,
      "default": 6.561679790026246
    },
    "overhang": {
      "label": "Horizontal overhang beyond the run",
      "type": "number",
      "required": true,
      "default": 0.9842519685039369
    },
    "unitRate": {
      "label": "Material price per length unit",
      "type": "money",
      "required": true,
      "default": 0
    },
    "laborCost": {
      "label": "Total labor allowance",
      "type": "money",
      "required": true,
      "default": 0
    },
    "deliveryCost": {
      "label": "Delivery allowance",
      "type": "money",
      "required": true,
      "default": 0
    },
    "otherCost": {
      "label": "Other fixed costs",
      "type": "money",
      "required": true,
      "default": 0
    },
    "costMultiplier": {
      "label": "Material/labor multiplier",
      "type": "number",
      "required": true,
      "default": 1
    },
    "spreadPercent": {
      "label": "Low/high sensitivity around the entered total",
      "type": "percent",
      "required": true,
      "default": 15
    },
    "taxRate": {
      "label": "Explicit tax allowance",
      "type": "percent",
      "required": true,
      "default": 0
    }
  },
  "inputs": [
    {
      "id": "unitSystem",
      "label": "Measurement system",
      "type": "select",
      "defaultValue": "imperial",
      "options": [
        {
          "value": "imperial",
          "label": "Imperial (US gallons / short tons where relevant)"
        },
        {
          "value": "metric",
          "label": "Metric"
        }
      ]
    },
    {
      "id": "run",
      "label": "Horizontal run",
      "type": "number",
      "defaultValue": 13.123359580052492,
      "required": true,
      "min": 0.0032808398950131233,
      "max": 3280839895013.123,
      "suffix": "ft",
      "unitConversion": {
        "factor": 0.3048,
        "offset": 0,
        "inverse": false,
        "metric": "m",
        "imperial": "ft",
        "canonicalMin": 0.001,
        "canonicalMax": 1000000000000
      },
      "help": "Illustrative starting value; replace with your own evidence."
    },
    {
      "id": "rise",
      "label": "Vertical rise",
      "type": "number",
      "defaultValue": 6.561679790026246,
      "required": true,
      "min": 0,
      "max": 3280839895013.123,
      "suffix": "ft",
      "unitConversion": {
        "factor": 0.3048,
        "offset": 0,
        "inverse": false,
        "metric": "m",
        "imperial": "ft",
        "canonicalMin": 0,
        "canonicalMax": 1000000000000
      },
      "help": "Illustrative starting value; replace with your own evidence."
    },
    {
      "id": "overhang",
      "label": "Horizontal overhang beyond the run",
      "type": "number",
      "defaultValue": 0.9842519685039369,
      "required": true,
      "min": 0,
      "max": 3280839895013.123,
      "suffix": "ft",
      "unitConversion": {
        "factor": 0.3048,
        "offset": 0,
        "inverse": false,
        "metric": "m",
        "imperial": "ft",
        "canonicalMin": 0,
        "canonicalMax": 1000000000000
      },
      "help": "Illustrative starting value; replace with your own evidence."
    },
    {
      "id": "unitRate",
      "label": "Material price per length unit",
      "type": "money",
      "defaultValue": 0,
      "required": true,
      "min": 0,
      "max": 304800000000,
      "help": "Zero means unpriced, not free. Enter a current, scoped supplier quote. Illustrative starting value; replace with your own evidence.",
      "prefix": "USD",
      "suffix": "/ft",
      "unitConversion": {
        "factor": 0.3048,
        "offset": 0,
        "inverse": true,
        "metric": "m",
        "imperial": "ft",
        "canonicalMin": 0,
        "canonicalMax": 1000000000000
      }
    },
    {
      "id": "laborCost",
      "label": "Total labor allowance",
      "type": "money",
      "defaultValue": 0,
      "required": true,
      "min": 0,
      "max": 1000000000000,
      "step": 0.01,
      "prefix": "USD",
      "help": "Illustrative starting value; replace with your own evidence."
    },
    {
      "id": "deliveryCost",
      "label": "Delivery allowance",
      "type": "money",
      "defaultValue": 0,
      "required": true,
      "min": 0,
      "max": 1000000000000,
      "step": 0.01,
      "prefix": "USD",
      "help": "Illustrative starting value; replace with your own evidence."
    },
    {
      "id": "otherCost",
      "label": "Other fixed costs",
      "type": "money",
      "defaultValue": 0,
      "required": true,
      "min": 0,
      "max": 1000000000000,
      "step": 0.01,
      "prefix": "USD",
      "help": "Illustrative starting value; replace with your own evidence."
    },
    {
      "id": "costMultiplier",
      "label": "Material/labor multiplier",
      "type": "number",
      "defaultValue": 1,
      "required": true,
      "min": 0.1,
      "max": 10,
      "step": 0.01,
      "help": "Use a verified regional index only when supplied. 1 is an unadjusted scenario, not a researched index. Illustrative starting value; replace with your own evidence."
    },
    {
      "id": "spreadPercent",
      "label": "Low/high sensitivity around the entered total",
      "type": "percent",
      "defaultValue": 15,
      "required": true,
      "min": 0,
      "max": 100,
      "step": 0.1,
      "help": "Illustrative starting value; replace with your own evidence."
    },
    {
      "id": "taxRate",
      "label": "Explicit tax allowance",
      "type": "percent",
      "defaultValue": 0,
      "required": true,
      "min": 0,
      "max": 100,
      "step": 0.1,
      "help": "Illustrative starting value; replace with your own evidence."
    }
  ],
  "outputs": [
    {
      "id": "pitch",
      "label": "Rise per 12 horizontal units",
      "format": "number",
      "digits": 2
    },
    {
      "id": "angle",
      "label": "Roof angle, degrees",
      "format": "number",
      "digits": 2
    },
    {
      "id": "rafterLength",
      "label": "Ideal sloping length including overhang",
      "format": "number",
      "digits": 2,
      "unit": "length"
    },
    {
      "id": "materialCost",
      "label": "Material cost",
      "format": "currency",
      "digits": 2,
      "currency": "USD"
    },
    {
      "id": "laborCost",
      "label": "Labor allowance",
      "format": "currency",
      "digits": 2,
      "currency": "USD"
    },
    {
      "id": "deliveryCost",
      "label": "Delivery allowance",
      "format": "currency",
      "digits": 2,
      "currency": "USD"
    },
    {
      "id": "otherCost",
      "label": "Other specified costs",
      "format": "currency",
      "digits": 2,
      "currency": "USD"
    },
    {
      "id": "tax",
      "label": "Entered tax allowance",
      "format": "currency",
      "digits": 2,
      "currency": "USD"
    },
    {
      "id": "low",
      "label": "Low cost scenario",
      "format": "currency",
      "digits": 2,
      "currency": "USD"
    },
    {
      "id": "mid",
      "label": "Middle cost scenario",
      "format": "currency",
      "digits": 2,
      "primary": true,
      "currency": "USD"
    },
    {
      "id": "high",
      "label": "High cost scenario",
      "format": "currency",
      "digits": 2,
      "currency": "USD"
    }
  ],
  "formula": {
    "expression": "pitch = rise/run × 12; angle = atan(rise/run); sloping length = (run + horizontal overhang) × √(1 + (rise/run)²).",
    "note": "Inputs are converted to canonical units before evaluating this stated formula."
  },
  "examples": [
    {
      "label": "Illustrative defaults; required verification checks remain unconfirmed",
      "inputs": {
        "unitSystem": "imperial",
        "run": 13.123359580052492,
        "rise": 6.561679790026246,
        "overhang": 0.9842519685039369,
        "unitRate": 0,
        "laborCost": 0,
        "deliveryCost": 0,
        "otherCost": 0,
        "costMultiplier": 1,
        "spreadPercent": 15,
        "taxRate": 0
      }
    }
  ],
  "sources": [
    {
      "label": "NIST unit conversion guidance",
      "url": "https://www.nist.gov/pml/special-publication-811"
    },
    {
      "label": "DOE insulation overview",
      "url": "https://www.energy.gov/energysaver/weatherize/insulation"
    }
  ],
  "publicSlug": "roof-pitch",
  "namespace": "us",
  "countries": [
    "us",
    "ca",
    "uk",
    "ie"
  ]
}
