Introduction
Retaining wall math looks intimidating because five different quantities come out of two measurements — but each formula is simple once you see what it’s counting. Length times height gives you an area; areas divided by block coverage give you blocks; lengths times cross-sections give you aggregate volumes. Nothing here goes beyond multiplication and division.
The Retaining Wall Calculator chains these formulas together automatically. This guide derives each one from first principles, shows where every constant comes from (the burial rule, the 12-inch drainage column, the base dimensions), works a complete example in imperial and metric with cross-checked arithmetic, and explains the rounding decisions that keep you from coming up short. If you want the overview first, start with the complete guide; if you want to price the answers, see the cost guide.
The Input Variables
Everything derives from two measurements plus three product constants:
- L — wall length (ft or m), measured along the face.
- H — exposed height (ft or m), finished grade to top of wall excluding cap.
- Ablock — face area of one block: planning figure 1.0 ft² (0.0929 m²).
- Lcap — length of one cap stone: planning figure 1.0 ft (0.305 m).
- w — waste fraction for blocks: 0.05–0.10.
Derivation 1: Buried Depth
The wall doesn’t start at grade — the first course (or more) sits below it to resist sliding and frost heave. The trade rule:
B = max(H ÷ 8, 6 in) — one inch of burial per eight inches of exposed height, minimum 6 inches (150 mm).
Why 1:8? It’s an empirical rule from segmental wall manufacturers: burial depth scales with the overturning forces, which scale with exposed height. The minimum exists because even a tiny garden wall needs enough embedment to stay put through freeze-thaw cycles. In metric: B = max(H ÷ 8, 0.15 m).
Total block-consuming height is then Ht = H + B.
Derivation 2: Face Block Count
The wall face (including the buried part) is a rectangle of area L × Ht. Each block covers Ablock, so:
Nblocks = ceil( L × Ht ÷ Ablock × (1 + w) )
With Ablock = 1.0 ft², the division vanishes in imperial planning: blocks ≈ face square footage. The ceiling (round-up) matters because you can’t buy 0.6 of a block, and rounding down is how projects stall one course from done. Note the calculator treats the face as continuous area; on site you build in whole block courses, so if your height doesn’t divide evenly into course heights, round the course count up and let the waste allowance absorb the difference.
Derivation 3: Cap Stones
Caps run along the top — a one-dimensional count:
Ncaps = ceil( L ÷ Lcap × 1.05 )
With 12-inch caps, that’s one cap per linear foot plus 5% for cuts and breakage. Caps get a smaller waste factor than blocks because there are no buried caps and far fewer cuts — except on curves, where you cut the back of caps to follow the radius.
Derivation 4: Base Gravel Volume
The leveling pad is a rectangular prism: length × trench width × depth. Standard planning dimensions:
Vbase = L × (Dblock + 12 in) × 6 in
where Dblock is the block depth front-to-back (typically 10–12 in / 25–30 cm). The extra 12 inches (6 in each side) gives working room to set and level the first course. For 12-inch-deep blocks: trench width = 24 in… but many estimators use a slightly narrower 18 in (0.46 m) working width for small walls — the consistent planning figure used across these guides is 18 in wide × 6 in deep, i.e. 0.75 ft³ per linear foot of wall (0.069 m³ per linear meter).
Convert to supplier units: ÷ 27 for cubic yards, × 0.0283168 for m³ from ft³. Add ~10% for compaction settlement and trench irregularity.
Derivation 5: Drainage Aggregate Volume
The drainage column is another prism: full exposed height × 12 in wide × wall length:
Vdrain = L × H × 1 ft (imperial) or L × H × 0.305 m (metric)
The 12-inch width is the manufacturer-standard drainage zone — wide enough to intercept water flowing toward the wall and feed it down to the pipe. The perforated drain pipe length is simply L (plus a few feet for the daylight outlet). Add ~10% to the aggregate for compaction and over-excavation.
Why isn’t the buried portion included in the drainage height? Below grade, the wall back is already in soil; the drainage column serves the retained soil above grade. Some designs extend it to the base — the conservative estimator uses Ht instead of H, adding a few percent. Either is defensible; just be consistent.
Derivation 6: Unit Conversions
The calculator accepts both systems, and the worked examples below prove they agree. The exact factors:
- 1 ft = 0.3048 m (exact)
- 1 ft² = 0.092903 m²; the 1.0 ft² planning block = 0.0929 m²
- 1 ft³ = 0.0283168 m³; 1 yd³ = 27 ft³ = 0.7645549 m³
- 1 in = 25.4 mm; 6 in = 152.4 mm; 12 in = 304.8 mm
Fully Worked Example (Both Unit Systems)
Wall: L = 20 ft, H = 3 ft exposed (metric: 6.096 m × 0.9144 m).
Burial: B = max(36/8, 6) = 6 in (0.152 m). Ht = 3.5 ft (1.067 m).
Blocks: 20 × 3.5 = 70 ft² ÷ 1.0 = 70 × 1.08 (8% waste) = 75.6 → 76 blocks. Metric: 6.096 × 1.067 = 6.50 m² ÷ 0.0929 = 70.0 × 1.08 = 75.6 → 76 blocks ✓.
Caps: 20 ÷ 1.0 = 20 × 1.05 = 21 → 21 caps. Metric: 6.096 ÷ 0.305 = 20 × 1.05 → 21 ✓.
Base: 20 × 1.5 × 0.5 = 15 ft³ ÷ 27 = 0.556 yd³ × 1.10 → 0.61 yd³. Metric: 6.096 × 0.457 × 0.152 = 0.425 m³ × 1.10 → 0.47 m³; check: 0.556 × 0.7646 = 0.425 ✓.
Drainage: 20 × 3 × 1 = 60 ft³ ÷ 27 = 2.222 yd³ × 1.10 → 2.44 yd³. Metric: 6.096 × 0.914 × 0.305 = 1.700 m³ × 1.10 → 1.87 m³; check: 2.222 × 0.7646 = 1.699 ✓.
Pipe: 20 ft (6.1 m) plus outlet.
Every quantity matches across systems to within rounding — the formulas are unit-consistent, so any discrepancy you find is an arithmetic slip, not a formula problem.
Rounding and Safety Margins
Three rounding rules keep estimates honest: round block and cap counts up (fractional units don’t exist), round aggregate up to the supplier’s sellable increment (many yards sell by the half-yard or by the ton — 0.61 yd³ becomes a 1-yd³ or 1-ton minimum order), and apply waste before rounding, not after (75.6 → 76 is correct; rounding 75.6 to 76 then adding 8% double-counts). The common mistakes guide shows what happens when these rules are skipped.
Related Guides
- Retaining Wall Complete Guide — the full overview this math powers.
- Retaining Wall Estimating Guide — how to measure L and H accurately in the field.
- Retaining Wall Cost Guide — turning these quantities into a budget.
- Retaining Wall Material Guide — the products behind Ablock and Lcap.
- Retaining Wall FAQ — quick answers on the numbers.
Get Your Number
The whole system is five formulas from two measurements: burial depth, block count, cap count, base volume, drainage volume. Run your dimensions through the Retaining Wall Calculator to chain them automatically, then sanity-check the output against the derivations above — if you can reproduce the block count by hand, you understand the wall. For field measurement technique, see the estimating guide; for pricing, the cost guide.
Disclaimer: Formulas shown are standard planning methods for segmental retaining walls; actual requirements vary by block product, soil, and site conditions. Calculator results are planning estimates. Walls over 4 ft (1.2 m) typically require engineered design and permits — consult a licensed engineer and your local building authority rather than extending these formulas beyond their scope.
