Skip to content
CostToUpgrade
Masonry

Retaining Wall Calculator

Plan a block retaining wall. Enter the wall length and height plus your block size to get the number of blocks, how many courses tall it will be, and an estimated material cost.

Reviewed by The CostToUpgrade Estimating Desk Last reviewed How we estimate

Your project

Wall

Walls over ~4 ft usually need engineering and a permit.

Block

Check your block — common faces are 12"–18" wide.

Common block courses are 4"–8" tall.

Material
Pricing

Concrete retaining-wall blocks commonly run $3–$8 each.

Estimate

95blocks

Blocks needed · Includes waste allowance

Wall face area
60ft²
Courses (rows) tall
5courses
Estimated material cost
$380.00

Estimates are guidance only and exclude tax, labor, and site conditions unless stated. Confirm with a local pro.

How it's calculated

No black boxes — here is the exact math behind your estimate, so you can check it or adapt it for your own quote.

  1. 1Wall face area (ft²) = length × height
  2. 2Block face area (ft²) = (block width ÷ 12) × (block height ÷ 12)
  3. 3Blocks = ⌈ (wall area ÷ block face area) × (1 + waste% ÷ 100) ⌉
  4. 4Courses = ⌈ (height × 12) ÷ block height ⌉
  5. 5Cost = blocks × price per block

Worked example

A 20 ft long, 3 ft tall wall using 12" × 8" blocks with 5% waste.

Inputs

Wall length
20 ft
Wall height
3 ft
Block face width
12 in
Block face height
8 in
Waste allowance
5 %
Price per block
4 $/block

Result

Blocks needed
95 blocks
Wall face area
60 ft²
Courses (rows) tall
5 courses
Estimated material cost
$380.00

Tools & materials for this project

As an Amazon Associate we may earn from qualifying purchases, at no extra cost to you.

  • Masonry construction adhesive Bonds the cap and upper courses in place.
  • Landscape fabric Separates backfill gravel from soil behind the wall.
Get real quotes

Compare local pros for a retaining wall

An estimate gets you a budget. A few competing quotes get you the real price. Tell us about the job and we'll help you find vetted contractors nearby.

Get matched

Retaining Wall cost by state

The calculator does the quantity math exactly. What it can't know is what a fair unit price looks like where you live — a retaining wall runs 61% more in the priciest US market than the cheapest.

Retaining Wall cost in all 50 states + DC US average $30 per square foot installed · regional averages, full ranked table, and typical project totals.

Frequently asked questions

How many blocks do I need for a retaining wall?
Divide the wall face area (length × height) by the area of one block face, then add about 5% for waste. A 20 ft × 3 ft wall (60 ft²) built with 12"×8" blocks (0.67 ft² each) needs roughly 95 blocks.
How tall can a retaining wall be without a permit?
Many jurisdictions allow DIY segmental block walls up to about 3–4 feet before requiring engineering and a permit. Taller walls, walls supporting a slope or driveway, or tiered walls usually need a professional design. Always check local rules.
Does this include the base and backfill?
No — this estimates the wall blocks only. A proper retaining wall also needs a compacted gravel base, free-draining backfill behind the wall, drainage pipe, and often geogrid reinforcement on taller walls.