Retaining Wall Block Calculator (Blocks, Caps, Base, Drainage)
Block, cap, base gravel, drainage stone, and drain pipe for a segmental wall. Imperial or metric.
Want a copy? We'll email you the PDF.
Pick your block, or Custom to type the face width and height off the spec.
Default matches the block width. Caps run along the top of the wall.
Clean stone behind the wall, full height.
One run equals the wall length.
- Courses
- 6
- Blocks per course
- 40
- Caps
- 40
- Base gravel
- 1.48 CY
- 2.22 tons
- Drainage stone
- 5.93 CY
- 8.30 tons
- Drain pipe
- 40 LF
Taking off a wall from the plan? ToSpek Takeoff measures length and height straight from the PDF.
Try ToSpek TakeoffHow to calculate
Blocks = ceil(wall height / block face height) courses x ceil(wall length / block face width) blocks per course.
Enter the wall length and height, pick your block face size or type your own, and set the base trench and drainage zone. The calculator counts courses, total blocks, and caps, then figures base gravel and drainage stone in yards and tons and the perforated drain pipe by the foot. It is a material takeoff, not a structural design.
Block face 12 in wide x 8 in high, cap 12 in, base trench 24 in x 6 in, drainage zone 12 in wide for the full height, one pipe run.
Courses = ceil(48 in / 8 in) = 6. Blocks per course = ceil(40 ft / 1 ft) = 40. Total blocks = 6 x 40 = 240.
Caps = ceil(40 ft / 1 ft) = 40.
Base gravel = 2 ft x 0.5 ft x 40 ft = 40 cubic feet = 1.48 cubic yards. At crusher run ~1.5 tons/CY loose, about 2.22 tons.
Drainage stone = 1 ft x 4 ft x 40 ft = 160 cubic feet = 5.93 cubic yards. At #57 stone ~1.4 tons/CY loose, about 8.30 tons.
Perforated drain pipe = 40 LF for one run along the wall.
Common questions
How many blocks do I need for a retaining wall?
Divide the wall height by the block face height and round up for the number of courses, then divide the wall length by the block face width and round up for blocks per course. Multiply the two. A 40 ft long, 4 ft high wall with a 12 in by 8 in block is 6 courses of 40, or 240 blocks.
Do I need an engineered design for my wall?
Walls over 4 ft, or any wall with a surcharge like a driveway, a slope, or a structure above, usually need an engineered design and geogrid reinforcement. This calculator counts material only. Check your local code.
How much base gravel goes under a retaining wall?
A typical leveling pad is a 24 in wide trench about 6 in deep of compacted crusher run under the first course. The calculator multiplies the trench width by the depth by the wall length and converts to yards and tons.
What stone goes behind a retaining wall?
Clean angular stone like #57 in a zone directly behind the block, for the full height, so water drains to the pipe instead of loading the wall. Set the zone width to match your detail, usually about 12 in.
How many caps do I need?
Divide the wall length by the cap width and round up. If your caps match the block width it is the same count as one course. Caps are often glued on top with construction adhesive.
How much drain pipe do I need?
One perforated run along the base of the wall equals the wall length. Add runs if your detail calls for more, and the calculator multiplies the length accordingly.
Related tools
- Gravel CalculatorTons and yards for #57, crusher run, pea gravel, and more, with compaction and cost.
- Cubic Yards to TonsConvert yards to tons (and back) for any material, or type in your own density.
- Trench CalculatorExcavation, bedding stone, pipe displacement, backfill, spoil, and truck loads for a pipe trench.
Estimates for planning and bidding. Verify quantities and local requirements before ordering.
