Skip to content
Gardenly3D

Retaining Wall Calculator

Enter your wall dimensions and block type to estimate the number of blocks, capstones, gravel backfill, and drainage material you need for your retaining wall project.

Calculate Your Retaining Wall

ft
ft

Selected block:8" H × 12" W × 16" L

Wall Cross-Section

Courses (Rows)

—

—

Wall Blocks

—

includes 5% waste

Cap Blocks

—

top course finish

Gravel Backfill (incl. drainage)

—

—

Wall Face Area

—

How to Calculate Retaining Wall Materials

  1. 1

    Measure wall length and height

    Use a tape measure to find the total length of the wall in feet. Measure the desired finished height from the ground to the top of the wall. Remember that the first course should be buried for stability.

  2. 2

    Choose your block type

    Select the block style that fits your design and budget. Standard blocks are the most versatile, large format blocks create a modern look, stackable blocks are easiest for self-build, and keystone blocks offer the strongest interlocking system.

  3. 3

    Review your material estimates

    The calculator shows wall blocks, cap blocks, and gravel quantities. Add 5% extra for cuts and waste. Cap blocks run along the top course to provide a finished look and prevent water infiltration.

  4. 4

    Plan for drainage

    Every retaining wall needs drainage behind it to prevent hydrostatic pressure buildup. Budget for gravel backfill at least 12 inches wide behind the wall and a perforated drain pipe at the base.

Pro Tips

  • Bury the first course of blocks at least 1 inch per 8 inches of total wall height — a 24-inch wall needs the base buried 3 inches below grade.
  • Backfill behind the wall with at least 12 inches of clean gravel to ensure proper drainage and reduce hydrostatic pressure.
  • Install a perforated drain pipe at the base of the wall, wrapped in landscape fabric, to direct water away from the foundation.
  • For walls over 3 feet tall, step each course back 1/4 to 3/4 inch (called a setback or batter) to lean the wall into the hillside for added stability.
  • Walls over 4 feet tall typically require a licensed engineer's design, permits, and possibly geogrid reinforcement — check your local building codes.
  • Use geogrid fabric between every 2-3 courses for walls over 3 feet to anchor the wall into the soil behind it and greatly increase strength.

Frequently Asked Questions

How many blocks do I need for a retaining wall?
The number of blocks depends on your wall length, height, and block size. For example, a 20-foot-long, 2-foot-high wall using standard 8×16-inch blocks needs about 3 courses of 15 blocks each — roughly 48 blocks including 5% waste. Our calculator estimates this for you in seconds — treat the figures as a planning guide and confirm final quantities with your supplier.
Does a retaining wall need drainage?
Yes — drainage is the single most important factor in retaining wall longevity. Without proper drainage, water builds up behind the wall creating hydrostatic pressure that can push the wall over. Always install gravel backfill and a perforated drain pipe at the base.
How deep should I bury the first course of a retaining wall?
Bury the first course at least 1 inch for every 8 inches of total wall height. A 24-inch wall needs 3 inches buried, a 48-inch wall needs 6 inches. This buried course (called the footing course) provides a stable foundation that prevents the wall from sliding forward.
What is the maximum height for a retaining wall without an engineer?
Most building codes allow retaining walls up to 4 feet (48 inches) without an engineer's design or building permit. Walls over 4 feet almost always require engineered plans, permits, and inspections. Check your local codes — some jurisdictions set the limit at 3 feet.
Do I need cap blocks on a retaining wall?
Cap blocks are strongly recommended. They provide a smooth, finished top edge, prevent water from seeping into the hollow cores of wall blocks, and add weight to the top course for stability. Cap blocks are typically glued down with construction adhesive.

Results are approximate and intended for planning purposes only. Material densities, coverage rates, and quantities are estimates that may vary based on actual conditions, product specifications, and installation methods. Always consult a professional for final specifications.