Retaining Wall Block Calculator
Estimate how many blocks, cap blocks, and gravel base material you may need for small landscape retaining walls.
Last reviewed: June 2026
Remember to include the height of the buried base course (usually 1 block).
Usually twice the block depth from front to back.
Commonly 4 to 6 inches of compacted crushed stone base.
Results update automatically as you enter measurements.
Your Material List
For this project, buy or order approximately
Use these quantities as a shopping list, supplier note, quote check, or quick jobsite material estimate.
Formula and Assumptions
Formula used
Wall face area = length × height. Wall block count = wall face area ÷ one block face area. Courses = wall height ÷ block height. Cap blocks = total wall length ÷ cap block length. Gravel base volume = trench length × trench width × trench depth. Waste percentages are applied to account for cutting and breakage.
Unit conversions
Inches are converted to feet before volume is calculated. Cubic feet are converted to cubic yards by dividing by 27. Bag counts are rounded up because stores do not sell partial bags.
Waste factor explanation
Waste factor helps account for uneven surfaces, cuts, spills, compaction, settling, and measurement differences. The right buffer depends on your project and material.
Material Assumptions and Disclaimer
Bag yield or density assumptions
- Calculations assume standard running bond patterns.
- Wall height includes the buried courses, if any. Wall blocks and caps are distinct items depending on the product line.
Estimate disclaimer
These tools are useful for DIY planning and quick jobsite estimates, but the results are still estimates. Verify quantities for structural work, code requirements, supplier material specs, product labels, or professional requirements before purchasing or quoting a job.
When to be careful
- Taller retaining walls face immense lateral earth pressure. Consult a structural engineer if building higher than 3-4 feet or if the wall is load-bearing.
Example Calculation
A 20-ft long, 2-ft high wall using 12x4 inch blocks. Base trench is 6 inches deep and 24 inches wide. 10% waste:
- Wall area: 20 × 2 = 40 sq ft
- Block face area: 1 × 0.333 = 0.333 sq ft
- Raw wall blocks: 40 ÷ 0.333 = 120
- Add 10% waste: 120 × 1.10 = 132 blocks
- Raw cap blocks: 20 ft ÷ (12 in ÷ 12) = 20
- Add waste to caps: 20 × 1.10 = 22 cap blocks
- Base volume: 20 × (24 ÷ 12) × (6 ÷ 12) = 20 cu ft, plus 10% = 22 cu ft
You need 132 wall blocks, 22 cap blocks, and 22 cubic feet of crushed stone base.
Frequently Asked Questions
Do I need to bury the first row of blocks?
Yes. For structural stability, the rule of thumb is to bury one inch of block for every one foot of exposed wall height, or bury one entire block course minimum.
What kind of gravel do I need for the base and backfill?
For the base, use a compactable crushed stone like Class 2 aggregate or Item 4. For the backfill behind the wall, use a clean, free-draining angular stone like 3/4-inch crushed washed rock. Never backfill entirely with dirt!
Why do walls fail?
Poor drainage is the #1 reason retaining walls fail. Hydrostatic pressure builds up behind the wall when water cannot escape. Always install a perforated drain pipe and clean stone backfill.
Do I need a building permit?
Most municipalities require a permit and sometimes engineered drawings for any retaining wall over 3 or 4 feet in height, or any wall that supports a surcharge like a driveway or slope.
Do I need geogrid?
Geogrid is a synthetic mesh laid between block layers and extending into the hillside to tie the wall and soil together into one unified mass. It is generally required on taller walls or walls with challenging soil loads.
Related Guides
Related Calculators
Paver Base Calculator
Estimate how much crushed stone base and bedding sand you may need for paver patios, walkways, and small hardscape projects.
Gravel Calculator
Estimate how much gravel, crushed stone, or sand you may need for driveways, paths, patios, and drainage areas based on your dimensions and material type.
Mulch Calculator
Estimate how much mulch you may need for garden beds, landscape beds, tree rings, and paths based on your area and preferred depth.