Skip to content
TROWELLY

Retaining Wall Calculator

Enter the length and exposed height of your wall and pick a block size to see how many blocks and caps to buy, and how much gravel goes under and behind the wall.

Units
ft
ft

The exposed height. One course is buried below ground and added for you.

%
Add prices for a cost estimate (optional)

Quantities work without prices. Material prices start as typical prices for your area, marked “Regional estimate”; type over any of them with the price you are quoted or see in store. Clear a price if you don’t know it, or enter 0 for something you already have.

Estimates use the US average.

each
each
per ton
per hour
hours
%
total

Results

Wall blocks
79 blocks
Gravel, base + drainage
3.63 tons
Cap blocks
15 caps
Courses (incl. 1 buried)
5 rows
Blocks per course
15 blocks
Gravel volume
2.59 yd³
Perforated drain pipe
20 ft
  • Includes one buried course and 5% extra blocks. Gravel covers a 24 in wide, 6 in deep base trench and a 12 in drainage zone behind the wall.
  • Run a perforated drain pipe along the back of the bottom course, and put landscape fabric between the gravel and the soil.

Where to buy

Quantities from your result, with links to search each store.

Your ZIP code stays on this device. We use it to show stores and suppliers in your area.

You may also need

Landscape and masonry yards sell wall block by the pallet and gravel by the ton, often cheaper than bags.

Links search each store’s website. Check prices and stock before you go.

How to use the retaining wall calculator

  1. Enter the Wall length along the ground.
  2. Enter the Wall height above ground. One buried course is added for you.
  3. Choose the Block size by its face, as listed on the block.
  4. Choose whether to add a row of Cap blocks, and set the Extra for cuts & breakage.
  5. Optionally add prices per block, per cap and per ton of gravel.

How it works

Segmental wall blocks stack without mortar. The first course sits in a trench on a compacted gravel base, about 24 in wide and 6 in deep, and is buried so the wall cannot slide.

Behind the wall, a 12 in zone of clean crushed stone with a perforated drain pipe at the bottom lets water out so it cannot push on the wall. Crushed stone weighs about 1.4 tons per cubic yard.

Courses = exposed height ÷ block height, rounded up, + 1 buried course

Blocks = courses × (wall length ÷ block length, rounded up) × (1 + extra %)

Caps = wall length ÷ block length, rounded up

Gravel (yd³) = (length × 2 ft × 0.5 ft + length × 1 ft × (height + one block)) ÷ 27

Worked example

A wall 20 ft long and 2 ft high in 6 × 16 in blocks has 4 exposed courses plus 1 buried, with 15 blocks per course: 75 blocks, or 79 with 5% extra, plus 15 caps.

The base is 20 × 2 × 0.5 = 20 ft³ and the drainage zone is 20 × 1 × 2.5 = 50 ft³, so 70 ft³ = 2.59 yd³, or about 3.63 tons of gravel.

Tips before you buy

  • Get the first course level and straight; every course above follows it.
  • Glue caps down with landscape block adhesive.
  • Call 811 before you dig to have buried utility lines marked.
  • Walls over about 4 ft, or walls holding up a driveway, slope or building, usually need geogrid, an engineer and a permit.

Frequently asked questions

How many retaining wall blocks do I need?

Divide the wall length by the block length to get blocks per course, then multiply by the number of courses, counting one buried course. A 20 ft wall 2 ft high in 6 × 16 in blocks takes 79 blocks with 5% extra.

How much of a retaining wall should be buried?

A common rule is one full course, or about 1 in for every 8 in of wall height, whichever is more. Check your block maker’s instructions.

How much gravel do I need for a retaining wall?

Plan for a base about 24 in wide and 6 in deep, plus 12 in of drainage stone behind the wall for its full height. That is about 3.6 tons for a 20 ft wall 2 ft high.

How tall can I build a retaining wall myself?

Many block makers and towns allow gravity walls up to about 3 to 4 ft without engineering. Taller walls usually need geogrid reinforcement, a design and a permit.

Results are estimates based on the measurements you enter and typical material properties, and costs are planning estimates: actual costs vary. Products vary, so check quantities with your supplier and follow product labels and your local building codes. Read the full disclaimer. Last reviewed October 9, 2026.