Retaining Wall Calculator
Enter the wall size. You get blocks, caps and gravel.
That number is too big. Check what you typed.
Length must be more than 0 and at most 1,000 ft, height at most 30 ft.
These numbers are too large to work out.
Buried rows must be a whole number from 0 to 12.
The gravel base must be between 0 and 24 in.
Extra must be between 0 and 100%.
Prices must be between $0 and $100,000.
How to calculate retaining wall blocks
Divide the wall length by the block face length for blocks per row, and the height above ground by the block height for rows. Then add the buried rows: bury at least 6 in, or 1 in per 8 in of height when that is more. A wall 20 ft long and 3 ft high with 16 × 6 in blocks: 240 ÷ 16 = 15 blocks per row and 36 ÷ 6 = 6 rows. 36 ÷ 8 = 4.5 in is under 6 in, so one 6 in row goes below ground: 7 rows.
7 × 15 = 105 blocks, or 111 with 5% extra for cuts and breakage. Caps follow the length: 15 caps. The guide on how many retaining wall blocks you need walks through another wall.
Base and drainage gravel
Dig a trench about 24 in wide and lay 6 in of crushed stone, compacted, under the first row. For the 20 ft wall that is 20 × 2 × 0.5 = 20 cu ft: 0.74 cubic yard, about 1 ton at 100 lb per cubic foot.
Behind the blocks, fill 12 in of clean 3/4 in stone for their full height, with a 4 in perforated drain pipe at the bottom. 7 rows of 6 in make 3.5 ft, so 20 × 1 × 3.5 = 70 cu ft: 2.6 cubic yards, about 3.5 tons. The pipe runs the full length of the wall, 20 ft here, out to daylight. The gravel calculator turns other areas and depths into tons.
Choosing the block
Small 12 × 4 in blocks suit garden walls and raised beds up to about 2 ft. Standard 16 × 6 in and 18 × 6 in blocks are the usual choice for walls of 2 to 4 ft. Large 16 × 8 in blocks build faster and go taller with geogrid.
Segmental blocks are dry-stacked, each row set back by a lip at the back. Caps are glued on with masonry adhesive. For a mortared wall of 8 in concrete blocks, use the concrete block calculator; for a brick garden wall, the brick calculator.
When a wall needs an engineer
Most US codes ask for an engineered design and a permit once a wall holds back more than 4 ft of soil, and sooner with a slope, a driveway or a building above it. Taller walls need geogrid layers between rows, and many towns count the height from the bottom of the footing.
US measurements
Wall length and height go in feet, block faces and gravel depths in inches. Gravel is sold by the ton or the cubic yard: one cubic yard of crushed stone weighs about 1.35 tons. For 3 ft 6 in, type 3.5 or pick ft + in beside the box.
Common mistakes
Skipping the buried rows: at least 6 in of block goes below ground, more for a tall wall, or the wall slides out at the bottom. With 4 in blocks, that is 2 rows.
Using soil behind the wall: without drainage gravel and a pipe, water pushes the wall over.
A loose base: compact the crushed stone in two layers and level the first row with care. Every error there shows at the top.
Counting the block depth instead of its face: the length along the wall is what sets blocks per row.
FAQ
How many retaining wall blocks do I need?
Blocks per row times rows, buried rows included. A 20 ft wall 3 ft high in 16 × 6 in blocks takes 105 blocks, or 111 with 5% extra.
How much gravel do I need behind a retaining wall?
12 in wide for the full height of the blocks. For a 20 ft wall 3 1/2 ft tall with its buried row, about 2.6 cubic yards, or 3.5 tons.
How deep should a retaining wall base be?
About 6 in of compacted crushed stone in a 24 in wide trench. On top, bury at least 6 in of block, or 1 in per 8 in of wall height.
Do I need a permit for a retaining wall?
Most US towns ask for one over 4 ft, or when the wall holds a slope, a driveway or a building. Check with your building department.
How many cap blocks do I need?
The wall length divided by the cap length. For 20 ft with 16 in caps, 15 caps.
Guides
Related tools
Add this calculator to your site
Free for any website. Paste this code into an HTML block where the calculator should appear.