Retaining Wall Calculator – Blocks, Caps & Gravel Needed

Plan a segmental block retaining wall without guessing at the yard. Enter the wall length, the height above ground and your block size, and the calculator works out blocks per course, total blocks with waste, cap blocks, and the gravel you need for the base pad and drainage backfill.

  • Free, no sign-up
  • Yards, tons & cost
  • US & metric units

How to use the retaining wall calculator

Calculate retaining wall blocks

The first course of a block retaining wall should be buried below ground on a compacted gravel pad about 6 inches deep. Walls over about 4 ft high usually need an engineered design - check local rules. Estimates only.

  1. Enter the wall length in feet, not counting any returns or corners.
  2. Enter the height above ground in feet. The calculator adds one buried course below ground when the buried-course option is on, which is how block walls should be built.
  3. Enter your block length and height in inches (12 × 4 in is a common size) and the cap block length.
  4. Read off the total blocks, cap blocks and gravel. Run the calculator again for each separate wall section and add the results.

How the block count works

Blocks per course is simply the wall length divided by the block length. Courses is the wall height divided by the block height, rounded up. Multiply the two and you have the blocks for the visible wall. This calculator then adds one buried course, because the first course of a retaining wall should sit below ground on the gravel pad, and a waste allowance (10 percent by default) for cuts, corners and the odd broken block.

Worked example: a 20 ft wall with 12 inch blocks needs 20 blocks per course. A 3 ft wall with 4 inch blocks needs 9 courses above ground, plus 1 buried course makes 10, so 200 blocks before waste, and 220 with 10 percent extra. A 12 × 4 inch block face covers a third of a square foot, which is why a quick check is 3 blocks per square foot of wall face.

Do not forget the base and the backfill

More retaining walls fail from a poor base than from the blocks themselves. The calculator allows for a gravel base pad about 2 ft wide and 6 inches deep along the whole wall, levelled and compacted, with the first course buried on it. Behind the wall it allows a drainage layer of clean gravel about 12 inches wide for the full height, which lets water escape instead of pushing the wall over. Many builders also lay a perforated drainage pipe in that gravel at the base. Keep topsoil and mulch out of the drainage layer.

Common block sizes

Block (length × height)Face areaBlocks per sq ft of wall
12 in × 4 in0.33 sq ft3.0
16 in × 6 in0.67 sq ft1.5
18 in × 6 in0.75 sq ft1.33
8 in × 4 in (small garden block)0.22 sq ft4.5

Block depth (front to back) is usually 8 to 12 inches and does not change the count, but it does change the width of the trench and base pad you dig. Check the depth of the block you are buying before you dig.

Tips before you order

  • Walls over about 4 ft high, and walls holding back a slope, driveway or building, usually need an engineer's design and often a permit. Check local rules first.
  • Order blocks and caps from the same batch so colours match, and keep a few spares for future repairs.
  • Step the base up in sections on a slope instead of following the slope, keeping every course level.
  • Compact the base and each backfill layer as you go. Most leaning walls were never compacted.

Frequently Asked Questions

How many retaining wall blocks do I need per square foot?

It depends on block size. A 12 × 4 inch block covers a third of a square foot, so you need 3 blocks per square foot of wall face, plus a buried course and waste. A 16 × 6 inch block needs only 1.5 per square foot.

How deep should I bury the first course of a retaining wall?

At least one full course below ground. A common rule is to bury 1 inch of wall for every 8 inches of height, with the whole first course on a compacted gravel pad about 6 inches deep.

How much gravel do I need behind a retaining wall?

A drainage layer about 12 inches wide for the full height of the wall. For a 20 ft long, 3 ft high wall that is about 2.22 cubic yards of clean gravel, plus about 0.74 cubic yards for the base pad.

Do I need cap blocks?

They are not structural, but they finish the wall, protect the top course and give it a clean edge. Count one cap per block length along the top, so a 20 ft wall with 12 inch caps needs 20 caps before waste.

How high can I build a block retaining wall myself?

Most DIY block systems are designed for walls up to about 3 to 4 ft of exposed height. Taller walls, terraced walls and walls under load usually need engineering and a permit.

Why do retaining walls lean or fall?

Almost always water and a weak base: no drainage gravel behind the wall, an unlevel or uncompacted base pad, or soil backfilled tight against the blocks. The gravel in this calculator is there to prevent exactly that.

How much does a retaining wall block weigh?

A typical 12 × 4 × 8 inch block weighs about 25 to 30 lb. Larger 18 × 6 inch blocks can weigh 60 lb or more, which is worth knowing before you plan to collect them yourself.

Should I use adhesive on cap blocks?

Yes, landscape block adhesive on the top course and caps keeps them from shifting, especially on garden walls that people sit or step on.

Order the right amount the first time

Measure your area, pick a depth and get cubic yards, tons, bags and cost – free, no sign-up, works on your phone.

Calculate now