Retaining Wall Calculator: Blocks, Gravel & Cost Estimator

Calculate segmental block count, cap units, base and drainage gravel, and installed cost for a retaining wall based on wall length, height, and block size. Built for US contractors and DIYers planning interlocking block walls.

✓ Free, no signup required ✓ Calculations run in your browser ✓ Sources cited ✓ Last reviewed: July 2026

🧱 Retaining wall calculator

Wall dimensions

ft
Total finished length of the retaining wall face.
ft
Measured from bottom of buried footing to top of cap. IRC R404.4 permit threshold is typically 4 ft.

Block specifications

in
Standard segmental retaining wall units are commonly 16 in wide.
in
Standard course height is commonly 6 in per block.
in
Front-to-back depth of the block, used for gravel width and NCMA height rule of thumb.
Added to block count to cover cuts, breakage, and corners.

Base gravel and drainage

in
Minimum 6 in compacted crushed stone base is standard installation guidance.
in
Base trench width, typically block depth plus 6 in on each side.
in
Common guidance calls for about 12 in of clean gravel behind the wall face.
Perforated pipe daylighted at the low end relieves hydrostatic pressure.

Cost estimate inputs

$
Standard SRW units typically run $3 to $8 each.
$
Cap units finish the top row, one per linear foot.
$
Crushed stone typically runs $30 to $50 per cubic yard delivered.
$
Set to 0 for DIY. Professional installation typically runs $12 to $35 per sq ft.
$
Block and gravel delivery to site, if not included in supplier pricing.
Construction adhesive secures the cap row to the top course.

Required inputs are wall length and height. Results show block count, gravel volumes, and total estimated cost.

How this retaining wall calculator works

1

Convert wall area to courses

Wall length and height are divided by block length and block height to determine blocks per course and total number of courses stacked to reach finished height.

2

Apply waste factor

Total block count is increased by your selected waste percentage to account for cuts at corners, curves, and breakage during handling.

3

Calculate gravel volumes

Base gravel volume comes from trench length, width, and depth. Drainage gravel volume comes from wall length, height, and the depth of clean stone specified behind the wall face, both converted to cubic yards.

4

Build the cost estimate

Block, cap, gravel, pipe, and adhesive quantities are multiplied by unit prices, then combined with optional labor and delivery to produce a total installed cost estimate.

Retaining wall planning reference numbers

The table below lists typical values used to size segmental block retaining walls and their approximate 2026 material costs.

Component Typical range Notes
Standard SRW block size 16 in W × 6 in H × 12 in D Common commercial unit dimensions per state DOT spec
Course setback (batter) 3/4 in per course Creates stable backward lean into the slope
Compacted base depth 6–12 in Deeper base for taller walls or soft soil
Drainage gravel behind wall 12 in typical Clean, angular stone such as No. 57
Max unreinforced gravity height ≈3× block depth Rule of thumb per NCMA-based guidance
Permit / engineering threshold 4 ft (footing to top) Per IRC R404.4 in most US jurisdictions
Block wall cost, installed $20–$60 per linear ft (3 ft wall) 2026 national cost guide averages

Once you have block and gravel quantities, refine drainage stone volume with the retaining wall gravel calculator or check general aggregate needs with the gravel calculator.

Why block count and gravel volume matter

A retaining wall holds back soil on a slope, creating a level area on one or both sides. Segmental block walls rely on the weight and setback of stacked units rather than mortar, so getting the block count, base, and drainage right directly affects long-term stability.

Undersized base gravel or missing drainage are common causes of leaning and bulging walls within a few years of installation. Manufacturer installation guides consistently call for a compacted base wider than the block footprint and a full column of clean gravel behind the wall to relieve water pressure.

If your project also includes a poured concrete retaining wall or foundation wall section, compare quantities using the concrete retaining wall calculator or concrete foundation wall calculator.

Worked example: sizing a backyard grade change wall

A landscaping contractor is quoting a 30 ft long wall stepping down a 3 ft grade change using standard 16 by 6 by 12 in blocks with an 8 percent waste allowance.

Step 1: Blocks per course and course count

Wall length: 30 ft = 360 in

Blocks per course: 360 in ÷ 16 in = 22.5 blocks

Courses: 36 in ÷ 6 in = 6 courses

Base block count: 22.5 × 6 = 135 blocks

With 8% waste: 135 × 1.08 ≈ 146 blocks

Rounding up whole blocks per course before multiplying by courses avoids under-ordering on the top row.

Step 2: Gravel volumes

Base trench: 30 ft × 1.5 ft × 0.5 ft = 22.5 ft³

Drainage zone: 30 ft × 3 ft × 1 ft = 90 ft³

Base gravel: 22.5 ÷ 27 ≈ 0.83 cu yd

Drainage gravel: 90 ÷ 27 ≈ 3.33 cu yd

Most suppliers sell crushed stone by the cubic yard or by the ton, so round up to the next half yard when ordering.

Step 3: Cost roll-up

Blocks: 146 × $4.50 ≈ $657

Caps: 30 × $6.00 = $180

Gravel: 4.16 cu yd × $40 ≈ $166

Material subtotal: ≈ $1,003

DIY total (no labor): close to national DIY averages of $10–$25 per linear ft for a 3 ft wall

This wall stays under the 4 ft IRC R404.4 threshold, so it typically does not require a permit in most jurisdictions, though local rules vary.

Common retaining wall estimating mistakes

Frequent errors that lead to material shortages or wall failure

  • Measuring wall height above grade only and forgetting the buried footing courses required for stability.
  • Skipping compacted base gravel width beyond the block footprint, which reduces bearing support at the toe.
  • Omitting drainage gravel and perforated pipe, a leading cause of bulging and leaning walls after heavy rain.
  • Using a flat waste factor for curved or corner-heavy layouts instead of increasing it to 12 to 15 percent.
  • Treating a 4 to 5 ft wall as a simple gravity wall when it likely needs geogrid reinforcement or a full engineered design.

Permits, engineering thresholds, and delivery logistics

Most US jurisdictions follow IRC Section R404.4, which generally exempts retaining walls under 4 ft in height, measured from the bottom of the footing to the top of the wall, from requiring a building permit. Walls at or above that height typically require a permit and engineered drawings, and some cities set a lower 3 ft threshold or add requirements near property lines and slopes.

Unreinforced gravity segmental walls are commonly limited to roughly 3 times the block depth in height before geogrid reinforcement or full engineering analysis, such as Rankine or Coulomb active earth pressure methods, becomes necessary. This calculator does not perform those stability checks and should not be used as a substitute for a structural evaluation on taller or load-bearing walls.

For delivery planning, block pallets and bulk gravel are heavy. Confirm site access for a pallet forklift or dump truck before ordering, and sequence gravel delivery with the project budget calculator so drainage stone arrives before backfilling begins.

Retaining wall calculator FAQ

How many blocks do I need for a retaining wall? +

Divide wall length by block length to get blocks per course, then multiply by the number of courses, which equals wall height divided by block height. Add 5 to 15 percent for cuts and breakage depending on how many corners or curves the layout has.

Do I need a permit for a retaining wall? +

Most jurisdictions exempt walls under 4 ft, measured from the bottom of the footing to the top, per IRC R404.4. Walls 4 ft and taller typically require a permit and engineered drawings. Always confirm the exact threshold with your local building department.

How thick should the gravel base be under a retaining wall? +

A minimum 6 in compacted crushed stone base is standard guidance from segmental wall manufacturers, widened beyond the block footprint. Taller walls or soft soil conditions often call for 8 to 12 in of base material.

How much drainage gravel does a retaining wall need? +

Common installation guidance calls for about 12 in of clean, angular drainage gravel directly behind the entire wall face, paired with a perforated drain pipe daylighted at the low end to relieve hydrostatic pressure.

How much does a retaining wall cost per linear foot in 2026? +

2026 cost guides report interlocking concrete block walls running about 15 to 30 dollars per linear ft in DIY materials for a 3 ft tall wall, or 20 to 60 dollars per linear ft fully installed. Taller or engineered walls run higher due to reinforcement and design fees.

What is the maximum height for a gravity wall without engineering? +

A commonly cited rule of thumb limits unreinforced gravity segmental walls to about 3 times the block depth, generally capping unengineered walls around 3 to 4 ft. Taller walls typically need geogrid reinforcement or a full engineered design.

Does this calculator check wall stability or soil pressure? +

No. This tool estimates material quantities and cost only. It does not calculate active earth pressure, sliding, overturning, or bearing capacity. Walls above 4 ft, walls on slopes, or walls near structures should be reviewed by a licensed engineer.

Sources and methodology

  • International Residential Code, Section R404.4, retaining wall permit and design thresholds.
  • NCMA-based segmental retaining wall guidance on unreinforced gravity wall height rule of thumb (approximately 3× unit depth).
  • State DOT segmental retaining wall specification for standard unit dimensions and course setback (batter), Iowa DOT Section 9070.
  • 2026 national retaining wall cost guides for material and installed pricing ranges by wall material and height.

Last reviewed: July 2026

⚠️ Disclaimer

This calculator provides estimates for planning purposes. For permitted structural work, foundations, multi-story construction, retaining walls over 4 feet, and commercial projects, calculations must be verified by a licensed structural engineer per IBC 2024 §1604. ConcreteCalculate.com is not liable for structural decisions made from these estimates.

No data entered into this calculator is stored or transmitted beyond the calculation request. All inputs are processed to generate your results and are not retained on our servers.