Skip to main content
BBuildCalcs

Retaining Wall Block Calculator

This retaining wall block calculator estimates segmental wall blocks, courses, optional buried base course, cap blocks, and clean drainage gravel backfill in yards and tons.

Published: Updated: By Abubaker Chughtai (Software Engineer & Calculator Developer)
Enter Project Measurements
ft
Total linear length along the face of the retaining wall (including curves).
ft
Safety Note: Walls over 4 ft tall usually require a structural engineer and local building permit.
in
Common landscape block widths: 12 in (garden block), 16 in (medium SRW), or 18 in (commercial SRW).
in
Common course heights: 4 in (small garden block), 6 in (standard SRW), or 8 in (heavy SRW).
Manufacturers require burying at least 1 course (or 10% of wall height) below grade to prevent toe kick-out.
%
Add 5% for straight walls or 8%–10% for tight radius curves where side wings are knocked off.
$/block
12"×4" blocks run $2.25–$3.50; heavy 16"×6" or 18"×6" SRW blocks run $5.00–$8.50.
$/cap
3-inch-thick solid architectural cap blocks typically cost $3.50–$6.50 each.
Updates live as you type

Material Estimate

US Imperial
Total Retaining Wall Blocks Needed
133wall blocks
7 total courses (6 exposed + 1 buried) × 18 blocks/course (+5% waste)
Top Cap Blocks & Adhesive
19cap blocks
Plus ~2 × 10-oz tubes of exterior masonry polyurethane adhesive
Base Pad & Drainage Gravel Backfill
5.55 tons(3.97 yd³)
Covers 6"×18" base trench (18 ft³) + 12" clean #57 drainage zone (84 ft³)
Estimated Block & Cap Cost
$783.75
Total stacked height: 3.5 ft (check local code before building near slopes or driveways)

How to Use This Retaining Wall Block Calculator

  1. 1Measure the total horizontal Retaining Wall Length in feet along your planned layout curve or string line.
  2. 2Enter the Exposed Wall Height in feet from the lower lawn/patio grade to the top of the retained soil (before caps). Important safety check: walls exceeding 4 feet in total height (or supporting driveway surcharges) usually require a licensed structural engineer and a municipal building permit.
  3. 3Enter the exact Block Face Width and Block Face Height in inches from the manufacturer pallet tag (common sizes include 12"×4", 16"×6", and 18"×6").
  4. 4Leave Include 1 Buried Starter Course set to Yes so the bottom row locks below grade against sliding soil pressure.
  5. 5Review your total wall blocks, matching top cap blocks, adhesive tubes, and combined gravel tonnage for the 6-inch base pad plus 12-inch drainage zone.

Formula & Material Math

Segmental retaining walls (SRWs) are dry-stacked in horizontal courses without mortar, relying on block weight, rear shear lips or pins, a compacted crushed stone base, and free-draining angular gravel behind the wall to resist hydrostatic pressure.

Segmental Retaining Wall Base, Buried Course, and Drainage Backfill Cross-SectionCompacted Soil12" Clean#57 Stone6" × 18" Base PadLower GradeGlued CapWalls > 4 ft Total Height Usually Require an Engineer & Permit
SRW Cross-Section: 6" compacted road-base pad, 1 buried course, 12" washed #57 drainage stone, and 4" toe drain.
Segmental Retaining Wall Elevation Courses and Cap Block LayoutSolid Top Cap Row (Length ÷ Cap Width)Buried Starter Course Below GradeExposedStandard SRW Face Sizes: 12"×4", 16"×6", or 18"×6"
Wall Face Math: Blocks/Course = Length ÷ Block Width; Total Courses = Exposed Courses + 1 Buried Course.
1. Blocks per Course & Total Stacked Courses
Blocks per Course = CEILING[(Wall Length ft × 12) ÷ Block Width in]
Total Courses = CEILING[(Exposed Height ft × 12) ÷ Block Height in] + (1 if Buried Course)

Rounds fractional end blocks and fractional top height up to whole structural courses.

2. Total Wall Blocks & Cap Blocks (with Waste)
Wall Blocks = CEILING[Total Courses × Blocks per Course × (1 + Waste % ÷ 100)]
Cap Blocks = CEILING[(Wall Length ft × 12 ÷ Block Width in) × (1 + Waste % ÷ 100)]

Applies your cutting waste percentage separately to structural wall blocks and architectural top cap units.

3. Base Leveling Pad & 12-Inch Drainage Gravel Backfill
Base Pad (cu ft) = Length (ft) × 1.5 ft wide × 0.5 ft deep
Drainage Column (cu ft) = Length (ft) × 1.0 ft wide × Total Wall Height (ft)
Gravel Tons = [(Base + Drainage) × (1 + Waste %) ÷ 27] × 1.40 tons/yd³

Combines the 6"×18" base trench with a 12-inch-wide clean #57 crushed stone drainage column behind the blocks.

Example Calculation: 20 ft × 3 ft Exposed Terrace Retaining Wall (12" × 4" Garden Blocks)

Project Scenario: You are building a straight 20-foot-long retaining wall with 3.0 feet (36 inches) of exposed height using 12-inch-wide by 4-inch-tall bevelled garden wall blocks—comparing exact net exposed counts against adding 1 buried starter course and 5% waste.

Step 1: Calculate Blocks per Course & Exposed Courses
(20 ft × 12) ÷ 12 in = 20 blocks/course | 36 in ÷ 4 in = 9 courses
= 180 blocks net (exposed only) + 20 cap blocks
Step 2: Add 1 Buried Base Course (Total 10 Courses) & 5% Waste
CEILING(10 courses × 20 blocks × 1.05) | CEILING(20 caps × 1.05)
= 210 wall blocks + 21 cap blocks
Step 3: Estimate Base Pad + 12" Clean Gravel Drainage Zone
Base: 20 × 1.5 × 0.5 = 15 ft³ | Drain: 20 × 1.0 × 3.33 = 66.7 ft³
= 3.18 yd³ (4.45 US tons) gravel with 5% compaction allowance
Without a buried course or waste, 9 exposed courses × 20 blocks equals 180 blocks and 20 caps. Adding 1 buried starter course (recommended on every soil retaining wall) and 5% waste brings the order to 210 wall blocks, 21 cap blocks, 2 tubes of landscape adhesive, and ~4.5 tons of crushed stone.

Common Retaining Wall Block Sizes & Coverage per Square Foot

Standard segmental retaining wall (SRW) unit dimensions sold at home centers and masonry yards, showing net blocks per 100 sq ft of wall face.

Block Face Size (W × H)Typical Unit WeightFace Area per BlockBlocks per Sq FtMax Unreinforced DIY Height*
12" × 4" Garden Block22–26 lbs0.33 sq ft3.00 blocks/ft²2.0 to 2.5 ft
16" × 6" Medium SRW50–62 lbs0.67 sq ft1.50 blocks/ft²3.0 to 3.5 ft
18" × 6" Heavy SRW70–82 lbs0.75 sq ft1.33 blocks/ft²3.5 to 4.0 ft
18" × 8" Commercial SRW85–110 lbs1.00 sq ft1.00 block/ft²4.0 ft (geogrid above)

Safety & Permit Warning: Retaining Walls Over 4 Feet Tall

Important Structural Safety Note: Under the International Residential Code (ICC IRC Section R404.4) and almost all US city and county ordinances, retaining walls over 4 feet (48 inches) in total height measured from the bottom of the footing/buried course to the top of the wall—or walls of any height supporting a sloped hillside above, a driveway, a parked vehicle, a swimming pool, or a building foundation surcharge—require a building permit and stamped plans from a licensed structural or geotechnical engineer.

Wet clay soil behind a 5-foot wall exerts thousands of pounds of lateral overturning force per linear foot. Tall segmental walls require engineered layers of biaxial geogrid reinforcement mesh extending 4 to 8+ feet horizontally back into compacted soil lifts. Always call 811 before digging your base trench and verify your municipality’s exact height limit (some cities set the permit trigger at 3 feet exposed height) before ordering materials.

Retaining Wall Gravel Backfill: Why Water Kills Poorly Built Walls

Nearly 90% of leaning or collapsed backyard retaining walls fail for two preventable reasons: skipping the compacted base pad or backfilling dirt directly against the back of the blocks. According to CMHA and Allan Block engineering specifications, start every wall with an 18-inch-wide trench filled with 6 inches of compacted 3/4"-minus road base (compacted in two 3-inch lifts with a vibrating plate tamper) and bury at least one full course of block below the lower lawn.

Behind the blocks, never shovel clay topsoil right up against the wall! Install a 12-inch-wide vertical column of clean, washed 3/4-inch angular crushed stone (#57 stone with zero fines) from the base pad up to within 4 inches of the top cap, with a 4-inch perforated rigid PVC or corrugated drain pipe at the heel daylighting to grade every 30 to 50 feet. Wrap non-woven geotextile filter fabric between the native soil and the clean drainage gravel so silt cannot clog your drain stone over time.

Practical Pro Tips & Common DIY Mistakes to Avoid

Practical Pro Tips

  • • Spend 50% of your labor time getting the buried first course dead level side-to-side and front-to-back using a 4-foot level and rubber mallet—every upper course simply mirrors the first course.
  • • Knock the rear alignment lip off your top cap blocks (or buy dedicated flat cap units) and glue every cap down with exterior polyurethane masonry adhesive so kids walking on the wall cannot tip loose caps.
  • • On outside and inside 90-degree or radius curves, step inward slightly on each course setback (batter); tight convex curves require mitering trapezoidal side wings with a diamond masonry blade.
  • • Fill the hollow cores inside hollow-core SRW blocks with clean 3/4" angular stone as you stack each course—stone-filled cores dramatically increase block-to-block shear interlock.

Common Mistakes to Avoid

  • • Using round pea gravel under or behind a retaining wall—round pebbles roll like marbles and cannot lock under plate compaction; always use angular crushed stone.
  • • Forgetting to bury the bottom course below grade, allowing rainwater erosion and frost heave at the toe to kick out the bottom of the wall.
  • • Stacking lightweight 24-lb garden border blocks 4 feet high—small 12"×4" blocks lack the front-to-back depth and mass for walls taller than 2 to 2.5 feet.
  • • Using crusher run (gravel with stone dust fines) in the 12-inch drainage zone behind the wall instead of washed clean stone—fines hold water and freeze into expanding ice lenses.

Frequently Asked Questions

How many retaining wall blocks do I need for a 20 ft long by 3 ft high wall?
Using 12-inch-wide by 4-inch-high blocks with no buried course, a 20 ft × 3 ft wall needs 20 blocks per course across 9 courses = 180 wall blocks net plus 20 cap blocks. Including the recommended 1 buried base course (10 courses total) and 5% cutting waste, order 210 wall blocks and 21 cap blocks.
How tall can I build a retaining wall without a permit or engineer?
In most US jurisdictions following the International Residential Code (IRC R404.4), a retaining wall requires a building permit and licensed structural engineer once its total height—measured from the bottom of the buried base/footing to the top of the wall—exceeds 4 feet (48 inches), OR at any height if it supports a driveway, structure, or steep upper slope. Some cities enforce a stricter 3-foot exposed limit, so always check your local building department first.
How deep should the first course of a retaining wall be buried?
Bury at least 1 full block height (4 to 6 inches) below the lower finished soil grade—or at least 1 inch of embedment per 8 to 10 inches of exposed wall height (10% rule), whichever is greater. On walls built above a slope at the toe, embedment must be deeper.
What kind of gravel goes under vs. behind a retaining wall?
Two different aggregates perform best: UNDER the first course, compact 6 inches of 3/4"-minus crushed stone base (crusher run / road base containing angular rock + stone dust) so it packs rock-solid. BEHIND the wall (12 inches wide), use washed 3/4" clean angular stone (#57 stone with NO dust/fines) so groundwater drains freely down to your 4-inch perforated drain pipe.
When does a segmental retaining wall need geogrid mesh?
Unreinforced gravity SRW walls rely purely on block weight and setback batter, typically topping out between 2.5 and 4.0 feet depending on block depth (8" vs 12" front-to-back) and clay soil type. Any wall taller than the block manufacturer’s gravity table—or any wall supporting vehicle surcharges—requires horizontal layers of geogrid reinforcement buried in compacted soil lifts behind the drainage stone.
Do dry-stacked retaining wall blocks need mortar?
No! Segmental retaining walls are intentionally dry-stacked without mortar so the wall can flex slightly with seasonal freeze-thaw cycles and drain water freely through vertical joints. Only the top cap blocks (and cut corner units) are bonded in place using flexible exterior polyurethane landscape adhesive.

Standards, Spec Sheets & Further Reading

Embed This Retaining Wall Block Calculator on Your Website

Contractors, hardware stores, and DIY bloggers can embed this live calculator for free with attribution back to BuildCalcs.