How to use the retaining wall calculator
- Measure the wall length along its face, and its total height including any course buried below ground.
- Enter the face length and height of one block from the product sheet.
- Add an allowance for cuts at ends and curves.
- Optionally enter the cap unit length and the width of the drainage aggregate zone your block system specifies.
Retaining wall formulas
Courses = Wall height ÷ Block face height (round up)
Blocks = Blocks per course × Courses × (1 + allowance)
Caps = Wall length ÷ Cap length
Drainage gravel = Length × Height × Gravel width
Worked example
A 24 ft garden wall, 30 in high including a buried course, with 16 × 6 in blocks, 16 in caps, 5% extra and 12 in of drainage gravel behind.
- Blocks per course = 288 ÷ 16 = 18
- Courses = 30 ÷ 6 = 5
- Blocks = 18 × 5 = 90; with 5% = 95 blocks
- Caps = 18 × 1.05 → 19
- Drainage gravel = 24 × 2.5 × 1 = 60 cu ft = 2.22 cu yd
Planning your wall
- Follow the block system: base depth, leveling pad, setback, geogrid and drainage are specified by the manufacturer for each product — they differ between systems.
- Height limits: manufacturers state the maximum height for a wall without reinforcement; taller walls, and walls carrying slopes, driveways or buildings, need an engineered design and may need a permit.
- Stepped walls: where the ground slopes along the wall, calculate each stepped section at its own height and add them up.
- Base and backfill: use the Gravel Calculator for the leveling pad and the Cubic Yards to Tons Calculator if aggregate is sold by weight.
Frequently asked questions
How many retaining wall blocks do I need?
Divide the wall length by the block face length to get blocks per course, divide the height by the block height to get courses, multiply, and add a small allowance for cuts.
Should I include the buried course in the wall height?
Yes. Most block systems bury at least part of the first course; include it so you order enough blocks.
How much gravel goes behind a retaining wall?
Multiply the wall length × height × the width of the drainage zone your block system specifies. The calculator does this when you enter the width.
Sources & methodology
Unit conversions use exact legal definitions. Material densities are typical planning values that vary in practice — see the calculation methodology for every constant, rounding rule and test.
- NIST Special Publication 811 — Guide for the Use of the International System of Units (SI) — Exact definitions of the inch, foot, yard, acre, pound and US gallon used for every conversion.