Retaining Wall Calculator

Blocks Needed

Cap Stones

Backfill Gravel (tons)

Estimated Material Cost

Understanding Retaining Wall Types and When to Use Each

A retaining wall holds back soil on a slope, creating usable flat space and preventing erosion. The three most common types for residential projects are gravity walls, cantilever walls, and segmental retaining walls (SRW). Each type handles different heights, soil conditions, and loading scenarios, so choosing the right one before ordering materials prevents costly mid-project changes.

Gravity walls rely on their own weight to resist the lateral pressure of the soil behind them. They work best for walls under 4 feet tall and are built from stacked concrete blocks, natural stone, or even gabion baskets filled with rock. No mortar or reinforcement is needed for most gravity walls under 3 feet, making them the most popular choice for DIY landscaping projects. The blocks typically weigh 30 to 80 pounds each, and the wall leans slightly backward (called batter) at a rate of about 1 inch per foot of height to counteract soil pressure.

Cantilever retaining walls are engineered structures made of reinforced concrete with an L-shaped or inverted-T footing. The footing extends behind the wall into the retained soil, using the weight of the soil above the footing to resist overturning. Cantilever walls handle heights from 4 to 25 feet and are required when supporting significant loads such as driveways, parking areas, or buildings near the wall top. These walls require structural engineering, building permits, and professional construction with properly placed rebar, expansion joints every 20 to 30 feet, and weep holes for drainage.

Segmental Retaining Walls and Geogrid Reinforcement

Segmental retaining walls use manufactured interlocking concrete blocks that stack without mortar. For walls over 3 to 4 feet, horizontal layers of geogrid (a high-strength polymer mesh) are placed between block courses and extend back into the compacted backfill soil. The geogrid creates a reinforced soil mass that acts as a gravity structure much larger than the visible wall face. Standard geogrid layers are placed every 2 to 3 courses (12 to 18 inches of wall height) and extend into the soil at least 60% of the total wall height. A 6-foot wall, for example, needs geogrid layers extending at least 3.6 feet behind the wall face.

The choice of block affects both aesthetics and structural performance. Standard retaining wall blocks measure 16 inches long by 6 inches high by 12 inches deep and weigh approximately 40 to 80 pounds. Larger blocks (18 x 6 x 12 inches) reduce installation time but are heavier to handle. Most blocks have a built-in lip or pin system that creates automatic setback (batter), typically 0.75 to 1 inch per course. This setback is important: it shifts each course slightly behind the one below, directing the wall's center of gravity into the retained soil for greater stability.

Backfill, Drainage, and the Most Common Failure Point

Poor drainage is the single most common cause of retaining wall failure. Water-saturated soil behind a wall can double or triple the lateral pressure the wall must resist. Proper drainage requires three components: a drainage aggregate zone behind the wall (typically 12 inches of clean crushed gravel), a perforated drain pipe (4-inch minimum) at the base of the wall running to a daylight outlet, and filter fabric between the native soil and the gravel to prevent fine particles from clogging the drainage zone. The gravel backfill zone should extend from the base of the wall to within 6 inches of the top, where a cap of compacted native soil or clay prevents surface water from entering the drainage zone directly.

The base preparation is equally critical. Excavate a trench at least 6 inches deep and twice the block depth wide. Fill with 6 inches of compacted crushed gravel (not round stone, which shifts under load). The first course of blocks should sit approximately 1 inch below finished grade for every 8 inches of wall height -- a 3-foot wall should have its first course buried about 4.5 inches. Use a plate compactor to compact the gravel base to at least 95% standard Proctor density. Level the first course carefully, as any errors compound with each additional course.

Material Quantities and Cost Estimation

This calculator estimates blocks needed by dividing the wall face area by the face area of a single block and adding 10% for cuts and waste. Cap stones run along the top of the wall and are calculated as wall length divided by cap stone length. Backfill gravel volume depends on the drainage zone depth (typically 12 inches behind the wall) multiplied by the wall length and height, converted to tons at approximately 1.4 tons per cubic yard. At typical 2025 pricing, concrete retaining wall blocks cost $3 to $6 each, cap stones $4 to $8 each, drainage gravel $30 to $50 per ton delivered, and filter fabric $0.25 to $0.50 per square foot.

Beyond the basic materials, budget for additional items: landscape adhesive for securing cap stones ($5 to $8 per tube, one tube per 10 to 15 linear feet), a 4-inch perforated drain pipe ($0.50 to $1.00 per linear foot), filter fabric ($30 to $60 per 100 square foot roll), and base gravel for the foundation trench. For walls over 4 feet, add the cost of geogrid reinforcement ($0.50 to $1.50 per square foot) and additional backfill gravel for the extended reinforcement zone. Professional installation adds $15 to $35 per square foot of wall face for labor alone.

Setback Rules and Surcharge Considerations

Setback refers to the horizontal distance between the retaining wall face and any structure, fence, vehicle traffic, or property line above it. Most building codes require that structures be set back from the top of a retaining wall at least equal to the wall height. A 4-foot retaining wall, for example, should have at least 4 feet of level ground before any building foundation. Vehicle traffic (driveways, parking) creates a surcharge load that increases the lateral pressure on the wall significantly. Walls supporting driveways typically need to be engineered for an additional 250 pounds per square foot of surcharge. Without accounting for surcharge, a wall that works perfectly for a garden terrace will lean and eventually fail under driveway loads.

Terracing is a practical alternative when you need to retain a large elevation change. Instead of building one tall wall, construct two or more shorter walls with level areas between them. Each wall should be set back from the one below by at least twice the height of the lower wall. Terracing reduces the engineering requirements, keeps each wall within the DIY-friendly height range (under 4 feet), and creates usable planting areas between levels. A 6-foot grade change, for example, can be handled with two 3-foot walls spaced 6 feet apart rather than one 6-foot engineered wall.

This calculator is for informational purposes only and does not constitute financial, tax, or legal advice. Always consult a qualified professional for decisions specific to your situation.

Frequently Asked Questions

How many blocks do I need for a retaining wall?

Multiply the wall length (in inches) divided by the block length to get blocks per row, then multiply by the number of rows (wall height in inches divided by block height). Add 10% for cuts and waste. A 30-foot wall that is 3 feet high using standard 16x6 inch blocks needs approximately 135 blocks plus cap stones.

Do I need a permit for a retaining wall?

Most jurisdictions 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 areas set the threshold at 3 feet. Walls near property lines, public right-of-ways, or that support surcharges (driveways, structures) may require engineered plans regardless of height. Always check with your local building department before construction.

What is the best type of retaining wall for my project?

Gravity walls (stacked block or stone) work well for walls under 4 feet and are the most DIY-friendly. Cantilever walls use reinforced concrete with a footing and are suitable for heights of 4 to 25 feet but require engineering. Segmental retaining walls (SRW) use interlocking concrete blocks with geogrid reinforcement for walls over 4 feet. For residential landscaping under 4 feet, segmental block walls offer the best combination of appearance, cost, and ease of construction.

How much does it cost to build a retaining wall?

DIY retaining wall costs range from $10 to $25 per square foot of wall face for materials alone, depending on the block or stone chosen. Professional installation typically runs $25 to $60 per square foot including materials, labor, drainage, and backfill. A 30-foot long, 3-foot high wall (90 square feet of face) costs roughly $900 to $2,250 for DIY materials or $2,250 to $5,400 professionally installed.

What causes retaining walls to fail?

Poor drainage is the number one cause of retaining wall failure. Water-saturated soil can double or triple the lateral pressure against the wall, causing it to lean, crack, or collapse. Other common causes include inadequate base preparation, insufficient burial depth for the first course, missing or improperly installed geogrid reinforcement on walls over 4 feet, and building on uncompacted fill soil. Always include a drainage gravel zone and perforated drain pipe behind the wall.

Can I build a retaining wall next to my property line?

Most jurisdictions require setbacks from property lines for retaining walls, typically 1 to 5 feet depending on local building codes. Additionally, the geogrid reinforcement zone extends several feet behind the wall face into the retained soil, which may encroach on neighboring property. Check with your local building department for setback requirements and consider a property survey before starting construction to avoid disputes.

Related Calculators