Retaining Wall Calculator

Wall
Blocks & base
Gabion baskets & fill
Retaining wall
——
Cap blocks—
Courses × blocks per course—
Base + drainage gravel—
Gravel weight—
Perforated drain pipe—
Block cost—
Fill stone—
1-ton bulk bags—
Basket volume—
Baskets long × high—
Built size—
Baskets + fill cost—

Estimate for a gravity wall on firm soil. Check block size and setback on the maker's spec sheet. Walls over 4 ft, on slopes, or with a driveway or building above need an engineer.

A retaining wall 30 ft long and 3 ft high, built from 6 × 16 in blocks, takes 7 courses of 23 blocks, including one buried course: 170 blocks with 5% extra, plus 23 caps. It needs about 5 cubic yards (6.75 tons) of gravel for the base and the drainage zone, and 30 ft of drain pipe. Enter your wall below.

Blocks per 10 feet of wall

Per 10 ft of wall with 6 × 16 in blocks, before waste. Buried course is 6 in or 1 in per ft of height. Wall rock is the 12 in drainage zone. Checked with this calculator.
Exposed heightBuriedCoursesBlocksWall rock
1 ft6 in32415 ft³
2 ft6 in54025 ft³
3 ft6 in75635 ft³
4 ft6 in97245 ft³
5 ft (needs design)6 in118855 ft³

How to calculate retaining wall blocks

A segmental retaining wall is counted in courses, not square feet, because part of the wall is buried:

  • Buried depth: Allan Block's rule is at least 6 in, or 1 in for each foot of wall height, whichever is more.
  • Courses = (exposed height + buried depth) ÷ block height, rounded up.
  • Blocks per course = wall length ÷ block length, rounded up.
  • Blocks = courses × blocks per course, plus a few percent for cuts and breakage.
  • Caps = wall length ÷ cap length.

For 30 ft of wall, 3 ft high, with 6 × 16 in blocks: buried depth 6 in, so (36 + 6) ÷ 6 = 7 courses. Each course is 360 ÷ 16 = 22.5, so 23 blocks. 7 × 23 = 161 blocks, and 5% extra makes 170. The cap row needs 23 caps if the caps are the same length as the blocks.

Base and drainage gravel

Most block-wall failures come from water, not from the blocks. A gravity wall needs two zones of free-draining stone:

  • Leveling base: a compacted trench under the first course. The calculator defaults to 24 in wide and 6 in deep, a common size for 10–12 in deep blocks; use your block maker's figure if it differs.
  • Wall rock (drainage zone): at least 12 in of clean, angular stone behind the blocks for the full height, per Allan Block, plus the hollow cores filled.
  • Drain pipe: a perforated pipe at the back of the base, running the length of the wall and daylighting at one or both ends.

The 30 ft example needs 30 ft³ of base and 105 ft³ of wall rock, 135 ft³ in total, which is 5 cubic yards or about 6.75 tons of crushed stone. Allan Block recommends a well-graded ¼ to 1½ in aggregate with less than 10% fines, used for the base, the cores, and behind the wall. Put filter fabric between the drainage stone and the soil if the soil is fine.

How tall can a retaining wall be without an engineer?

Under IRC R404.4, a retaining wall that is not braced at the top and holds back more than 48 in of unbalanced fill must be designed for overturning, sliding, foundation pressure, and water uplift. Many building departments also require a permit at about the same height. A wall of any height with a slope, a driveway, or a building above it carries extra load and needs design too.

Each block also has a maximum height as an unreinforced gravity wall, set by its depth and weight. Check the block maker's chart; above that height the wall needs geogrid reinforcement and an engineered layout.

Blocks per 10 feet of wall

Net blocks per 10 ft of wall with 6 × 16 in blocks, including the buried course (6 in, or 1 in per ft of height). Wall rock is a 12 in zone behind the blocks for the full built height. Checked with this calculator.
Exposed heightBuriedCoursesBlocksWall rock
1 ft6 in32415 ft³
2 ft6 in54025 ft³
3 ft6 in75635 ft³
4 ft6 in97245 ft³
5 ft (needs design)6 in118855 ft³

Gabion retaining walls

Switch the wall type to gabion baskets for a wire-basket wall filled with stone. The calculator counts baskets along and up the wall and works out the fill stone. Retailer guides put the fill at about 1.5 to 1.7 metric tons per cubic meter of basket, around 1.26 to 1.43 short tons per cubic yard, because angular stone leaves voids. The default is 1.39 tons per yd³ plus a 10% reserve. Pick fill stone larger than the mesh opening so it can't slip through.

Common mistakes

  • Forgetting the buried course. It adds a full row of blocks you never see.
  • Skipping drainage stone. Backfilling with soil traps water behind the wall and pushes it over.
  • Measuring the curve on the wrong side. For a curved wall, measure the length along the face of the blocks.
  • Ignoring setback. Most blocks step back each course. Over a tall wall that shifts the top back several inches; leave room behind.

About the numbers: buried depth and wall-rock depth are from Allan Block, the 48 in limit from IRC R404.4 (2021), gravel weight from this site's crushed-stone density (1.35 tons per yd³), and gabion fill from retailer guides (1.5–1.7 t/m³). Block sizes in the list are typical faces; use your block's spec sheet. Examples and the table were checked with this calculator.

Frequently asked questions

How many retaining wall blocks do I need?

Courses × blocks per course. Courses = (exposed height + buried depth) ÷ block height, and blocks per course = wall length ÷ block length, both rounded up. A 30 ft × 3 ft wall with 6 × 16 in blocks takes 7 courses of 23, or 170 blocks with 5% extra.

How deep should the first course of a retaining wall be buried?

At least 6 in, or 1 in for each foot of wall height, whichever is more (Allan Block). A 3 ft wall buries 6 in; an 8 ft wall would bury 8 in, but a wall that tall needs an engineer.

How much gravel do I need behind a retaining wall?

At least 12 in of drainage stone behind the blocks for the full height, plus the leveling base. For a 30 ft × 3 ft wall that is about 105 ft³ behind the wall and 30 ft³ of base, roughly 5 cubic yards or 6.75 tons.

How tall can a retaining wall be without an engineer?

Under IRC R404.4, up to 48 in of retained soil if nothing heavy sits above it. Higher walls, or walls with a slope, driveway, or building above, need an engineered design. Your local code may be stricter.

How many retaining wall blocks are in 10 feet?

With 16 in long blocks, 8 per course (7.5 rounded up). A 3 ft exposed wall with a 6 in buried course has 7 courses of 6 in blocks, so 56 blocks per 10 ft before waste.

How much stone fills a gabion basket?

About 1.5 to 1.7 tons per cubic meter of basket, by retailer guides. A 100 × 50 × 50 cm basket holds 0.25 m³, so roughly 0.4 tons of stone. Add about 10% reserve.

Sources