Retaining Wall Calculator

Work out how many retaining wall blocks and caps you need for a garden wall, plus the crushed stone for the base and the drainage backfill behind it.

Calculate a retaining wall

ft m
ft m
in mm
in mm
in mm
Front to back
in mm
About 1⁄10 of the height
in mm
Compacted crushed stone
in mm
Behind the wall
%
$ £

Results

How to use the retaining wall calculator

  1. Enter the length of the wall and the height you want showing above the ground in front of it.
  2. Enter the size of your block from the product details: the length and height of its face, and its depth from front to back.
  3. Check the buried depth, base depth and the width of drainage stone. The defaults suit a garden wall up to about 3–4 ft (1.2 m).
  4. Add about 5% extra blocks for cuts at the ends and corners.

How the wall is calculated

Courses = (height above ground + depth buried) ÷ block height, rounded up Blocks per course = wall length ÷ block length, rounded up Blocks = courses × blocks per course × (1 + extra) Base stone = length × (block depth + 12 in / 300 mm) × base depth × 1.15 Drainage stone = length × drainage width × built height

The base trench is the depth of the block plus 6 in (150 mm) in front and behind, and the base stone includes 15% for compaction. Weights use 2,100 kg/m³ for base and 1,600 kg/m³ for clean drainage stone.

Worked example (US)

A wall 20 ft long and 3 ft high in 16 × 6 × 12 in blocks, with 6 in buried: 42 in ÷ 6 in = 7 courses of 15 blocks — 105 blocks, or 111 with 5% extra — plus 15 caps. The base needs about 1.5 tons of crushed stone (0.85 yd³), and the drainage zone about 3.5 tons of clean ¾-inch stone (2.6 yd³).

Worked example (UK)

A wall 6 m long and 0.9 m high in 400 × 150 × 300 mm blocks, with 150 mm buried: 7 courses of 15 blocks — 111 blocks with 5% extra, plus 15 coping units. The base needs about 1.3 tonnes of MOT Type 1 and the drainage zone about 3 tonnes of clean 20 mm stone.

What a block retaining wall needs

PartTypical sizeWhy
Compacted base6 in (150 mm) deep, wider than the blockA level, firm footing that drains
Buried course1⁄10 of the height, at least 6 in (150 mm)Stops the toe of the wall sliding out
Setback (batter)Each course steps back slightlyLeans the wall into the soil; built into most blocks
Drainage stone12 in (300 mm) wide behind the wallRelieves water pressure
Drain pipe4 in (100 mm) perforated, at the baseCarries water out from behind the wall
CapsOne row, glued downFinishes the top and locks the last course

This calculator is for dry-stacked (segmental) retaining wall blocks. For a mortared wall of concrete blocks, use the concrete block calculator; for other depths of stone, the gravel calculator. A step-by-step guide is in how to build a retaining wall.

Retaining walls hold back a great deal of weight. Walls over about 4 ft (1.2 m), walls on slopes and walls near buildings, driveways or boundaries should be designed by an engineer and may need a permit or building regulations approval.

Frequently asked questions

How many retaining wall blocks do I need?

Divide the wall length by the block length to get blocks per course, and the wall height — including the part buried below ground — by the block height to get the number of courses. Multiply the two and add about 5%. A 20 ft wall, 3 ft high, in 16 × 6 in blocks needs 15 blocks per course and 7 courses: 105 blocks, or 111 with extra.

How deep should the first course be buried?

Bury about one-tenth of the wall’s height, and at least 6 inches (150 mm) — usually one full course for a low garden wall. The buried course stops the base of the wall sliding forward. It sits on about 6 inches (150 mm) of compacted crushed stone.

Do I need drainage behind a retaining wall?

Yes. Water building up in the soil behind a wall is the most common reason walls lean and fail. Backfill at least 12 inches (300 mm) directly behind the blocks with clean crushed stone, and lay a perforated drain pipe at the base, sloped to daylight or a drain. Separate the stone from the soil with landscape fabric so it does not clog.

How high can I build a retaining wall myself?

Most block systems can be dry-stacked as a simple gravity wall up to about 3–4 ft (0.9–1.2 m). Above that — or for any wall holding back a slope, a driveway or a building — the wall usually needs geogrid reinforcement and an engineer’s design, and often a permit. In many US areas the limit is 4 ft measured from the bottom of the footing. Check locally before you build.

What gravel should I use for the base and backfill?

For the base, use a well-graded crushed stone that compacts hard — crusher run or ¾-inch minus in the US, MOT Type 1 in the UK. For the drainage zone behind the wall, use clean, angular ¾-inch (20 mm) stone with no fines, so water runs straight through it. Do not use rounded pea gravel for either: it does not lock together.

Built by Paras Garg and checked by Shivam Sharma and Muskan Gupta. Formulas and figures last reviewed on . Results are estimates: product yields vary, so check manufacturer labels and local building rules before you buy or build. Spotted an error? Tell us.