Retaining Wall Calculator
Reviewed by Engr. Talha Tariq | PEC License #: PEC-CIVIL-37815 | Last updated: 2026-04-17
Estimate segmental retaining wall blocks, drainage gravel, geogrid reinforcement layers, and installed cost. Supports SRW sizes from 12 × 4 × 8 to 24 × 8 × 18 in, with IBC 2021 §1807.2.3 compliance checks for walls taller than 4 ft.
Estimate retaining-wall block count, drainage gravel, geogrid reinforcement, and total project cost for segmental retaining walls. Results appear after you press Calculate.
Enter values above and press Calculate to reveal results.
What is a Retaining Wall Calculator?
Our Retaining Wall Calculator is a complete project estimator for segmental retaining walls (SRW). Enter your wall length, height, and block size — the tool instantly returns the exact number of blocks you need, the volume and weight of drainage gravel required behind the wall, and geogrid reinforcement layers for taller walls.
Whether you are building a 2-foot garden border, a 4-foot retaining wall, or an engineered 6-foot-plus structure, this calculator covers the full material takeoff. It factors in waste allowance, supports multiple standard SRW block sizes (12 × 4 × 8 through 24 × 8 × 18), estimates drainage aggregate, and produces an installed-cost estimate with materials, labor, delivery, and tax.
Key Features of Our Free Retaining Wall Calculator
Block Quantity Estimator
Calculates exactly how many SRW blocks you need based on wall length, height, and block face dimensions.
Drainage Gravel Calculator
Estimates volume (ft³ / yd³) and weight (lb / tons) of drainage aggregate placed behind the wall.
Geogrid Reinforcement Layers
Calculates geogrid layer count, embedment length, and total fabric area for walls over 4 feet.
IBC Compliance Warning
Automatically flags walls taller than 4 ft that require engineering per IBC 2021 §1807.2.3.
Multiple SRW Block Sizes
Supports garden, medium, standard (18 × 8 × 12 in), and large gravity block sizes plus custom.
Quick Presets
One-click presets for Small Garden (2 ft), Standard Retaining (4 ft), and Engineered (6 ft+).
Cost Estimator
Adds material, labor, delivery, and tax to produce a complete installed-wall cost estimate.
Waste Allowance Control
Fully adjustable waste percentage defaults to 5%, suitable for most SRW installations.
Imperial & Metric Units
Enter wall length, height, and backfill depth in feet, inches, meters, or centimeters.
Block Weight Reference
Shows total wall weight in pounds and tons — essential for delivery planning and site access.
Drainage Aggregate Options
Choose crushed stone (#57), pea gravel, or river rock — each with accurate density (96–105 lb/ft³).
Print / Save Results
Export a professional A4-friendly PDF of inputs, materials, and cost breakdown for permit submittal.
How to Use the Retaining Wall Calculator
- 1Select a Project Type preset — Small Garden, Standard Retaining, or Engineered — to load sensible defaults.
- 2Choose your unit system: imperial (ft/in) or metric (m/cm).
- 3Enter the wall length and wall height as gross (total) dimensions along the run.
- 4Pick the block size from the catalog — Garden (12 × 4 × 8), Medium, Standard (18 × 8 × 12), Large, or Custom.
- 5Set the drainage gravel depth behind the wall — 12 inches minimum for walls over 3 ft per NCMA TEK 2-4B.
- 6Select the drainage aggregate type — crushed #57 stone, pea gravel, or river rock.
- 7Adjust the waste percentage (default 5%) based on layout complexity and curved runs.
- 8Switch to Advanced mode to enable geogrid reinforcement layers for walls over 4 ft.
- 9Enter geogrid vertical spacing (typical: every 2 courses) and embedment length (typical: 0.6 × wall height).
- 10In Advanced mode, enter cost per block, per ton of gravel, labor rate, delivery, and tax.
- 11Click Calculate to see blocks needed, gravel weight, geogrid area, and full cost breakdown.
- 12Use Print / Save to export a permit-ready PDF summary for your contractor, engineer, or building department.
Formulas Used in This Calculator
- 1) Block Face AreaFace Area (ft²) = (Block Length × Block Height) / 144
Example: 18 × 8 in block → (18 × 8) / 144 = 1.00 ft² - 2) Block QuantityBlocks Before Waste = (Wall Length × Wall Height) / Face Area
Final Blocks = ⌈ Blocks Before Waste × (1 + Waste%) ⌉ - 3) Drainage Gravel VolumeGravel Volume (ft³) = Wall Length × Wall Height × Backfill Depth
Gravel Volume with Waste = Volume × (1 + Waste%)
Convert to yd³ by dividing by 27. - 4) Drainage Gravel WeightWeight (lb) = Volume (ft³) × Density (lb/ft³)
Crushed #57 stone ≈ 100 lb/ft³ · Pea gravel ≈ 96 lb/ft³ · River rock ≈ 105 lb/ft³
Tons = Weight (lb) / 2000 - 5) Geogrid Layers (Walls > 4 ft)Number of Courses = Wall Height (in) / Block Height (in)
Layers = max(0, ⌊ Courses / Layer Spacing ⌋ − 1)
Total Geogrid Area (ft²) = Layers × Wall Length × Embedment Length - 6) Installed CostMaterial Cost = Blocks × $/Block + Gravel Tons × $/Ton
Labor Cost = Wall Area × $/ft² or Hours × $/Hour
Total = (Material + Labor + Delivery) × (1 + Tax%)
Retaining Wall Block Size Reference
U.S. segmental retaining wall manufacturers (Allan Block, Versa-Lok, Keystone, Pavestone) produce blocks in a wide size range. Use this table to match your wall height to the correct block and anticipated weight per block.
| Block Type | Nominal Size (L × H × D) | Weight | Typical Use |
|---|---|---|---|
| Small Garden | 12 × 4 × 8 in | ~20 lb | Borders, flower beds up to 2 ft |
| Medium SRW | 16 × 6 × 10 in | ~50 lb | Landscape walls 2–3 ft |
| Standard SRW | 18 × 8 × 12 in | ~80 lb | Retaining walls 3–5 ft |
| Large Gravity | 24 × 8 × 18 in | ~120 lb | Engineered walls 5 ft+ |
Frequently Asked Questions
How many retaining wall blocks do I need?
Divide the wall face area (length × height) by the block face area (block length × block height), then round up and add 5–10% for waste. For example, a 20 ft long × 4 ft tall wall using 18 × 8 in blocks needs (20 × 4) ÷ 1.0 = 80 blocks before waste, or 84 with 5% extra.
Do retaining walls over 4 feet need an engineer?
Yes. Per the International Building Code (IBC) 2021 §1807.2.3, retaining walls with an exposed height greater than 4 feet (measured from top of footing) require a permit and engineered design. Many jurisdictions also require geotechnical analysis of the soil.
How much drainage gravel do I need behind a retaining wall?
NCMA TEK 2-4B recommends a drainage zone at least 12 inches wide behind walls over 3 feet tall. For a 20 ft long × 4 ft tall wall with a 12-inch backfill, you need roughly 80 ft³ (~3 yd³) of crushed stone — about 4 tons.
What is geogrid and when do I need it?
Geogrid is a polymer reinforcement fabric placed between block courses and extended back into the retained soil. It creates a reinforced soil mass that resists lateral pressure. Walls over 4 feet — and shorter walls with heavy surcharge loads (driveways, slopes) — typically require geogrid layers every 2 courses.
How long should geogrid layers extend into the soil?
A common rule of thumb is geogrid embedment length = 60% of the wall height (minimum 4 ft). For a 6 ft wall, use 3.6 ft of embedment (round up to 4 ft). Always follow the specific engineered design for your site and soil type.
What size block is best for a 4-foot retaining wall?
An 18 × 8 × 12 in standard SRW block is the most common choice for 3–5 ft walls. It has enough setback and mass for good stability, and is widely stocked at home improvement stores. For walls over 5 ft, consider 24 × 8 × 18 in large gravity blocks or an engineered system.
Do I need a concrete footing for a retaining wall?
Most SRW systems are dry-stacked on a compacted crushed-stone base (6 inches for walls under 4 ft, 12 inches or more for taller walls). A concrete footing is generally not required for segmental blocks but is recommended for poured-in-place concrete retaining walls or mortared CMU walls.
Why does a retaining wall need drainage?
Without drainage, water builds up behind the wall and creates hydrostatic pressure that can push the wall forward or cause it to fail. A drainage zone of crushed stone plus a 4-inch perforated drain pipe at the base allows water to escape safely.
What is the cost of building a retaining wall?
Installed cost typically ranges from $20–$50 per face-ft² for DIY SRW walls, and $35–$100+ per face-ft² for professionally installed walls with engineering, geogrid, and drainage. Enter your local block, gravel, and labor rates in Advanced mode for an accurate site-specific estimate.
How deep should a retaining wall base be buried?
A standard rule is to bury one block course (or at least 10% of wall height) below grade. For a 4 ft wall, bury at least 6 inches. In frost-prone regions, extend the base below the frost line to prevent seasonal heaving.
What is batter (setback) and why does it matter?
Batter is the backward lean of the wall face. Most SRW systems build in a 1–2° setback per course, which shifts the wall's center of gravity toward the retained soil and improves stability. This calculator assumes standard manufacturer setback; follow your specific block system's instructions.
Can I build a retaining wall without a permit?
In most U.S. jurisdictions, walls under 4 ft (measured from bottom of footing to top of wall) do not require a permit. Walls over 4 ft, walls retaining a surcharge (driveway, slope), and walls near property lines typically require a permit and engineered plans. Always check with your local building department.
Can I use this tool for poured concrete retaining walls?
This calculator is optimized for segmental (block) retaining walls. For poured-in-place concrete retaining walls with footings and stems, use our Wall Concrete Calculator plus the Footing Calculator to estimate concrete volume, and the Rebar Calculator for steel.
What waste percentage should I use?
5% is the default for straight runs with minimal cutting. Use 7–10% for walls with curves, corners, step-downs, or when using split/cap blocks that require cutting. Waste accounts for damaged blocks during delivery and cuts that can't be reused.
Does this calculator account for capstones or corner blocks?
The block count includes all courses in the wall face. It does not separately itemize capstones (usually 1 per linear foot of wall top) or specialty corner blocks. Add these to your order based on your specific block system's recommendations — we recommend 1 cap per ft of wall length plus 2–4 corner blocks per 90° corner.
Related Calculators
Slab Concrete Calculator
Estimate concrete for floors, patios & driveways.
Beam Concrete Calculator
Volume for rectangular or multi-span beams.
Column Concrete Calculator
Round or rectangular column volumes in seconds.
Footing Concrete Calculator
Strip & isolated footing volume estimates.
Wall Concrete Calculator
Compute concrete for straight or segmented walls.
Pier / Caisson Calculator
Drilled shaft & caisson concrete volumes.
Tank / Trench Calculator
Rectangular & circular tank/trench volumes.
Staircase Concrete Calculator
Total volume for flights, landings & risers.
Nominal Mix (M5–M25)
Material splits for standard nominal mixes.
Concrete Yards Calculator
Convert area/thickness into cubic yards & m³.
Concrete Bag Calculator
Calculate how many concrete bags you need with unit conversions, bag sizes (40/50/60/80 lb & 20 kg), and waste buffers. Covers slabs, footings, posts, and sonotubes.