1. Home
  2. Landscaping Calculators
  3. Retaining Wall Calculator

Retaining Wall Calculator

Estimate blocks, caps, gravel base and drainage stone for a segmental retaining wall. Enter wall length, height and block size to plan your materials.

How to Use the Retaining Wall Calculator

  1. Enter the wall length and the exposed height above the finished ground.
  2. Pick the block face size from the product sheet, or enter a custom size.
  3. Choose how many courses go below grade; many installers bury at least one.
  4. Enter the cap length and a price per block for cost.

Retaining Wall Formulas

Courses = Exposed height ÷ Block height (rounded up) + Buried coursesBlocks per course = Wall length ÷ Block length (rounded up)
Blocks = Courses × Blocks per course × (1 + Waste)Caps = Wall length ÷ Cap length

Example: A 30 ft Garden Wall, 3 ft High

Block: 16 × 6 in face, 1 buried course

Courses: 36 ÷ 6 = 6, plus 1 buried = 7 · Per course: 360 ÷ 16 = 23

Blocks: 7 × 23 = 161, or 170 with 5% waste, plus 23 caps

Stone: about 1.6 tons for the base and 5.4 tons of drainage stone

What Goes Into a Retaining Wall

PartTypical spec
Leveling baseCompacted crushed stone, often about 6 in deep and 24 in wide
Buried first courseOften one course, or about 10% of wall height
Drainage zoneClean stone, about 12 in wide behind the wall
Drain pipePerforated pipe at the base, outlet to daylight
CapsGlued to the top course with masonry adhesive
GeogridNeeded for taller walls; spacing per the block maker

When You Need More Than a DIY Wall

  • Many block makers and local codes set height limits for walls built without geogrid or engineering.
  • Walls that hold back a slope, a driveway or a building add load and need more design.
  • Permits are often required above a set height; check with your local building department.
  • If in doubt, use the block maker's design charts or hire an engineer.

Tips for Building It Right

  • Get the first course perfectly level; every course above follows it.
  • Backfill and compact in thin layers as you build.
  • Order base and drainage stone with the crushed stone calculator.
  • Plan the patio above or below with the paver calculator.

Retaining Wall Calculator FAQs

How many retaining wall blocks do I need?

Divide the wall height by the block height and round up, add any buried courses, then multiply by the wall length divided by the block length. Add about 5% for cuts.

How much gravel do I need behind a retaining wall?

A common approach is a drainage zone about 12 inches wide for the full height of the wall. For a 30 ft wall with 3.5 ft total height, that is about 3.9 cubic yards, or about 5.4 tons.

How deep should a retaining wall base be?

Many block makers call for a compacted crushed stone base about 6 inches deep and 24 inches wide, with the first course buried below grade. Follow the product guide.

How tall can I build a retaining wall without an engineer?

It depends on the block system and your local code. Many areas require a permit or engineering for taller walls, especially those holding back slopes or loads.