Retaining Wall Calculator
Estimate retaining wall blocks, cap blocks, courses, base gravel, drainage gravel, waste, and optional rough cost for block retaining wall projects.
This is a material takeoff tool, not a structural design tool. It does not check soil pressure, surcharge loads, sliding, bearing, geogrid, permits, or code requirements.
Results
This estimates materials for block retaining walls. It does not design structural retaining walls, check local code, or replace an engineer.
How to use this calculator
- 01Choose straight wall, curved wall, or known wall area mode.
- 02Enter the wall size, block face size, block depth, and cap block length.
- 03Enter base gravel and drainage/backfill gravel dimensions.
- 04Add waste for cuts, breakage, and layout changes.
- 05Open Add cost estimate only if you want rough material or labor cost rows.
For separate gravel volume checks, use the Cubic Yard Calculator. For broader gravel material planning, use the Gravel Calculator.
Understanding the math
The calculator finds wall face area, divides it by the visible face area of one block, then adds waste. It also estimates rows from wall height, caps from wall length, and gravel volumes from the entered layer dimensions.
wall_area = wall_length x wall_height block_face_area = block_face_length x block_face_height
blocks_before_waste = ceiling(wall_area / block_face_area) retaining_wall_blocks = ceiling(blocks_before_waste x (1 + waste_percent / 100)) courses = ceiling(wall_height / block_face_height) cap_blocks = ceiling(wall_length / cap_block_length)
base_gravel = wall_length x base_width x base_depth
backfill_gravel = wall_length x wall_height x backfill_width
Known wall area mode uses the entered face area and wall length. The calculator derives an average height from area divided by length so rows and backfill volume can still be estimated.
Retaining wall reference table
Use these active-unit examples as a quick check for block count, cap count, and gravel volume.
| Example | Result | Use |
|---|---|---|
| 20 ft x 3 ft wall | 60 sq ft face area | Length x height |
| 16 in x 8 in block face | 68 blocks before waste | For a 60 sq ft wall |
| 5% waste allowance | 72 retaining wall blocks | Round up to whole blocks |
| 16 in cap on 20 ft wall | 15 cap blocks | Wall length divided by cap length |
| 6 in base, 24 in wide | 0.74 cu yd | Base gravel for 20 ft wall |
| 12 in drainage zone | 2.22 cu yd | Backfill gravel behind 20 ft x 3 ft wall |
Frequently asked questions
How do I calculate how much retaining wall I need?
Measure wall length and height, calculate the wall face area, divide by the block face area, then add waste.
How many retaining wall blocks do I need?
Divide wall face area by the block face area, then add waste. Courses can also be checked from wall height divided by block height.
Does a 4 ft retaining wall need drainage?
Most retaining walls need drainage behind them. A 4 ft wall commonly needs proper drainage and may need local code or engineer review depending on site conditions.
Does a 2 foot retaining wall need a footing?
Small block retaining walls often use a compacted gravel base instead of a poured footing. Requirements depend on wall type, soil, slope, and local code.
Can I use this calculator with metric measurements?
Yes. Use the Imperial/Metric toggle. Inputs, results, reference values, and examples follow the active unit system.
Related calculators
Paver Calculator
Estimate paver count from project size, paver dimensions, joint spacing, waste, and optional cost.
Cubic Yard Calculator
Convert area and depth into cubic yards for gravel, soil, and other bulk material planning.
Gravel Calculator
Estimate gravel tons, cubic yards, and coverage for base and drainage material.