Retaining Wall Block Calculator

    A 20-foot retaining wall that's 3 feet tall needs roughly 270 standard blocks, 15 cap stones, and 1.2 tons of

    gravel
    . Enter your dimensions below for an exact material list.

    Works for all block sizes: small landscape blocks to large structural blocks.

    Wall Dimensions

    10% is standard

    Materials Needed

    Wall Blocks

    100

    6 rows × 15/row

    Calculators & Reference Tools

    Cap Blocks

    17

    top course

    Drainage Gravel

    3.8

    tons (2.7 cu yd)

    Filter Fabric

    100

    square feet

    Total weight: 4,500 lbs

    Before waste: 90 blocks

    Like this tool? Go Pro for unlimited calculations, no ads, and PDF exports.

    Learn More

    How to Use This Retaining Wall Calculator

    Ordering the wrong number of blocks means extra delivery fees or project delays. This calculator accounts for wall dimensions, block size, waste factor, and all supporting materials so you get a complete shopping list before visiting the supply yard.

    Building Materials & Supplies

    1. Enter the wall length. Measure the total run of the wall in feet. For curved walls, measure along the curve.
    2. Set the wall height. Measure from the top of the gravel base to the desired finished height. Include any buried course below grade.
    3. Select your block size. Standard landscape blocks (6×16) are most common. Larger blocks build height faster but weigh more and cost more per unit.
    4. Review the material list. You'll see blocks, cap stones, drainage gravel, and filter fabric quantities.

    Retaining Wall Block Formula

    The calculator uses this formula:

    Blocks = (Wall Length ÷ Block Length) × (Wall Height ÷ Block Height) × (1 + Waste%)

    Gravel Base and Backfill

    Every retaining wall needs a compacted gravel base (6 inches deep) and drainage gravel behind the wall (12 inches wide, full height). This calculator estimates both. Use ¾-inch crushed angular gravel—not round pea gravel, which doesn't compact properly.

    Cap Stones

    Cap stones (or coping blocks) finish the top of the wall. They're typically glued in place with landscape adhesive. The calculator estimates one cap per block width plus waste.

    Sample Calculations

    Wall LengthHeightBlock SizeBlocksCap BlocksGravel
    20 ft3 ftStandard (6×16)270151.2 tons
    40 ft3 ftStandard (6×16)540302.4 tons
    20 ft4 ftLarge (8×18)240141.8 tons
    50 ft2 ftSmall (4×12)600502.0 tons

    Common Retaining Wall Mistakes

    • Skipping the gravel base. Setting blocks directly on soil leads to settling and wall failure within 1-2 years. Always compact a 6-inch gravel base.
    • No drainage behind the wall. Hydrostatic pressure is the #1 cause of retaining wall failure. Install a perforated drain pipe and gravel backfill.
    • Building too high without engineering. Gravity walls over 4 feet need geogrid reinforcement. Taller walls require an engineer's stamp in most jurisdictions.
    • Not stepping the base on slopes. On sloped ground, step the base trench to keep each section level rather than angling the base.
    • Forgetting the buried course. Bury the first course at least halfway below finished grade for stability. This row does the most work holding the wall in place.
    • Using the wrong backfill. Don't backfill with native clay soil—it holds water. Use clean ¾-inch crushed stone for at least 12 inches behind the wall.

    Worked Example: 30-Foot Garden Wall

    Let's calculate materials for a typical garden retaining wall:

    Home Improvement

    • Wall length: 30 feet
    • Wall height: 2.5 feet (30 inches)
    • Block size: Standard 6″ × 16″ × 12″
    • Waste: 10%

    Step 1: Blocks per row = (30 × 12) ÷ 16 = 22.5 → 23 blocks per row

    Step 2: Number of rows = 30 ÷ 6 = 5 rows

    Step 3: Total blocks = 23 × 5 = 115 blocks

    Step 4: With 10% waste = 115 × 1.10 = 127 blocks

    Step 5: Cap stones = 23 + 3 waste = 26 cap blocks

    At $5-$8 per block, budget $635-$1,016 for blocks alone, plus $200-$400 for gravel, drainage pipe, fabric, and adhesive.

    Frequently Asked Questions

    How many
    retaining wall blocks
    do I need?

    Divide the wall length by the block length (in matching units) to get blocks per row, then multiply by the number of rows. A 20-foot wall that is 3 feet tall using standard 6″×16″ blocks needs about 15 blocks per row × 6 rows = 90 blocks per course, totaling roughly 270 blocks with waste.

    Plumbing Fixtures & Equipment

    Do I need a permit for a retaining wall?

    Most municipalities require a building permit for retaining walls over 4 feet tall (measured from the bottom of the footing to the top of the wall). Some jurisdictions set the limit at 3 feet. Always check local codes. Walls over 4 feet typically require engineered plans.

    How deep should
    gravel
    base be for a retaining wall?

    The gravel base should be 6 inches deep and extend 12 inches behind the wall. Use compactable gravel (¾-inch crushed stone). Compact in 3-inch lifts. The base should extend at least 2 inches beyond each side of the block for stability.

    How much does it cost to build a retaining wall?

    DIY retaining wall blocks cost $3-$15 each depending on size and style. A 20-foot × 3-foot wall costs roughly $800-$2,000 in materials (blocks, cap stones, gravel, fabric). Professional installation adds $15-$30 per square face foot.

    Do retaining walls need drainage?

    Yes. Without drainage, water pressure builds behind the wall and causes failure. Install a 4-inch perforated drain pipe behind the base course, surrounded by drainage gravel. Use filter fabric to prevent soil from clogging the gravel. Route drain pipe to daylight or a dry well.

    Construction & Maintenance

    What is the maximum height for a DIY retaining wall?

    Most block manufacturers recommend a maximum of 3-4 feet for gravity (non-reinforced) walls. Walls over 4 feet typically require geogrid reinforcement, engineered plans, and often a building permit. Some interlocking systems allow up to 6 feet without reinforcement if the setback is sufficient.

    Related Tools