Free calculators and converters. No sign-up, no cost.

Your measurements

Height is measured from the top of the buried base course.

Wall
One course below grade for every foot of wall height, minimum one.
Block and base
Clean #57 stone, full height of the wall, with a perforated pipe at the bottom.

Your result

Sample values

240

Blocks

6

Courses

3.0

Tons of base gravel

5.9

Tons of drainage stone

40 ft wall, 3 ft exposed plus one buried course, 12 in block.

What to order

What to order
Item Quantity
Wall block 240
Cap block 40
Crusher run, base 3.0 tons
#57 drainage stone 5.9 tons
Perforated drain pipe 40 ft
Geotextile fabric 160 ft²
Construction adhesive 6 tubes

Retaining Wall Calculator: Estimate Blocks, Base Gravel, and Drainage Stone

The deep4sol retaining wall calculator estimates concrete blocks, base gravel, and drainage stone using wall dimensions and block specifications. It also accounts for buried courses below grade.

Use it for landscaping, garden walls, and preliminary contractor material takeoffs.

What Is a Retaining Wall Calculator?

Retaining walls hold back soil and must resist lateral earth pressure, possible water pressure, and surrounding loads.

Segmental retaining wall (SRW) blocks often stack without mortar. They sit on a compacted gravel pad with drainage stone behind them.

The calculator focuses on quantities, not engineering approval. Structural stability, reinforcement, soil bearing capacity, groundwater management, and local code compliance require separate consideration. Its approach best matches modular block walls with predictable course heights and a continuous aggregate base; poured-concrete or timber retaining walls require different estimating methods.

Retaining Wall Calculator Inputs and Outputs

Enter your measured project dimensions:

Retaining wall calculator inputs
Calculator Input What It Means Effect on the Estimate
Wall lengthHorizontal distance along the proposed wall faceSets blocks per course and aggregate length
Exposed heightWall height visible above finished groundDetermines visible block courses
Buried coursesNumber of block rows below finished gradeIncreases block count and total wall height
Block sizeDimensions of the selected concrete wall unitDetermines coverage per block and course height
Base depthThickness of the compacted gravel leveling padControls base gravel volume
Base widthWidth of the prepared aggregate foundationControls base gravel volume
Drainage stone thicknessDepth of free-draining aggregate behind the wallControls drainage stone volume

What Does the Calculator Show?

The tool produces four core outputs:

Estimated block quantity

Number of retaining wall blocks needed for the specified dimensions and buried rows.

Total wall height

Exposed height plus the height of buried courses.

Base gravel volume

Aggregate needed beneath the wall within the entered base dimensions.

Drainage stone volume

Aggregate estimate for the drainage layer behind the wall.

Geogrid, drainage pipe, caps, adhesive, excavation disposal, and labor are not outputs.

How to Use the Retaining Wall Calculator

Step 1: Measure the Wall Length

For straight walls, measure end to end. For curved walls, estimate actual wall-face length using short segments.

Corners and curves may require special units or cuts.

Step 2: Enter the Exposed Height

Measure from finished ground level to the wall top. This is exposed, not total, height.

Estimate stepped or sloped sections separately when heights vary.

Step 3: Account for Buried Courses

Enter the number of block courses below finished grade.

Required embedment depends on soil, grading, erosion risk, and wall design.

Step 4: Select the Block Size

Use installed block face length and course height. Nominal dimensions can differ from usable coverage.

The retaining wall block calculator estimates ordinary courses; special pieces still need a layout check.

Step 5: Enter Gravel Base and Drainage Dimensions

Enter the compacted base width, base depth, and drainage stone thickness from the approved detail.

Retaining Wall Calculation Formulas

How to Calculate the Number of Blocks

A retaining wall blocks calculator treats each horizontal layer as a course. Determine how many courses the exposed height needs, add the buried rows, and calculate the blocks in each row. Avoid calculating from visible wall face area alone, because buried units would be excluded.

For a simple wall using uniform block courses:

Visible courses = Round up (Exposed wall height ÷ Installed block height)

Total courses = Visible courses + Buried courses

Blocks per course = Round up (Wall length ÷ Installed block face length)

Total blocks = Blocks per course × Total courses

Final layouts may involve running bonds, cuts, setbacks, or corner units.

How to Calculate Total Wall Height

Total wall height = Exposed height + (Buried courses × Installed block height)

Excavation depth additionally includes the gravel base.

How to Calculate Base Gravel Volume

For a rectangular base trench:

Base gravel volume = Wall length × Base width × Base depth

When dimensions are in feet, the result is cubic feet (ft³). To convert:

Cubic yards (yd³) = Cubic feet ÷ 27

Loose delivery volume may differ from compacted volume.

How to Calculate Drainage Stone Volume

For a continuous rectangular drainage zone:

Drainage stone volume = Wall length × Drainage thickness × Drainage height

Use the design’s drainage height. A full-height zone can be approximated using total wall height.

Block cores and irregular drainage details may require additional stone.

Retaining Wall Calculation Example

Suppose you plan a straight garden retaining wall with these measurements:

Example retaining wall measurements
Project Detail Example Measurement
Wall length30 ft
Exposed height3 ft
Block face length16 in (1.333 ft)
Block course height6 in (0.5 ft)
Buried courses1
Base width2 ft
Base depth6 in (0.5 ft)
Drainage stone thickness12 in (1 ft)

1. Calculate Blocks

Visible courses = 3 ÷ 0.5 = 6 courses

Total courses = 6 + 1 = 7 courses

Blocks per course = Round up (30 ÷ 1.333) = 23 blocks

Estimated blocks = 23 × 7 = 161 blocks

2. Calculate Total Wall Height

3 + (1 × 0.5) = 3.5 ft

3. Calculate Base Gravel

30 × 2 × 0.5 = 30 ft³

30 ÷ 27 ≈ 1.11 yd³ of base gravel

4. Calculate Drainage Stone

Assuming a full-height drainage zone:

30 × 1 × 3.5 = 105 ft³

105 ÷ 27 ≈ 3.89 yd³ of drainage stone

Confirm compaction, aggregate grading, and purchasing quantities before ordering.

Why Base Gravel and Drainage Matter

Compacted Gravel Base

A compacted gravel base provides a level, load-distributing surface.

The Concrete Masonry & Hardscapes Association (CMHA) describes typical segmental-wall leveling pads as compacted stone or concrete, with dimensions determined by the wall system and site design. Aggregate type and required compaction should come from that specification. A soft, uneven trench cannot be corrected by estimating extra gravel alone.

Drainage Stone Behind the Wall

Drainage stone helps handle incidental seepage and reduce pressure from trapped water.

CMHA guidance describes a drainage aggregate zone extending at least 12 inches (305 mm) behind segmental retaining wall units, subject to the engineered design. Drainage stone works alongside correctly designed outlets, pipes, grading, and filtration; stone alone is not a complete drainage system. Where specified, a geotextile filter separates soil from stone to reduce clogging. The pipe must also discharge to an approved location instead of trapping water at the base.

Common Retaining Wall Estimating Mistakes

  • Counting only visible blocks: Buried courses also require material.
  • Using the wrong block dimensions: Nominal size may differ from installed coverage.
  • Ignoring a stepped layout: Sloping sites can require different course counts.
  • Confusing base width with block width: The prepared leveling pad may extend beyond both sides of the lowest block.
  • Combining different aggregates: Base material and drainage stone may have different grading specifications.
  • Forgetting compaction: Calculated installed volume is not necessarily equal to loose delivery volume.
  • Assuming the estimate proves stability: Material quantity does not establish resistance to sliding, overturning, or bearing failure.
  • Ordering aggregate by volume without checking delivery units: Suppliers may sell stone by ton; conversion requires the material’s actual bulk density.

Improving Material Estimates Before Construction

Confirm setback, block orientation, base dimensions, and drainage details with manufacturer drawings. The Allan Block material-estimation guidance illustrates how aggregate needs can extend beyond the base and drainage column, particularly when block cores require stone.

Allow separately for cuts and breakage. The calculator has no waste-percentage input.

Walls supporting driveways, buildings, fences, or sloped backfill may need geotechnical assessment and engineered reinforcement. Even a relatively low wall can require special design because of groundwater or heavy loads. For walls requiring geogrid or other reinforcement, follow the design documents: block and gravel quantities alone do not describe the complete system.

Plan Retaining Wall Materials With Greater Confidence

Use the deep4sol retaining wall calculator to estimate blocks, total height, base gravel, and drainage stone.

Verify final quantities against site measurements and the approved design.

Questions

Frequently Asked Questions

Ask something else

Divide the exposed wall height by the installed block height and round up to find visible courses. Add buried courses, then multiply by the rounded-up number of blocks required per course.

Multiply the wall length by the base width and compacted base depth. The result is cubic volume; divide cubic feet by 27 to convert to cubic yards.

Many segmental retaining wall designs specify at least 12 inches of free-draining aggregate behind the blocks. The actual thickness and height should follow the manufacturer’s instructions or approved engineering design.

Yes. Buried courses contribute to the total block quantity and constructed wall height. Ignoring them can underestimate both blocks and related drainage-zone dimensions.

Yes, for preliminary material estimates, provided you measure the actual wall length and account for varying heights. Curved layouts and stepped foundations may require separate calculations and a detailed block layout.

Keep going

All Landscaping & Outdoor tools
Estimates, not specifications. Results are based on the values you enter and on typical material properties. Densities, coverage rates and product sizes vary between suppliers, so confirm quantities against your supplier's data before ordering. Structural work must be signed off by a qualified professional and meet your local building code.