About this calculator
Segmental retaining wall blocks are sized and sold individually, and a wall's block count depends on both its length and its height - taller walls need more courses stacked on top of each other. This calculator works out the total block count and the gravel base volume beneath the first course.
How it's calculated
The number of courses (rows) is the wall height divided by the block's face height, rounded up. The number of blocks per course is the wall length divided by the block's face length, rounded up. Multiplying courses by blocks-per-course gives the total block count. A compacted gravel base, typically 6 inches deep and extending about 6 inches wider than the wall on each side, sits beneath the first course to provide drainage and a stable, level foundation.
Worked example
Frequently asked questions
How many blocks do I need for a 20 ft retaining wall?
A 20 ft long, 2 ft tall wall using standard 18" × 6" face blocks needs about 56 blocks across 4 courses (rows) - taller walls need proportionally more courses.
How deep should the base be for a retaining wall?
A compacted gravel base 6 inches deep is standard for most small to mid-size retaining walls, extending about 6 inches beyond the wall's footprint on the front and back for stability and drainage.
Do retaining walls need drainage?
Yes, almost always - a perforated drain pipe behind the wall at the base, wrapped in landscape fabric and surrounded by gravel, is standard practice to relieve hydrostatic pressure from water buildup behind the wall, which is the leading cause of retaining wall failure.
How tall can a retaining wall be without an engineer?
Most residential building codes allow unengineered segmental block walls up to about 3-4 feet tall; anything taller, or any wall holding back a slope with a driveway, structure, or significant surcharge load above it, typically requires engineered design and a permit - check local code.
Should retaining wall blocks be set back as they go up?
Yes - most segmental retaining wall systems use blocks with a built-in setback (often 3/4 inch to 1 inch per course) so the wall leans slightly back into the slope it's retaining, improving stability against the soil pressure behind it.
What's the difference between a retaining wall and a garden wall?
A retaining wall holds back a grade change (soil on one side is higher than the other) and bears lateral soil pressure; a garden or freestanding wall has the same grade on both sides and only needs to support its own weight, so it can often be built lighter.
How much does a retaining wall cost per square foot of wall face?
Material costs for segmental block retaining walls typically run $10-$25 per square foot of wall face depending on block style and wall height, before labor, excavation and drainage materials.