How to use the retaining wall calculator
- Enter the Wall length along the ground.
- Enter the Wall height above ground. One buried course is added for you.
- Choose the Block size by its face, as listed on the block.
- Choose whether to add a row of Cap blocks, and set the Extra for cuts & breakage.
- Optionally add prices per block, per cap and per ton of gravel.
How it works
Segmental wall blocks stack without mortar. The first course sits in a trench on a compacted gravel base, about 24 in wide and 6 in deep, and is buried so the wall cannot slide.
Behind the wall, a 12 in zone of clean crushed stone with a perforated drain pipe at the bottom lets water out so it cannot push on the wall. Crushed stone weighs about 1.4 tons per cubic yard.
Courses = exposed height ÷ block height, rounded up, + 1 buried course
Blocks = courses × (wall length ÷ block length, rounded up) × (1 + extra %)
Caps = wall length ÷ block length, rounded up
Gravel (yd³) = (length × 2 ft × 0.5 ft + length × 1 ft × (height + one block)) ÷ 27
Worked example
A wall 20 ft long and 2 ft high in 6 × 16 in blocks has 4 exposed courses plus 1 buried, with 15 blocks per course: 75 blocks, or 79 with 5% extra, plus 15 caps.
The base is 20 × 2 × 0.5 = 20 ft³ and the drainage zone is 20 × 1 × 2.5 = 50 ft³, so 70 ft³ = 2.59 yd³, or about 3.63 tons of gravel.
Tips before you buy
- Get the first course level and straight; every course above follows it.
- Glue caps down with landscape block adhesive.
- Call 811 before you dig to have buried utility lines marked.
- Walls over about 4 ft, or walls holding up a driveway, slope or building, usually need geogrid, an engineer and a permit.
Frequently asked questions
How many retaining wall blocks do I need?
Divide the wall length by the block length to get blocks per course, then multiply by the number of courses, counting one buried course. A 20 ft wall 2 ft high in 6 × 16 in blocks takes 79 blocks with 5% extra.
How much of a retaining wall should be buried?
A common rule is one full course, or about 1 in for every 8 in of wall height, whichever is more. Check your block maker’s instructions.
How much gravel do I need for a retaining wall?
Plan for a base about 24 in wide and 6 in deep, plus 12 in of drainage stone behind the wall for its full height. That is about 3.6 tons for a 20 ft wall 2 ft high.
How tall can I build a retaining wall myself?
Many block makers and towns allow gravity walls up to about 3 to 4 ft without engineering. Taller walls usually need geogrid reinforcement, a design and a permit.
Results are estimates based on the measurements you enter and typical material properties, and costs are planning estimates: actual costs vary. Products vary, so check quantities with your supplier and follow product labels and your local building codes. Read the full disclaimer. Last reviewed October 9, 2026.