BuildingRetaining Wall Calculator

Retaining Wall Block Calculator

How many retaining wall blocks do you need? Enter your wall length and height to get an exact block count, cap quantity, base gravel volume, and material cost estimate — no guesswork, no wasted trips to the store.

Wall Dimensions

Ready to calculate

Enter your wall dimensions

Last updated March 31, 2026 by our expert review team

Block Size Reference

3

per sq ft

12" ×

$3/block

2

per sq ft

12" ×

$4.5/block

1.33

per sq ft

18" ×

$6.5/block

1

per sq ft

18" ×

$8/block

Expert Contributors

EG
Creator
Ehsan Ghazanfari
Licensed Structural Engineer
RW
Expert Review
Ruth Wairimu
Landscape Architect

Pro Tips

1

Set back each course 1/4" to 1" for stability. Most manufactured blocks have a built-in lip for automatic setback; natural stone walls need manual battering.

2

Install a 4" perforated drain pipe behind the first course, wrapped in filter fabric and surrounded by 12" of clean 3/4" drainage gravel. Non-negotiable for any wall over 2 feet.

3

Compact base gravel in 2" lifts with a plate compactor until you can't leave a footprint. Hand tamping alone won't reach the 95% Proctor density needed to prevent settling. Use crusher run for the best compaction results.

4

Stagger vertical joints by at least 4 inches between courses. Running joints weaken the wall and create a visible zipper line that telegraphs movement.

5

Bury the first course 1 inch below grade for every 8 inches of wall height. A 4-foot wall should have its bottom course 6 inches underground. Use our paver base calculator to estimate base material.

6

Check with your building department before breaking ground. Walls over 4 feet typically require engineered drawings per NCMA standards, and walls near property lines may have setback requirements.

7

For block retaining walls, our concrete block calculator estimates CMU blocks, mortar, and rebar quantities.

How the Calculator Works

The calculator determines how many blocks you need by dividing your total wall face area (length x height) by the face area of your chosen block size. The base gravel depth adjusts automatically for wall height (6" for short walls, 8" for walls over 3 feet), drainage gravel assumes the industry-standard 12" backfill zone, and cap blocks are calculated based on wall length divided by block length. The waste percentage varies by wall type because curved walls and corners require more cuts.

Formula

Blocks = (Wall Length × Wall Height) ÷ Block Face Area

Caps = Wall Length × (12 ÷ Block Length)

Base Gravel = Length × Width × Depth ÷ 27

Quick Reference

Base depth
6-8"
Setback/course
1/4" - 1"
Drainage width
12"
Permit threshold
4 ft height
Waste factor
10-18%

Frequently Asked Questions About Retaining Walls

How many blocks do I need per square foot?

Standard 12x4" blocks need about 3 per sq ft. Larger 18x6" blocks need 1.33 per sq ft. Add 10 to 18% for waste.

Do I need a permit to build a retaining wall?

Most areas require permits for walls over 4 feet. Some drop to 3 feet near property lines. Call your building department first.

How deep should the base be?

6 inches for walls under 3 feet, 8 to 12 inches for taller walls. Use compacted 3/4" crushed stone, not round river rock.

Do all retaining walls need drainage?

Yes. Hydrostatic pressure is the #1 cause of wall failure. Backfill with 12" of gravel and add a perforated pipe for walls over 2 feet. See our paver base calculator for gravel estimates.

When do I need an engineer?

For walls over 4 feet, slopes steeper than 3:1, walls supporting structures, or clay-heavy soil. Engineering costs $500 to $2,000.

How much does a retaining wall cost?

DIY materials run $12 to $25 per sq ft. Professional installation adds $20 to $40/sq ft for labor.

What blocks should I use?

Under 3 feet: standard 12x4" blocks ($3 to $4 each). 3 to 4 feet: 18x6" blocks for more mass. Over 4 feet: engineered systems with geogrid.

Retaining Wall Estimates for Common Projects

🌿

Garden Terrace Wall (15ft × 2ft)

~90 blocks · 0.4 cu yd gravel · $420-550

Simple gravity wall. No engineering or geogrid needed. Standard 12×4" blocks work fine. Great weekend project.

🚗

Driveway Retaining Wall (30ft × 4ft)

~360 blocks · 2.1 cu yd gravel · $2,200-3,100

At the engineering threshold. Check your local code. Use 18×6" blocks for extra mass, and add geogrid at courses 2 and 5 on clay soil.

⛰️

Hillside Tiered Wall (40ft × 6ft total)

~640 blocks · 4.5 cu yd gravel · $5,500-7,800

Split into two 3-foot tiers with 3-4 feet of setback between them. This keeps each wall under the permit threshold in many areas and improves drainage between tiers.

Retaining Wall Mistakes That Cost You Money

Skipping the drainage layer

Hydrostatic pressure from trapped water can push the wall outward and topple it. A 12" gravel backfill zone with a perforated drain pipe is required on every wall.

Insufficient base preparation

A poorly compacted base is the #1 cause of settling. Use angular crushed stone, compact in 2-inch lifts, and you should not be able to leave a boot print.

Building too tall without engineering

Gravity walls over 4 feet need geogrid reinforcement every 2 to 3 courses. Without it, soil pressure will eventually push the wall over.

Wrong batter angle

Walls should lean into the hillside. Most block systems use a built-in lip setback of 1/4" to 1" per course. Any forward lean accelerates toward failure.

Ignoring the surcharge zone

Cars, hot tubs, or structures within a distance equal to wall height can double the force on your wall. Add geogrid or consult an engineer.

No cap block adhesive

Loose caps shift with freeze-thaw cycles within the first year. Use concrete-rated adhesive (like Loctite PL 500) on every cap. One tube covers about 10 caps.

Important Disclaimer

These estimates are for planning purposes only. Actual costs vary by location, material availability, and project complexity. Always get at least 3 local quotes. This calculator does not replace professional advice.