{
  "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": "retaining-wall-stability-calculator",
  "category": "materials-quantities",
  "title": "Retaining Wall Preliminary Stability Check",
  "description": "Run a preliminary Rankine active earth pressure and safety-factor check on a gravity retaining wall design.",
  "url": "https://craftquantities.com/calculators/materials-quantities/retaining-wall-stability-calculator/",
  "json": "https://craftquantities.com/api/v1/calculators/retaining-wall-stability-calculator.json",
  "inputCount": 6,
  "testCaseCount": 2,
  "sourceCount": 3,
  "lastVerified": "2026-09-06",
  "translations": {
    "es-US": "https://craftquantities.com/es/calculators/materials-quantities/retaining-wall-stability-calculator/"
  },
  "citation": {
    "author": "Craft Quantities",
    "title": "Retaining Wall Preliminary Stability Check",
    "version": "1.0.1",
    "sourcesChecked": "2026-09-06",
    "url": "https://craftquantities.com/calculators/materials-quantities/retaining-wall-stability-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. Retaining Wall Preliminary Stability Check. Version 1.0.1. Sources checked 2026-09-06. https://craftquantities.com/calculators/materials-quantities/retaining-wall-stability-calculator/",
      "apa": "Craft Quantities. (2026). Retaining Wall Preliminary Stability Check (Version 1.0.1) [Web calculator]. Retrieved from https://craftquantities.com/calculators/materials-quantities/retaining-wall-stability-calculator/",
      "harvard": "Craft Quantities (2026) Retaining Wall Preliminary Stability Check (Version 1.0.1). Available at: https://craftquantities.com/calculators/materials-quantities/retaining-wall-stability-calculator/",
      "bibtex": "@misc{craftquantities-calculators-materials-quantities-retaining-wall-stability-calculator,\n  author       = {{Craft Quantities}},\n  title        = {Retaining Wall Preliminary Stability Check},\n  version      = {1.0.1},\n  year         = {2026},\n  howpublished = {\\url{https://craftquantities.com/calculators/materials-quantities/retaining-wall-stability-calculator/}},\n}"
    }
  },
  "inputs": [
    {
      "id": "wallHeight",
      "label": "Wall Height (Retained Soil)",
      "type": "number",
      "dimension": "length",
      "defaultValue": 1.2,
      "min": 0.01,
      "max": 4,
      "step": 0.1,
      "help": "The height of soil being retained, measured from the base of the wall."
    },
    {
      "id": "soilFrictionAngle",
      "label": "Soil Friction Angle (φ, degrees)",
      "type": "number",
      "defaultValue": 30,
      "min": 15,
      "max": 45,
      "step": 1,
      "help": "The soil's angle of internal friction — get this from a geotechnical report if available."
    },
    {
      "id": "soilUnitWeight",
      "label": "Soil Unit Weight",
      "type": "number",
      "dimension": "unitweight",
      "defaultValue": 18,
      "min": 14,
      "max": 22,
      "step": 0.5,
      "help": "The soil's unit weight (density x gravity)."
    },
    {
      "id": "wallWeightPerLength",
      "label": "Wall Self-Weight (kN per linear meter)",
      "type": "number",
      "defaultValue": 15,
      "min": 1,
      "max": 100,
      "step": 0.5,
      "help": "The weight of the wall itself (and any soil locked above its heel), per linear meter of wall."
    },
    {
      "id": "baseWidth",
      "label": "Wall Base Width",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0.6,
      "min": 0.01,
      "max": 3,
      "step": 0.05,
      "help": "The width of the wall's footprint at its base."
    },
    {
      "id": "frictionCoefficient",
      "label": "Base Friction Coefficient",
      "type": "number",
      "defaultValue": 0.5,
      "min": 0.3,
      "max": 0.7,
      "step": 0.05,
      "help": "The friction coefficient between the wall's base and the soil beneath it."
    }
  ],
  "sources": [
    {
      "label": "Rankine active earth pressure coefficient: Ka = tan²(45° - φ/2), where φ is the soil's angle of internal friction"
    },
    {
      "label": "Active earth pressure resultant: Pa = 0.5 x Ka x soil unit weight x height², acting at height/3 above the base"
    },
    {
      "label": "Standard preliminary safety factor threshold for both sliding and overturning checks is 1.5, per common geotechnical practice"
    }
  ],
  "testCases": [
    {
      "name": "1.2m wall, 30° friction angle, standard assumptions",
      "inputs": {
        "wallHeight": 1.2,
        "soilFrictionAngle": 30,
        "soilUnitWeight": 18,
        "wallWeightPerLength": 15,
        "baseWidth": 0.6,
        "frictionCoefficient": 0.5
      },
      "expected": 1.736,
      "toleranceDecimalPlaces": 1,
      "unit": "(safety factor)",
      "confidence": "medium",
      "steps": [
        {
          "label": "Rankine active pressure coefficient (Ka)",
          "value": 0.3333333333333334
        },
        {
          "label": "Active pressure resultant",
          "value": 4.320000000000001,
          "unit": "kN/m"
        },
        {
          "label": "Sliding safety factor",
          "value": 1.7361111111111107
        },
        {
          "label": "Overturning safety factor",
          "value": 2.604166666666666
        }
      ],
      "basis": "ambiguous"
    },
    {
      "name": "1.8m wall, 25° friction angle, same wall design (undersized for taller wall)",
      "inputs": {
        "wallHeight": 1.8,
        "soilFrictionAngle": 25,
        "soilUnitWeight": 19,
        "wallWeightPerLength": 15,
        "baseWidth": 0.6,
        "frictionCoefficient": 0.5
      },
      "expected": 0.6,
      "toleranceDecimalPlaces": 2,
      "unit": "(safety factor)",
      "confidence": "low",
      "steps": [
        {
          "label": "Rankine active pressure coefficient (Ka)",
          "value": 0.4058585172053274
        },
        {
          "label": "Active pressure resultant",
          "value": 12.492325159579977,
          "unit": "kN/m"
        },
        {
          "label": "Sliding safety factor",
          "value": 0.6003686186673169
        },
        {
          "label": "Overturning safety factor",
          "value": 0.6003686186673169
        }
      ],
      "basis": "ambiguous"
    }
  ]
}
