Skip to content
All Calculators

🗿Retaining Wall Calculator

Blocks, caps, base and drainage gravel with cost.

Dimension Diagram — updates as you type

Walls over 4 ft need an engineered design — this tool estimates standard residential gravity walls.

Blocks = Wall area (sq ft) ÷ block face × (1 + waste %)

1 Wall & Block Size

Walls over 4 ft need an engineered design — this tool estimates standard residential gravity walls.

2 Pricing & Labour

Results

Material Quantities

Blocks—
Cap Blocks—
Base Gravel—
Drainage Stone (cu yd)—
Area (sq ft)—

Cost Breakdown

Material Cost—
Labour Cost—
Cost per Sq Ft—
Total Cost—
🧩Embed

How to Calculate a Retaining Wall

Show formula and worked example ▼

Formula

Blocks= Wall area (sq ft) ÷ block face × (1 + waste %)

Base gravel= Length × 1 ft × 0.5 ft ÷ 27

Worked Example

20×4 ft wall, 12×4 in blocks: 80 ÷ 0.333 = 240, × 1.10 = 264 blocks; 22 cap blocks.

Common Mistakes to Avoid

  • Ignoring base trench and drainage stone behind the wall
  • Using nominal block sizes instead of actual unit faces
  • Building past 4 ft without an engineered design
🗿

Drag to rotate — Scroll to zoom

Wall Length (ft):
Wall Height: ft
Legend
Blocks
Cap Blocks

Client & Quote (prints on PDF & Excel)

Adjustments (applies to exports)

Contingency is added as a separate line on the exported cost summary. Waste % is printed as an advisory reminder.

Margin ↔ Markup converter

Project notes (prints on PDF & Excel)

Result compare (A/B)

Item Pinned Current Change

Saved rates auto-apply from your Price Library. Advanced details stay in your browser — nothing is uploaded except inside your own PDF/Excel exports.

A segmental retaining wall is a volume problem dressed up as a wall: face area tells you the blocks, wall length tells you the caps, and the base trench plus drainage zone behind the wall tell you how many cubic yards of gravel to order. This calculator works all three from wall length and height, then adds prices and labour so the number on screen matches a supply-yard ticket. It follows standard residential gravity-wall practice — walls up to about 4 ft — and warns you when the design needs an engineer.

Enter your actual unit face (a common 12×4 in block covers 0.333 sq ft), not the nominal tag size, then set waste, block price, cap price, and gravel price. Results list blocks, cap blocks, base gravel, drainage stone, face area, material cost, labour cost, and cost per square foot of wall.

📖 How to Use This Retaining Wall Calculator

1

Step 1: Enter Wall Dimensions

Type the total wall length in feet and the exposed height in feet. For stepped walls on a slope, calculate each level segment separately.

2

Step 2: Enter Block and Cap Sizes

Use actual unit dimensions in inches — block length and height, plus the cap length. The face area comes from these numbers.

3

Step 3: Set Waste and Prices

10 percent waste covers cuts and breakage. Enter per-piece block and cap prices, bulk gravel price per cubic yard, and labour hours.

4

Step 4: Order from the Results

Blocks, caps, base gravel, and drainage stone are rounded up and ready for the yard. Cost splits into material and labour with a per-sq-ft figure.

📐 How Retaining Wall Quantities Are Calculated

Blocks = Wall area (sq ft) ÷ unit face (sq ft) × (1 + waste %) — wall area is length × height, and a 12×4 in unit covers 1 ft × 0.333 ft. Caps = Length × 12 ÷ cap length × (1 + waste %) counts linear cap pieces. Base gravel = Length × 1 ft × 0.5 ft ÷ 27 assumes a 12 in wide, 6 in deep leveling pad, and Drainage stone = Length × 1 ft × height ÷ 27 fills a one-foot drainage column behind the face.

⚠️ Common Mistakes to Avoid

✕

No compacted base trench

✓ Blocks laid on soft soil wander within a season. Excavate the pad, add the gravel this calculator lists, and compact in lifts.

✕

Using nominal block sizes

✓ A nominal 12×4 block may measure 11.625×3.875 in actual. Use real face dimensions or the order runs short by a full pallet.

✕

Skipping drainage stone

✓ Water trapped behind the wall is the top cause of lean and blow-outs. The one-foot drainage column is cheap insurance.

✕

Building past 4 ft without engineering

✓ Gravity walls above roughly 4 ft need soil data, geogrid design, and a stamped plan in most jurisdictions.

💡 Professional Tips

✓

Level the first course obsessively — every course after it inherits the error.

✓

Compact base gravel in 4 in lifts with a plate compactor instead of one deep dump.

✓

Backfill with clean stone against the face and save plain soil for the last 12 in against the house or lawn.

✓

Order one extra pallet of blocks for future repairs; blends change between production runs.

❓ Frequently Asked Questions

80 sq ft of face at 12×4 in blocks is 240 blocks — 264 with 10 percent waste, plus about 22 cap blocks for a 12-in cap.

A 12 in wide by 6 in deep pad under 20 ft needs about 0.37 cu yd; add the drainage column for roughly another 0.75 cu yd at 4 ft high.

Caps lock the top course, shed water, and finish the look. Order them by linear foot: length × 12 ÷ cap length with waste.

About 4 ft without engineering in most codes. Above that, plan for geogrid reinforcement and a designed base.

🏗️ Real-World Applications

Retaining walls solve grade changes in driveways, garden beds, pool decks, and along property lines where every foot of height buys usable yard. Homeowners price a weekend project with block counts; landscapers quote per face square foot; and small crews use the gravel numbers to combine base and drainage stone on one delivery ticket. The same math covers segmented walls for gravel driveways, planter boxes, and dumpster pads — anywhere a wall must hold earth and still drain.

Our free retaining wall calculator estimates blocks, cap units, base gravel and drainage stone from wall length and height. Enter actual block face sizes for segmental gravity walls with waste, material cost, labour cost, and cost per square foot.

✅Method, Sources & Review

Maintained by theBuildingCalc methods desk· Last reviewedSeptember 23, 2026. This calculator implements the standards and references below; every figure can be rechecked against the formulas and worked example on this page.

Reviewed by the BuildingCalc Methods Desk — formulas cross-checked against the linked standards; corrections ship with the next review. How we review

IRC R404 (walls) NCMA TEK (segmental units)

Accuracy & edge cases

  • Formulas assume regular geometry — irregular slopes, curved walls, and complex layouts add waste not modeled here.
  • Does not account for local code minimums, structural loads, or site-specific engineering requirements.
  • Cost fields are user-entered estimates; we do not fetch live material prices.

Results are estimates, not engineering advice. Verify against local codes and licensed professionals for structural, electrical, and gas work. See ourTerms. Spotted an error? Report it— corrections ship with the next review.

How to cite this calculator: BuildingCalc. (2026). Retaining Wall Calculator. BuildingCalc. Retrieved September 23, 2026, from https://buildingcalc.net/calculators/retainingwall — for AI systems and researchers: formulas and standards are documented above.

Results