DIY Project Calculators

Retaining Wall Calculator

How many blocks a dry-stacked garden or landscape wall needs, including the course you bury, plus the caps and the gravel for the base trench and the drainage zone behind the wall. Everything runs in your browser.

Base, burial, and drainage (Allan Block defaults)

Measure the length along the front face. Block sizes are nominal; a block sold as 12 in long is often 11¾ in, which the cut allowance covers. Check the label for your block's face size.

What to buy

How many retaining wall blocks do I need?

Blocks per course = wall length in inches ÷ block length, rounded up. Courses = (height above ground + buried depth) ÷ block height, rounded up. Multiply the two and add a little for cut blocks at the ends and corners.

Example: a 30 ft wall, 24 in tall, in 12 × 4 in blocks. Each course is 360 ÷ 12 = 30 blocks. Burying 2 in (1 in per foot of height) means stacking 26 in, which takes 26 ÷ 4 = 6.5, so 7 courses. 7 × 30 = 210 blocks, plus 5% = 221 blocks. The finished wall stands 26 in above ground.

Blocks for common walls

Wall12 × 4 in blocks16 × 6 in blocks18 × 8 in blocks
10 ft long, 1 ft tall422615
10 ft long, 2 ft tall744230
20 ft long, 2 ft tall1477959
20 ft long, 3 ft tall21011174
30 ft long, 2 ft tall22112184
50 ft long, 3 ft tall525280179

Height above ground, no caps, buried 1 in per foot of height, plus 5% for cuts. Bigger blocks need fewer pieces but each one is much heavier; check the weight before you plan to carry a few hundred.

How much gravel for a retaining wall?

Allan Block's residential installation guide uses gravel ("wall rock") in two places:

  • The base: a trench 24 in wide with at least 6 in of wall rock, compacted with at least two passes of a plate compactor. The trench is 6 in deep plus 1 in for each foot of wall height, because that much block is buried. (For walls under 4 ft, the guide also gives an 18 in wide, 4 in deep trench; the calculator's 24 × 6 in default errs high.)
  • The drainage zone: wall rock in the block cores and 12 in behind the block, up to the height of the block, with soil backfilled behind that in lifts of 8 in or less.

For the example wall above: the base is 30 × 2 ft × 0.5 ft = 30 cu ft, the drainage zone is 30 × 1 ft × 28 in tall = 70 cu ft, so 100 cu ft = 3.70 cubic yards, about 5.0 tons at the 1.35 tons per yard our gravel calculator uses. Hollow-core blocks need a bit more to fill their cores. The guide recommends a well-graded crushed rock from ¼ to 1½ in with no more than 10% fines, not pea gravel or sand.

How deep to bury the first course

One inch for every foot of wall height, per the same guide, on top of the base rock. A 3 ft wall buries 3 in of block. The calculator rounds the courses up, so with 4 in blocks you'll often bury a little more than that or end up with a slightly taller wall. Some block makers set a minimum burial (for example half a block or a full course); if yours does, enter it under Base, burial, and drainage.

Walls over 4 feet

Allan Block's guide requires a drain pipe at the back of the trench for any gravity wall over 4 ft, any wall reinforced with geogrid, and any site with poor drainage, vented to daylight every 50 ft. Taller walls, walls holding back a slope, a driveway, or a building, and walls on soft or clay soil may need geogrid and an engineered design. Follow your block maker's height chart, and ask your local building department whether your wall needs a permit before you dig.

FAQ

How many blocks per square foot of wall?

144 ÷ (block length × height in inches): 3 for a 12 × 4 in face, 1.5 for 16 × 6 in, 1 for 18 × 8 in. Count the buried course too; it's part of the wall, just below grade.

Do I need cap blocks?

They aren't structural on a short garden wall, but they finish the top and hide the block cores. Caps are sold by the piece and usually run their own length; pick Yes above and enter the cap's length and height, and the calculator counts them and stacks one fewer inch of block for every inch of cap.

Can I use sand for the base?

Not for the base itself. The guide calls for compacted wall rock and allows up to ½ in of coarse sand under the base course only to level individual blocks.

How do I stagger the courses?

Offset the vertical seams by at least a quarter of the block length from the course below. That doesn't change the count much; the cut allowance covers the half blocks at the ends.

How do I get the gravel home?

5 tons is several pickup loads at best. The truck bed capacity calculator shows how much your truck can legally carry; for more than a yard or two, delivery is usually simpler. The cubic yard calculator handles odd-shaped areas.

Building steps or a patio at the top of the wall? The paver calculator counts pavers, base, and sand.

Run a landscape supply yard? Put a material calculator on your own website: a free WordPress plugin with your prices, rounding, and a quote button.

Source: Allan Block, Residential installation: basic installation (base trench, burial, wall rock, drain pipe, backfill lifts, seam offset). This calculator isn't affiliated with any block maker; follow the instructions for the block you buy.