÷AIWebGrade

Retaining Wall Block Calculator

Blocks, caps, base and drainage gravel for a segmental block wall.
123
Advanced: waste, bag size & prices
Advertisement
</> Embed this calculator on your website: free

Contractors, suppliers and bloggers: paste this code into any page to give your visitors this calculator. It's free, needs no sign-up and stays up to date.

How the calculator works

  1. Buried course: about 1 in. per 8 in. of visible height, at least 6 in. and one full course.
  2. Courses: buried + visible height (minus the cap), divided by block height and rounded up.
  3. Blocks: wall length ÷ block face length per course × courses, plus waste.
  4. Gravel: a 6 in. leveling pad 12 in. wider than the block, plus a 12 in. drainage zone behind the wall.
  5. Fabric and pipe: fabric between the gravel and the soil, and a perforated pipe at the base.

Blocks for a 3 ft wall (6 × 16 × 10 in. block, with caps)

Wall lengthWall blocksCapsGravel
10 ft5982.4 t
20 ft111164.8 t
30 ft170247.2 t
50 ft2804012 t
75 ft4196018 t
Advertisement

Example: a 30 ft garden wall

3 ft visible with 6 in. blocks: 1 buried course plus 6 visible courses and a cap, for 7 courses of 23 blocks: 170 wall blocks and 24 caps. Dig a 22 in. wide, 12 in. deep trench, and order about 7.2 tons of gravel for the base and drainage zone, 165 sq ft of fabric and 32 ft of drain pipe.

Choosing a block

  • Small garden blocks (≈4 in. tall): flower beds and borders up to about 2 ft.
  • Standard wall blocks (≈6 in. tall): most DIY walls from 2 to 3 ft.
  • Large wall blocks (≈8 in. tall, 12 in. deep): taller walls and those that need more weight; check the maker's maximum height without geogrid.

Building it right

  1. Call 811, then dig the trench and compact the native soil.
  2. Add the gravel pad in 2–3 in. lifts, compact each, and screed it level.
  3. Set the first course perfectly level; it controls the whole wall.
  4. Backfill with drainage gravel as you build each course, and lay the drain pipe at the base behind the blocks.
  5. Glue the caps with masonry adhesive and cap the gravel zone with soil.

Lots of runoff? Pair the wall with a French drain. Building a mortared wall instead? Use the concrete wall & block calculator.

Frequently asked questions

▸How many retaining wall blocks do I need?

Divide the wall length by the block's face length to get blocks per course, and the total wall height (including the buried course) by the block height to get courses. Multiply and add 5% for cuts. A 30 ft wall, 3 ft tall, with 6 × 16 in. blocks needs 7 courses of 23 blocks, about 170 blocks with waste, plus 24 caps.

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

Most block makers recommend burying about 1 in. for every 8 in. of wall height, with a minimum of about 6 in., and at least one full course. Taller walls and walls on slopes need more.

▸How much gravel do I need behind a retaining wall?

Plan a 6 in. compacted gravel base about 12 in. wider than the block, plus 12 in. of clean drainage gravel behind the wall for its full height. For a 30 ft, 3 ft wall that's about 5 cubic yards, or roughly 7 tons.

▸How tall can a retaining wall be without an engineer?

Under the IRC, retaining walls up to 4 ft measured from the bottom of the footing to the top are generally exempt from a permit, as long as they don't hold up a surcharge such as a driveway, slope or building. Taller walls usually need an engineered design and geogrid. Local rules can be stricter.

▸Do retaining walls need drainage?

Yes. Water pressure behind the wall is the most common reason walls bulge or collapse. Use clean gravel behind the blocks, a perforated drain pipe at the base that outlets downhill, and fabric between the gravel and the soil.

Last updated November 2026. Results are estimates for planning and budgeting. Footing sizes, depths and reinforcement must meet your local building code. Check with your building department, and use a licensed engineer for anything structural you're unsure about.