Retaining wall calculator

Enter the wall length and height, set the block size — get block and cap counts, the compacted gravel base, the drainage backfill and the drain pipe.

Units
📐 You need

For garden walls up to about 3–4 ft. Taller walls need engineering — surcharge loads and soil push grow fast.

Frequently asked questions

How deep should the base be for a retaining wall?
Dig a trench and place 4–6 in of compacted crushed gravel under the first course, and bury the first course about 10% of the wall height (minimum one block). A level, compacted base is 90% of a straight wall.
Does a retaining wall need drainage?
Yes — water pressure behind the wall is what topples it. Put 12 in of clean crushed gravel behind the blocks, a perforated drain pipe at the base sloped to daylight, and geotextile between gravel and soil.
How high can I build without an engineer?
Most block systems allow 3–4 ft (0.9–1.2 m) unreinforced with a level backfill. Above that, or with a slope or driveway pushing on the wall, you need geogrid reinforcement and an engineered design — local codes often require a permit past 4 ft.
What is the setback or batter of a retaining wall?
Segmental blocks step back into the slope, typically ¾–1 in per course, via a rear lip or pins. This lean plus the buried first course is what lets a dry-stacked wall resist soil pressure.

More calculators

🔩 Rebar calculator
Free rebar calculator: total bar length and weight for a slab by size and spacing, sto…
🪣 Floor screed calculator
Free floor screed calculator: volume by area and thickness, cement and sand for site m…
🧩 Paver calculator
Free paver calculator: how many pavers for a patio or driveway, gravel base dept…
🧣 Insulation calculator
Free insulation calculator: area and volume of mineral wool, EPS or XPS, achieved R-va…
🪜 Stair calculator
Free stair calculator: number of steps, riser height and tread depth from total rise,…
🚧 Fence calculator
Free fence calculator: posts by spacing, rails, boards or panels, screws and concrete f…
🪵 Flooring calculator
Free flooring calculator: boxes of laminate, vinyl plank or hardwood by room size and…
🏠 Roofing calculator
Free roofing calculator: roof area from footprint and pitch, squares, shingle bundles,…
🪨 Gravel calculator
Free gravel calculator: cubic yards or m³ and tons of crushed stone, pea gravel, sand,…
🏗️ Concrete calculator
Free concrete calculator: get cubic yards or m³, number of premix bags (40/60/80…
🧱 Brick & block calculator
Free brick and block calculator: bricks per wall with mortar joints, openings su…
🎨 Paint calculator
Free paint calculator: liters or gallons for walls and rooms, openings subtracte…
🟦 Tile calculator
Free tile calculator: number of tiles for floor or wall, thinset mortar bags by …
🪣 Plaster & render calculator
Free plaster and render calculator: cement render, gypsum plaster or skim coat b…
📐 Drywall calculator
Free drywall calculator: 4×8 or 4×12 sheets for walls, studs by spacing, screws,…
🪵 Decking calculator
Free decking calculator: number of deck boards by width and gap, joists by spaci…
🎀 Wallpaper calculator
Free wallpaper calculator: rolls by room perimeter and height, pattern repeat in…
🛠️ Calculators
Work out how much material you actually need — including waste, overlaps and rea…