{
  "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": "stepped-foundation-calculator",
  "category": "materials-quantities",
  "title": "Stepped Foundation Calculator (Steps, Bays and Overlaps on a Slope)",
  "description": "How a sloping site steps a wall's foundation: the fall along the wall, the steps at a chosen height, each level bay, and Approved Document A's overlap.",
  "url": "https://craftquantities.com/calculators/materials-quantities/stepped-foundation-calculator/",
  "json": "https://craftquantities.com/api/v1/calculators/stepped-foundation-calculator.json",
  "inputCount": 6,
  "testCaseCount": 4,
  "sourceCount": 2,
  "lastVerified": "2026-09-22",
  "citation": {
    "author": "Craft Quantities",
    "title": "Stepped Foundation Calculator (Steps, Bays and Overlaps on a Slope)",
    "version": "1.0.0",
    "sourcesChecked": "2026-09-22",
    "url": "https://craftquantities.com/calculators/materials-quantities/stepped-foundation-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. Stepped Foundation Calculator (Steps, Bays and Overlaps on a Slope). Version 1.0.0. Sources checked 2026-09-22. https://craftquantities.com/calculators/materials-quantities/stepped-foundation-calculator/",
      "apa": "Craft Quantities. (2026). Stepped Foundation Calculator (Steps, Bays and Overlaps on a Slope) (Version 1.0.0) [Web calculator]. Retrieved from https://craftquantities.com/calculators/materials-quantities/stepped-foundation-calculator/",
      "harvard": "Craft Quantities (2026) Stepped Foundation Calculator (Steps, Bays and Overlaps on a Slope) (Version 1.0.0). Available at: https://craftquantities.com/calculators/materials-quantities/stepped-foundation-calculator/",
      "bibtex": "@misc{craftquantities-calculators-materials-quantities-stepped-foundation-calculator,\n  author       = {{Craft Quantities}},\n  title        = {Stepped Foundation Calculator (Steps, Bays and Overlaps on a Slope)},\n  version      = {1.0.0},\n  year         = {2026},\n  howpublished = {\\url{https://craftquantities.com/calculators/materials-quantities/stepped-foundation-calculator/}},\n}"
    }
  },
  "inputs": [
    {
      "id": "wallLength",
      "label": "Wall Length on Plan",
      "type": "number",
      "dimension": "length",
      "defaultValue": 12.04,
      "min": 0.5,
      "max": 200,
      "step": 0.05,
      "help": "The length of the wall whose foundation steps, measured on plan."
    },
    {
      "id": "gradient",
      "label": "Site Gradient, 1 in",
      "type": "number",
      "defaultValue": 10,
      "min": 2,
      "max": 200,
      "step": 0.5,
      "help": "The gradient down the line of maximum fall, as 1 in N — enter 10 for 1 in 10."
    },
    {
      "id": "angleToFall",
      "label": "Angle Between the Wall and the Line of Maximum Fall (degrees)",
      "type": "number",
      "defaultValue": 0,
      "min": 0,
      "max": 90,
      "step": 1,
      "help": "0 for a wall running straight down the slope, 90 for one along the contours."
    },
    {
      "id": "foundationType",
      "label": "Foundation Type",
      "type": "select",
      "defaultValue": "strip",
      "options": [
        {
          "value": "strip",
          "label": "Strip foundation"
        },
        {
          "value": "trench-fill",
          "label": "Trench fill"
        }
      ],
      "help": "A strip of concrete under a masonry substructure, or a trench filled with concrete to near ground level."
    },
    {
      "id": "foundationThickness",
      "label": "Foundation Thickness",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0.225,
      "min": 0.15,
      "max": 3,
      "step": 0.005,
      "help": "The depth of concrete: the strip's thickness, or the depth of the trench fill."
    },
    {
      "id": "stepHeight",
      "label": "Step Height",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0.225,
      "min": 0.05,
      "max": 1,
      "step": 0.005,
      "help": "The height of each step — pick a multiple of the masonry course the wall is built in."
    }
  ],
  "sources": [
    {
      "label": "Approved Document A (2004 edition incorporating 2004, 2010 and 2013 amendments), paragraph 2E2 d and e with Diagram 21: foundations stepped on elevation should overlap by twice the height of the step, by the thickness of the foundation, or 300 mm, whichever is greater; for trench fill foundations the overlap should be twice the height of the step or 1 m, whichever is greater; steps should not be of greater height than the thickness of the foundation"
    },
    {
      "label": "The fall a line sees across a plane sloping at gradient g is g × cos θ, where θ is the angle between the line and the direction of maximum fall; a level bay between steps of height s is s ÷ (g × cos θ) long"
    }
  ],
  "testCases": [
    {
      "name": "The slope guide's long wall: 1.204 m of fall in 225 mm steps",
      "inputs": {
        "wallLength": 12.04,
        "gradient": 10,
        "angleToFall": 0,
        "foundationType": "strip",
        "foundationThickness": 0.225,
        "stepHeight": 0.225
      },
      "expected": 5,
      "toleranceDecimalPlaces": 0,
      "unit": "steps",
      "confidence": "high",
      "steps": [
        {
          "label": "Gradient along the wall",
          "value": 10,
          "unit": "%"
        },
        {
          "label": "Fall along the wall",
          "value": 1.204,
          "unit": "m"
        },
        {
          "label": "Height left after the whole steps",
          "value": 78.99999999999996,
          "unit": "mm"
        },
        {
          "label": "Level bay between steps",
          "value": 2.25,
          "unit": "m"
        },
        {
          "label": "Overlap at each step (Approved Document A)",
          "value": 0.45,
          "unit": "m"
        },
        {
          "label": "Tallest step the thickness allows",
          "value": 225,
          "unit": "mm"
        }
      ],
      "basis": "cited",
      "sourceIndex": 0
    },
    {
      "name": "The same wall at 60 degrees to the fall keeps half the gradient",
      "inputs": {
        "wallLength": 12.04,
        "gradient": 10,
        "angleToFall": 60,
        "foundationType": "strip",
        "foundationThickness": 0.225,
        "stepHeight": 0.225
      },
      "expected": 2,
      "toleranceDecimalPlaces": 0,
      "unit": "steps",
      "confidence": "high",
      "steps": [
        {
          "label": "Gradient along the wall",
          "value": 5.000000000000002,
          "unit": "%"
        },
        {
          "label": "Fall along the wall",
          "value": 0.6020000000000002,
          "unit": "m"
        },
        {
          "label": "Height left after the whole steps",
          "value": 152.0000000000002,
          "unit": "mm"
        },
        {
          "label": "Level bay between steps",
          "value": 4.499999999999998,
          "unit": "m"
        },
        {
          "label": "Overlap at each step (Approved Document A)",
          "value": 0.45,
          "unit": "m"
        },
        {
          "label": "Tallest step the thickness allows",
          "value": 225,
          "unit": "mm"
        }
      ],
      "basis": "cited",
      "sourceIndex": 1
    },
    {
      "name": "Trench fill on a 1 in 4 fall: 900 mm bays against a 1 m overlap",
      "inputs": {
        "wallLength": 10,
        "gradient": 4,
        "angleToFall": 0,
        "foundationType": "trench-fill",
        "foundationThickness": 1.2,
        "stepHeight": 0.225
      },
      "expected": 11,
      "toleranceDecimalPlaces": 0,
      "unit": "steps",
      "confidence": "high",
      "steps": [
        {
          "label": "Gradient along the wall",
          "value": 25,
          "unit": "%"
        },
        {
          "label": "Fall along the wall",
          "value": 2.5,
          "unit": "m"
        },
        {
          "label": "Height left after the whole steps",
          "value": 24.99999999999991,
          "unit": "mm"
        },
        {
          "label": "Level bay between steps",
          "value": 0.9,
          "unit": "m"
        },
        {
          "label": "Overlap at each step (Approved Document A)",
          "value": 1,
          "unit": "m"
        }
      ],
      "basis": "cited",
      "sourceIndex": 0
    },
    {
      "name": "Along the contours there is nothing to step",
      "inputs": {
        "wallLength": 12.04,
        "gradient": 10,
        "angleToFall": 90,
        "foundationType": "strip",
        "foundationThickness": 0.225,
        "stepHeight": 0.225
      },
      "expected": 0,
      "toleranceDecimalPlaces": 0,
      "unit": "steps",
      "confidence": "high",
      "steps": [
        {
          "label": "Gradient along the wall",
          "value": 6.123233995736766e-16,
          "unit": "%"
        },
        {
          "label": "Fall along the wall",
          "value": 7.372373730867066e-17,
          "unit": "m"
        },
        {
          "label": "Height left after the whole steps",
          "value": 7.372373730867066e-14,
          "unit": "mm"
        },
        {
          "label": "Level bay between steps",
          "value": 0,
          "unit": "m"
        },
        {
          "label": "Overlap at each step (Approved Document A)",
          "value": 0.45,
          "unit": "m"
        },
        {
          "label": "Tallest step the thickness allows",
          "value": 225,
          "unit": "mm"
        }
      ],
      "basis": "cited",
      "sourceIndex": 1
    }
  ]
}
