Every Single CalculatorOne place for every calculator

Retaining wall calculator

Enter the length and height of a wall to find how many blocks and caps to buy, and how much gravel goes behind it.

Example: You are terracing a slope with a 30 foot wall 3 feet high and need blocks, caps and drainage stone.

Your numbers

Block sizes vary by brand. Measure the face of yours, the length and the height, and enter those.

ft
ft
in
in
At least one course goes below ground.
in
Enter 0 for no caps.
%
in
How far back the drainage gravel goes.
Drawn from your numbers. It redraws as you type.
  • Blocks to buy0
  • Courses, including buried0
  • Blocks per course0
  • Cap blocks0
  • Drainage gravel0

Retaining wall calculator. Estimate from everysinglecalculator.com

Materials list
ItemBuyHow it was worked out

How the block count is worked out

Divide the wall height by the block height to get the number of courses, and add the buried ones. Divide the wall length by the block length to get the blocks in each course.

Blocks = (courses above ground + buried courses) × blocks per course × (1 + waste)

A worked example

A wall 30 feet long and 3 feet high, built from blocks 16 inches long and 6 inches tall, has 6 courses above ground and 1 buried, so 7. Each course takes 23 blocks. That is 161, and 5% waste makes 170. The top needs 23 cap blocks. A foot of drainage gravel behind the wall comes to 3.33 cubic yards.

Good to know

  • Walls taller than about 3 to 4 feet usually need a permit and an engineered design with geogrid reinforcement. Check before you build. A failed retaining wall is dangerous.
  • The first course sits on a levelled, compacted gravel base, typically 6 inches deep. That gravel is extra to the figure here.
  • Drainage is what keeps a wall standing. Use clean crushed stone behind the wall and a perforated drain pipe at the bottom that runs to daylight.
  • Most blocks step back slightly with each course, so the wall leans into the slope.

Common questions

How much of the wall should be buried?

A common rule is one course, or about a tenth of the wall height, whichever is more.

Does this work for a curved wall?

Yes. Measure the length along the curve. Tight curves may need tapered blocks or some cutting, so allow more waste.

How we know this calculator is right

Before this calculator went on the site, 11 answers were worked out separately from its code, by hand or straight from the formula above. Each time this page loads, your own browser runs the calculator on those same numbers and compares. Turn on JavaScript to see the comparison.

See every check
Numbers usedResultWorked out separatelyThis calculator

What this proves: the calculator does the arithmetic of the formula shown, correctly. What it cannot prove: your measurements, or figures such as coverage per bag, waste and spacing, which are typical starting values you can change. Go by the product label and your local code.

Used by: masons, landscapers.