Skip to content
Countora

Retaining Wall Calculator

This retaining wall calculator works out how many blocks you need for a segmental block wall, including the buried course and cap blocks, plus the gravel for the leveling base and the drainage zone behind the wall.

Units

Most install guides bury at least one course.

Block size

Face length of one block. Check the label.

For cuts at corners and ends, and breakage.

Gravel

Clean stone directly behind the wall.

Result

155 wall blocks

Cap blocks23
Courses (rows)7 × 21 blocks
Built height2.3 ft
Wall face area47 ft²
Base gravel0.58 yd³ (15.6 ft³)
Drainage gravel1.73 yd³ (46.7 ft³)

Results update as you type.

How to Calculate Retaining Wall Blocks

A segmental retaining wall is built in rows (courses) of identical blocks. Work out how many blocks fit in one row, then how many rows the wall needs.

  • Blocks per row = wall length ÷ block length, rounded up
  • Rows = height above ground ÷ block height, rounded up, + buried rows
  • Wall blocks = blocks per row × rows × (1 + extra %), rounded up
  • Cap blocks = blocks per row × (1 + extra %), rounded up

Work in inches: multiply the wall length and height in feet by 12.

Gravel base and drainage stone

  • Base gravel (ft³) = length × trench width × base depth, where the trench width is the block depth plus 6 in at the front and 6 in at the back
  • Drainage gravel (ft³) = length × drainage width × built height
  • Cubic yards = cubic feet ÷ 27

Worked Example

A wall 20 ft long and 2 ft high, built from 4 in high × 11.75 in long × 6.75 in deep blocks, with one buried row:

  1. Blocks per row: 240 in ÷ 11.75 in = 20.4 → 21
  2. Rows: 24 in ÷ 4 in = 6, plus 1 buried = 7 rows
  3. Wall blocks: 21 × 7 = 147, × 1.05 = 154.35 → 155 blocks
  4. Cap blocks: 21 × 1.05 = 22.05 → 23 caps
  5. Base gravel: 20 × (18.75 ÷ 12) × (6 ÷ 12) = 15.6 ft³ = 0.58 yd³
  6. Drainage gravel: built height is 7 × 4 = 28 in, so 20 × 1 × (28 ÷ 12) = 46.7 ft³ = 1.73 yd³

Tips and Common Mistakes

Don’t forget the buried course

The first row sits below the ground on the gravel base, so it adds blocks without adding visible height. Leaving it out is the most common reason people run short.

Use the real block length

Block sizes on the label are often nominal. Some retailers list the 11.75 in RockWall block at 11.63 in, for example. Over a long wall the difference adds up, so measure a block if you’re close to a pallet boundary.

Corners, curves and steps

Outside corners and curves use cut or special corner blocks, and walls that step up a slope need extra buried blocks at each step. Raise the extra-blocks percentage, or add each section separately.

Drainage matters more than the blocks

Water pressure behind a wall is a common reason block walls bulge or tip. Fill the drainage zone with clean crushed stone, not pea gravel or soil, and follow the manufacturer’s guidance on filter fabric and a drain pipe at the base.

Height limits

Small landscape blocks are usually rated for short walls only; check the maximum height on the product. Walls over 4 ft, or walls holding up a driveway, a slope or a building, need an engineered design. Taller walls also often need geogrid reinforcement.

For the leveling base, the gravel calculator converts cubic yards to tons. If you’re pouring a concrete footing instead, use the concrete calculator.

Frequently Asked Questions

How many retaining wall blocks do I need?

Divide the wall length by the length of one block to get blocks per row, and divide the height by the block height to get the number of rows. Add the buried row, multiply rows by blocks per row, and add a few percent for cuts. A 20 ft wall, 2 ft high, built from 4 × 11.75 in blocks needs 21 blocks per row and 7 rows, so 147 blocks, or 155 with 5% extra.

How many retaining wall blocks are in a square foot?

Divide 144 by the face area of one block in square inches. A 4 × 11.75 in block has a face of 47 square inches, so about 3.1 blocks cover a square foot. A larger 6 × 16 in block covers 96 square inches, so you need 1.5 per square foot.

How deep should the gravel base be for a retaining wall?

Block manufacturers' install guides commonly call for a leveling pad of compacted, clean, graded aggregate about 6 inches thick. The trench is dug about 6 inches wider than the block at the front and the back. Follow the instructions for the block you buy.

How much of a retaining wall should be buried?

Most install guides bury at least one full course below grade. Nicolock, for example, buries 10% of the wall height or 6 inches, whichever is greater. Taller walls and walls on slopes may need more, as set out in the engineered design.

How tall can a retaining wall be without an engineer?

Under the International Residential Code (section R404.4), a wall that isn't supported at the top and retains more than 48 inches of unbalanced fill must be designed to accepted engineering practice. Many local codes also require a permit at lower heights, and walls with loads above them, such as a driveway, need design at lower heights still. Check with your building department.

Do I need gravel behind a retaining wall?

Yes, block manufacturers call for a zone of clean crushed stone, typically about 12 inches wide, directly behind the wall, so water drains rather than building up pressure. Many guides also call for a perforated drain pipe at the base, and warn against using pea gravel because it doesn't lock together.

Sources & Assumptions

Last reviewed: