Skip to main content
FigureCalc

Retaining Wall Calculator

By Uzair Arshad , Senior Civil and Structural Engineer

Last updated: April 20, 2026

Use this free retaining wall estimator to calculate blocks, caps, base gravel, backfill stone, and drain pipe for your project. Enter wall length, height, and block dimensions to get a full material list with 2026 cost estimates.

How to use this calculator

This retaining wall calculator helps you estimate the materials for segmental block walls in one pass. Enter your wall dimensions, block size, and gravel settings, and the retaining wall calculator returns blocks, caps, base aggregate, backfill stone, drain pipe, and a 2026 material cost range.

  1. Measure the full wall run in feet. If your wall has corners, add each straight section together. Example: 18 feet plus 12 feet equals 30 feet total wall length.
  2. Measure finished wall height in feet from grade at the front of the wall to the cap height. For stepped walls, run each height section separately for best accuracy.
  3. Enter block dimensions from the actual product sheet, not the nominal label. Many "16 inch" blocks are 15.75 inches long, and that small difference changes total block count on long walls.
  4. Enter cap block length. Caps are often shorter than wall units, so a separate field prevents under-ordering.
  5. Set base and backfill values. A common starting point is 6 inches base depth, 24 inches base width, and 12 inches drainage stone behind the wall. Adjust these to match your block system install guide.
  6. Set waste factor. Use 5% for simple straight walls, 10% for most projects, and 12% for many corners, curves, and cut blocks.
  7. Click "Calculate wall materials" to get total blocks, courses, cap blocks, gravel in cubic yards and tons, drain pipe length, and estimated material cost.

Pro tip: keep one extra course of blocks on site if the lot has elevation surprises. Slight grade changes during excavation can add a course in one section, and a same-day pickup trip can stall a crew for half a day.

Curved and circular retaining walls

For a circular retaining wall, measure the arc length along the front face and use that as your wall length. Most segmental blocks can curve to about 6 feet radius without cutting. Tighter curves need more cuts and waste, so bump the waste factor to 12% or 15% for circular retaining wall block layouts.

Retaining wall footing and foundation basics

A solid footing is the foundation of any retaining wall. Compact native soil, place landscape fabric, then spread 4 to 6 inches of compacted aggregate as your leveling pad. The base course should sit about one inch below finished grade for every eight inches of wall height. Skip this step and the wall shifts within a season.

Common retaining wall block sizes and coverage

Face coverage depends on actual block dimensions. Use actual face size for this retaining wall calculator.

Block type Typical face size Face area Blocks per 100 sq ft
Small garden wall block12 x 4 in0.33 sq ftAbout 300
Standard retaining block16 x 6 in0.67 sq ftAbout 150
Large retaining block16 x 8 in0.89 sq ftAbout 113
Split-face concrete block16 x 8 in0.89 sq ftAbout 113
Large format wall unit18 x 8 in1.00 sq ftAbout 100

How the calculation works

Wall and Block Geometry:
Wall Area (sq ft) = Wall Length (ft) × Wall Height (ft)
Block Face (sq ft) = (Block Length × Block Height) / 144
Courses = Wall Height (in) / Block Height (in)

Block and Cap Count:
Blocks Needed = Wall Area / Block Face × (1 + Waste %)
Cap Blocks = Wall Length (in) / Cap Length (in)

Base and Backfill:
Base Gravel (cu yd) = Wall Length × Base Width (ft) × Base Depth (ft) / 27
Backfill (cu yd) = Wall Length × Wall Height × Backfill Depth (ft) / 27
Drain Pipe (ft) = Wall Length × 1.05
Wall Length
Total wall run in feet
Wall Height
Finished wall height in feet
Block Length
Block face length in inches
Block Height
Block face height in inches
Block Depth
Block front-to-back depth in inches
Cap Length
Cap block length in inches
Base Depth
Compacted base depth in inches
Base Width
Compacted base width in inches
Backfill Depth
Drainage stone depth behind wall in inches
Waste %
Extra percentage for cuts and breakage

This retaining wall calculator uses wall face area divided by block face area to estimate block count, then adds waste for cuts and breakage. It also calculates base gravel and drainage backfill volumes, which are the material categories that many basic block calculators skip. The retaining wall calculator multiplies quantities by 2026 price ranges so you can budget materials before placing orders.

How the retaining wall formulas work

Block count: Multiply wall length by wall height to get wall face area in square feet. Divide by one block's face area (block length × block height / 144) to get the base count. Round up and add your waste percentage.

Courses: Convert wall height to inches, then divide by block height. Round up. This tells you how many rows of blocks stack up the wall.

Caps: Convert wall length to inches and divide by cap block length. Round up for the total cap count.

Base gravel: Multiply wall length × base width (in feet) × base depth (in feet), then divide by 27 to convert cubic feet to cubic yards.

Backfill: Multiply wall length × wall height × drainage depth (in feet), then divide by 27 for cubic yards. Multiply by 1.4 for approximate tons.

Example calculation

A 30 foot long, 3 foot high wall using 16 × 8 inch blocks with 10% waste:

  • Wall area = 30 × 3 = 90 sq ft
  • Block face = (16 × 8) / 144 = 0.89 sq ft
  • Base count = 90 / 0.89 = 101.2 blocks
  • With 10% waste = 101.2 × 1.10 = 111.3, round up to 112 blocks
  • Courses = (3 × 12) / 8 = 4.5, round up to 5 courses
  • Base gravel (24 in wide, 6 in deep) = (30 × 2 × 0.5) / 27 = 1.11 cubic yards
  • Backfill gravel (12 in deep) = (30 × 3 × 1) / 27 = 3.33 cubic yards
  • Drain pipe = 30 × 1.05 = 31.5, round up to 32 feet

For a full drainage-focused walkthrough, see our retaining wall backfill guide with gravel, drainage, and quantity examples.

For a full walkthrough with cap counts and waste allowances, see our guide on exactly how many retaining wall blocks you need.

Assumptions and limitations

This retaining wall calculator assumes a straight, single-tier segmental block wall on stable soil. Results may vary for stepped walls, curved sections, or sites with clay soil that requires additional drainage. Walls over 4 feet tall typically need geogrid reinforcement and engineered plans, so treat this estimate as a material planning starting point for those projects.

Drainage and reinforcement checks

Drainage is where many DIY retaining walls fail. A 4 inch perforated pipe at the heel and a 12 inch clean stone drainage zone behind the blocks reduce hydrostatic pressure. This retaining wall calculator includes both stone and pipe planning so you can buy all materials in one delivery.

If the wall is taller than 4 feet, most systems require reinforcement layers and local permits. Use this estimate for takeoff planning, then confirm final layout with your block manufacturer chart and local code requirements.

2026 material planning ranges

Use this table to sanity-check quotes before you place orders.

Material Typical 2026 range Unit Notes
Retaining wall blocks$3.25 to $8.50eachStyle, color, and brand drive price
Cap blocks$4 to $12eachUsually sold separately from wall units
Base and drainage aggregate$45 to $85cubic yardDelivered bulk pricing, varies by region
4 in perforated drain pipe$1.50 to $4.00linear footRigid pipe usually costs more than corrugated

Common retaining wall calculator mistakes

The most common mistake is using nominal block size instead of actual dimensions. A quarter inch error per block can shift your count by several units over a long wall.

Another frequent issue is skipping drainage stone from the estimate. Water pressure, not block weight, causes many wall failures after heavy rain. Always include a drainage zone and outlet path.

The third mistake is ordering no waste. Curves, corners, and split caps create offcuts quickly. A 10% waste factor is usually cheaper than paying a second delivery fee when you run short near the end of install day.

Frequently Asked Questions

How many retaining wall blocks do I need?

Multiply wall length by wall height to get wall area, then divide by the face area of one block. A 30 foot by 3 foot wall has 90 square feet. With 16 by 8 inch blocks, that is about 101 blocks before waste. Add 10% and order about 112 blocks.

How do you calculate retaining wall square footage?

Retaining wall square footage equals wall length times wall height. If your wall steps, split it into sections and add the section areas. For example, 18 feet by 3 feet plus 12 feet by 2 feet equals 54 plus 24, for a total of 78 square feet of wall face.

How much gravel do I need for a retaining wall base?

Most segmental walls use a compacted base about 6 inches deep and about 24 inches wide for a 12 inch block. Multiply wall length by base width and depth in feet, then divide by 27. A 30 foot wall with a 2 foot by 0.5 foot base needs about 1.11 cubic yards.

How much backfill gravel goes behind a retaining wall?

A common drainage zone is 12 inches of clean stone behind the wall. Multiply wall length by wall height by drainage depth, then divide by 27 for cubic yards. A 30 foot by 3 foot wall with 12 inches of backfill depth needs about 3.33 cubic yards of drainage stone.

How much does a retaining wall cost per linear foot?

Material-only retaining wall costs often land around $35 to $95 per linear foot in 2026 for common segmental block systems. Installed costs run higher because excavation, labor, and equipment dominate the budget. This retaining wall calculator estimates quantities and a planning range for materials, not full installed labor bids.

Do I need geogrid for a retaining wall?

Walls over 4 feet often need geogrid reinforcement and engineered design, and many municipalities require permits at that height. Even shorter walls can fail without drainage. Check manufacturer charts, local code, and soil conditions before you build, especially on clay soil or sloped lots with surcharge loads.

Related reading