The retaining wall calculator works out the materials for a segmental block retaining wall, the kind built from stackable concrete wall blocks. Enter the wall’s length and its height above the ground, and the length, height and depth of your blocks. It works out how deep to bury the first course, how many rows and blocks you need, the cap blocks for the top, the size of the trench, and the gravel for the leveling pad and the drainage behind the wall. For example, a 20 ft wall 2 ft high built from 12 × 4 inch blocks needs 168 blocks with 5% extra and 20 caps.
How the retaining wall calculator works
It follows Nicolock’s installation instructions for a gravity wall:
- Buried course: bury the first course to a depth equal to 10% of the wall height, or at least 6 inches, whichever is greater.
- Rows = (height above ground + buried depth) ÷ block height, rounded up.
- Blocks per row = wall length ÷ block length, rounded up.
- Leveling pad: a trench reaching at least 6 inches in front of and behind the block, with a 6-inch compacted pad of clean aggregate.
- Drainage: 12 inches of drainage aggregate behind the wall, the full height.
How to use the retaining wall calculator
- Choose US or metric units.
- Enter the wall length and its height above ground.
- Enter the block size from the product label: length and height of the face, and depth from front to back.
- Set the waste allowance (5% if blank) for broken and cut blocks, and the price per block if you want the cost.
Worked example
A garden wall 20 ft long and 2 ft (24 inches) high, using blocks 12 inches long, 4 inches high and 8 inches deep:
- Buried course: 10% of 24 inches is 2.4 inches, less than 6, so bury 6 inches.
- Total height: 24 + 6 = 30 inches, or 8 rows of 4-inch blocks.
- Blocks per row: 240 ÷ 12 = 20, so 160 blocks, or 168 with 5% extra.
- Caps: 20.
- Trench: 8 + 6 + 6 = 20 inches wide and 12 inches deep (6-inch pad plus the buried course).
- Leveling pad: about 0.62 cubic yards; drainage stone: about 1.98 cubic yards.
When a wall needs more than blocks
Nicolock says walls up to 3 feet high can usually be built as a gravity wall without soil reinforcement under favorable soil conditions. Taller walls need geogrid, a mesh laid between courses and into the soil behind, and Nicolock notes that walls higher than 36 inches, terraced walls, weak soils and walls carrying loads such as driveways need to be designed by a qualified engineer. The calculator warns you when your wall reaches 3 feet. Check with your local building department too: many towns require a permit and an engineer’s design for taller walls.
Drainage matters most
Water trapped behind a wall pushes on it and is the most common reason retaining walls lean or fail. Nicolock’s method lines the trench and the cut slope with filter fabric, places a perforated drain pipe behind the wall on top of the base, and fills the block cores and the drainage zone with clean aggregate. Clean stone lets water flow down to the pipe instead of building up pressure, and the fabric keeps soil from clogging it.
Building tips
- Get the first course right. Level each block side to side and front to back; every course above depends on it.
- Stagger the joints in a running bond, so no joint lines up with the one below.
- Backfill as you go, adding clean aggregate behind each course and compacting it.
- Glue the caps with a masonry adhesive to finish the wall.
Curves and corners
The calculator assumes a straight wall. Curved walls use about the same number of blocks for the same length measured along the face. Corners and steps use special corner blocks or cut blocks, so add a few extra blocks, or raise the waste allowance, for each corner and step.
Choosing wall blocks
Retaining wall blocks come in many sizes and styles. Smaller blocks are easier to lift and suit low garden and planter walls, while larger, heavier blocks are made for taller walls. Many blocks have a lip or pins at the back that set each course slightly behind the one below, so the wall leans back into the slope. Read the block maker’s instructions for the setback and the maximum height without reinforcement, as they vary by product.
Metric units
In metric mode, enter the wall length and height in meters and the block sizes in centimeters. The calculator gives trench sizes in centimeters and gravel in cubic meters. The buried depth still follows the same rule: 10% of the wall height, or at least 15 cm.
Before you dig
Nicolock reminds builders to make sure there are no utility lines in the wall area before excavating, so call 811 a few days ahead to have them marked. Plan where water will go, too: a wall across a slope collects runoff, and the drain pipe behind it needs an outlet at the end of the wall or into a lower part of the yard.
Price the base and drainage stone with the gravel calculator, a concrete footing with the concrete calculator, or pavers for a patio beside the wall with the paver calculator.
What next
Use this often? Add Retaining Wa to your Home screen.
Frequently asked questions
How does the retaining wall calculator work out blocks?
It adds the buried course to the wall height, divides by the block height for the rows, divides the length by the block length for blocks per row, and adds waste.
How deep should the first row of a retaining wall be buried?
Nicolock says to bury the first course 10% of the wall height or at least 6 inches, whichever is greater.
How tall can a block retaining wall be without geogrid?
Nicolock says walls up to 3 feet can usually be built without soil reinforcement in favorable soil; taller walls need geogrid and engineering.
How much gravel goes behind a retaining wall?
Nicolock’s method uses 12 inches of drainage aggregate behind the wall, plus a 6-inch compacted leveling pad under it.
Was this tool helpful?
What went wrong?
We only receive the reason you pick, never what you typed into the tool.
Thanks for your feedback.