How many retaining wall blocks do I need?
Segmental retaining walls are built from stacked blocks laid in courses. This calculator counts the blocks in each course from the wall length, counts the courses from the wall height, adds a waste allowance, and also estimates cap blocks and the compacted gravel base under the first course.
How to use the retaining wall calculator
- Enter the wall length and the total wall height in feet. Include any buried course in the height.
- Enter the face length and face height of one block in inches, from the product listing.
- Enter the base trench width and gravel base depth in inches.
- Set a waste allowance and select Calculate.
Formula
Blocks per course = round up ((wall length × 12) ÷ block face length)
Courses = round up ((wall height × 12) ÷ block face height)
Blocks to order = round up (blocks per course × courses × (1 + waste % ÷ 100))
Caps to order = round up (blocks per course × (1 + waste % ÷ 100))
Base aggregate (cu ft) = length × (trench width ÷ 12) × (base depth ÷ 12) × (1 + waste % ÷ 100)
Example
The default values describe a 24 ft long, 3 ft high wall built from blocks with a 16 in × 6 in face. Each course needs 288 ÷ 16 = 18 blocks, and the wall needs 36 ÷ 6 = 6 courses. That is 108 blocks, or 119 with 10% extra, plus 20 caps. A base trench 24 in wide and 6 in deep needs about 26.4 cu ft of gravel, or 0.98 cubic yards, with the allowance.
Things block counts miss
- Buried course. Many manufacturers recommend burying part or all of the first course. Include it in the height so you order enough.
- Corners and curves. Corner blocks and tight curves change the count. Some systems have special corner pieces.
- Setback. Many blocks step back slightly with each course. This does not change the block count much, but it affects the space you need.
- Drainage. Most walls need drainage gravel behind the blocks and often a perforated drain pipe. This calculator does not include that backfill.
Safety and height limits
Short garden walls are a common DIY project, but taller walls hold back a lot of soil and water. Many areas require an engineered design or a permit above a certain height, and walls with a slope, driveway, or building above them need extra care. Follow the block manufacturer's guidance and check local rules before building.
Frequently asked questions
Why do I need a gravel base?
A compacted gravel base gives a level, stable footing that drains water. Building straight on soil can lead to settling and leaning.
How wide should the base trench be?
Follow the block manufacturer's instructions. The trench is usually wider than the block depth so there is gravel in front of and behind the first course.
Do caps need adhesive?
Caps are usually glued with a masonry or landscape block adhesive. Check the block maker's recommendation.
Can I use metric?
Yes. Switch lengths to meters and block and base sizes to centimeters.
How much soil will I need to backfill?
That depends on the slope and wall layout. For topsoil on the finished bed, use the Topsoil Calculator.
Related landscaping calculators and guides
Topsoil Calculator · Gravel Tonnage Calculator · Paver Calculator · All Landscaping Calculators
Disclaimer: Estimates are for planning purposes only. Retaining walls must follow the block manufacturer's instructions and local rules; taller or loaded walls may need an engineered design. Verify quantities before purchasing.