Retaining Wall Calculator

Updated

Retaining Wall Calculator counts the blocks, cap blocks and courses for a wall, sizes the base and backfill gravel, and prices the order for block, timber or poured concrete walls.

Quick Setup

Enter the wall size and one block face. Measure a curved wall along its face.

ft
ft
in
in
ft
in
ft
in
in
Base, Backfill and Caps10% waste

Base defaults follow the Allan Block guide. Use your quarry's gravel density. Clear the cap height for no cap row.

in
in
%
in
in
%
tons/yd³
in
in
in
in
PricesPriced

These are sample prices. Replace them with your supplier's quotes, or clear a field to leave it out.

$ each
$ each
$ per ton
$ per ft²
$ each
$ per yd³
Order for This Wall
116 Wall Blocks
105 blocks in the wall plus 10% extra, rounded up to whole blocks
7 Courses of 15 Blocks
Built Height Above Ground40 in
Cap Blocks to Order17
Courses cover the height above ground plus the buried depth, less the cap. Built height is whole courses and the cap, less the buried part.
3.67 yd³ Gravel to Order
Gravel Weight5.13 tons
Base + Backfill0.74 + 2.59 yd³
Base gravel fills the trench and backfill is the drainage stone behind the wall, both before waste. Stone for hollow block cores is extra.
60 ft² of Exposed Face
Face With Buried Part70 ft²
Blocks per ft² of Face1.50
Exposed face is the wall length times the height above ground, the figure used for square foot pricing. Buried depth adds to the full face.
$879.00 Material Cost
Cost per ft of Wall$43.95
Cost per ft² of Face$14.65
Uses the order quantities, so the waste allowance is paid for. Labor is added when you enter a rate. Pipe, fabric and tax are left out.
Order List4 items
ItemIn the WallTo OrderCost
Wall blocks105116$580.00
Cap blocks1517$68.00
Base gravel0.74 yd³0.81 yd³ (1.14 tons)$51.33
Backfill gravel2.59 yd³2.85 yd³ (3.99 tons)$179.67
All materials60 ft² face10% extra$879.00
Materials by Wall Height3 ft wall
HeightCoursesBlocks to OrderGravel to OrderCost
1 ft3502.04 yd³$446.33
2 ft5832.85 yd³$662.67
3 ft71163.67 yd³$879.00
4 ft91494.48 yd³$1,095.33
5 ft111825.30 yd³$1,311.67
6 ft132156.11 yd³$1,528.00
Where to MeasureWall section
HeightAbove GroundBuried DepthBase Trench WidthBackfill ThicknessBase Gravel DepthRetained SoilGravelCap
Inside the 4 ft Permit Exemption
At 4 ft from the bottom of its base to the top, this wall is within the 4 ft height the IRC exempts from a permit, unless it supports a driveway, slope or other load. Local rules can be stricter.

How the Retaining Wall Calculator Counts Blocks

The Retaining Wall Calculator counts courses first and blocks second. The courses have to cover the height above ground plus the buried depth, less the cap. That total is divided by the block height and rounded up to a whole course.

H is the height above ground, B is the buried depth, C is the cap height and h is the block height. The default wall is 3 ft high with 6 in buried and a 4 in cap. That leaves 38 in for 6 in blocks, which rounds up to 7 courses.

Blocks per course is the wall length divided by the block length, rounded up. A 20 ft wall of 16 in blocks has 15 per course. Seven courses make 105 blocks in the wall, and the 10 percent extra brings the order to 116 wall blocks and 17 caps.

Whole courses rarely land on the height you typed. This wall builds out to 40 in above ground instead of 36 in. The built height is shown in the results, so you can drop a course or change the buried depth before you order.

Blocks, Gravel and Cost by Wall Height

Height drives every quantity. The table is for a 20 ft retaining wall in 16 in by 6 in blocks with a cap row, 10 percent waste and the sample prices loaded in the tool. Those prices are $5 per block, $4 per cap and $45 per ton of gravel.

Height above groundCoursesWall blocks to orderGravel to orderMaterial cost
1 ft3502.04 yd³$446.33
2 ft5832.85 yd³$662.67
3 ft71163.67 yd³$879.00
4 ft91494.48 yd³$1,095.33
5 ft111825.30 yd³$1,311.67
6 ft132156.11 yd³$1,528.00

Length scales the order in a straight line. A 100 ft retaining wall at 3 ft high needs 578 wall blocks, 83 caps and 18.33 yd³ of gravel. At the same sample prices that is $4,377 in materials, or $43.77 per foot of wall.

Swap in your supplier's quotes before you trust the dollar figure. With no labor entered, the cost covers blocks, caps and gravel only. Drain pipe, fabric, delivery and tax are always left out.

Labor Rate is optional and is priced per square foot of exposed face. Enter a rate and the cost card changes from Material Cost to Installed Cost. At an example rate of $20, the default 60 ft² wall adds $1,200 of labor for $2,079 in all.

Base Trench, Buried Depth and Backfill

The base and backfill defaults follow Allan Block's install guides. Its residential guide calls for a base trench 24 in wide, or 18 in for walls under 4 ft. The trench gets at least 6 in of compacted wall rock under the first course.

An Allan Block wall sits on compacted wall rock, not a poured footing. A 2 ft wall and a 4 ft wall both rest on that compacted gravel base. The guide sets the trench depth at 6 in plus 1 in for each foot of wall height, so part of the first course ends up buried.

Buried Depth starts at 6 in because Allan Block's gravity wall manual asks for at least 6 in of buried block. The buried course stops the bottom of the wall from sliding out. The Retaining Wall Calculator warns you if you enter less.

Backfill Thickness starts at 12 in, which is the wall rock the guide puts behind every wall for drainage. A drain pipe is added for gravity walls over 4 ft, for reinforced walls and for sites with poor drainage. The pipe should vent to daylight at intervals along the wall.

Hollow blocks take extra stone. The guide fills the block cores with the same wall rock, and that core fill is not in the gravel total here. Backfill is placed and compacted in lifts of 8 in or less as the courses go up.

Retaining Wall Calculation Formula for Gravel

The Retaining Wall Calculator figures gravel in two parts. Base gravel is the wall length times the trench width times the base depth. For the default wall that is 20 ft by 2 ft by 0.5 ft, which is 20 cubic feet or 0.74 yd³.

Backfill is the wall length times the backfill thickness times the full wall height, buried part included. Here that is 20 ft by 1 ft by 3.5 ft, which is 70 cubic feet or 2.59 yd³. The two parts add up to 3.33 yd³ before waste.

The 10 percent waste lifts the order to 3.67 yd³. Weight is the volume times the Gravel Density entry, so 3.67 yd³ at 1.4 tons per cubic yard is 5.13 tons. Density varies by stone, so ask the quarry for its figure and type it in.

Base Compaction Extra is an optional percent added to the base gravel only. Loose stone settles when it is compacted, so the trench takes more than its finished volume. Entering 20 lifts the default order from 3.67 yd³ to 3.83 yd³.

Square Feet of a Retaining Wall

To find the square feet of a retaining wall, multiply the length by the height above ground. A 20 ft wall 3 ft high has 60 ft² of exposed face, and a 10 ft by 10 ft wall has 100 ft². It is the figure to use when a quote is priced per square foot.

The Retaining Wall Calculator also shows the face with the buried part, which is 70 ft² for the default wall. That larger figure is the area the blocks really cover. A 16 in by 6 in block covers 0.67 ft², so the wall takes 1.5 blocks per square foot.

If you are buying blocks at Home Depot or another home center, take the face length and height from the product page. Enter those two sizes and the block count follows. The cost card then gives a price per square foot of face for comparing quotes.

Timber Retaining Wall Calculator Mode

Choose Landscape Timbers to count a timber retaining wall. Rows are the height above ground plus the buried depth, divided by the timber height. Timbers per row is the wall length divided by the timber length, and both are rounded up.

Use the actual timber height, not the nominal size. A 6x6 timber measures 5.5 in, so the 20 ft by 3 ft wall needs 8 rows of three 8 ft timbers. That is 24 timbers in the wall and 27 to order with 10 percent waste.

Spikes, rebar pins and deadman anchors are not in the count, so price them separately. The gravel base and backfill are figured the same way as for a block wall. A timber wall of this size takes the same 3.67 yd³ of gravel.

Concrete Retaining Wall Calculator Mode

Choose Poured Concrete for a cast wall. The stem volume is the wall length times the full height times the wall thickness. The footing volume is the length times the footing width times its thickness, and the two are added.

The default 20 ft wall has an 8 in stem and a 24 in by 12 in footing. The stem is 1.73 yd³ and the footing is 1.48 yd³. With 10 percent waste the order is 3.53 yd³ of ready-mix concrete, or 159 bags of 80 lb mix.

Bag counts use the 0.60 cubic feet that Quikrete lists for an 80 lb bag in its Concrete Mix data sheet. Stem thickness and footing size come from the wall design, so enter the sizes on your drawings. The Rebar Calculator counts the steel for the same wall.

The cubic meter formula is the same three sizes in meters, multiplied together. For other pours, 100 ft² of wall 8 in thick takes 2.47 yd³ of concrete and 1,000 ft² takes 24.7 yd³. The Concrete Calculator handles slabs and footings on their own.

Circle Retaining Wall Calculator Layout

Set Wall Layout to Full Circle or Ring for a tree ring, fire pit surround or round planter. Enter the diameter across the outside face and the block depth. The wall length becomes the outside circumference, which is 31.42 ft for a 10 ft ring.

That ring at 3 ft high takes 24 blocks per course and 7 courses. The order is 185 wall blocks and 27 caps with waste. Base gravel follows the ring under the blocks, and backfill is a 12 in band inside it, for 4.29 yd³ in total.

A curved wall that is not a full circle stays on the straight layout. Measure its length along the face and enter that. The Retaining Wall Slope Calculator works out the batter and setback as the courses step back.

Permits and Walls Over 4 ft

The International Residential Code exempts a retaining wall from a permit when it is not over 4 ft high and supports no surcharge. That height is measured from the bottom of the footing to the top of the wall. A driveway or slope above the wall counts as a surcharge.

The Retaining Wall Calculator checks the wall against that 4 ft line, counting the buried depth and the base under it. The default wall measures exactly 4 ft from the bottom of its base. Local rules can be stricter, so confirm the limit with your building department.

Taller walls need a design, not just a material count. Section R404.4 of the residential code requires stability against overturning, sliding, foundation pressure and water uplift. The safety factor against sliding and overturning is 1.5.

Those checks are the real formula for retaining wall design, and they are an engineer's job. The quantities here suit budgeting for a tall wall. They do not size the wall, its footing or any geogrid reinforcement.

Cost and Material Choices

These answers use the default 20 ft by 3 ft wall and the sample prices in the Retaining Wall Calculator. Change the prices to your own quotes and the comparison will shift, so treat the dollar figures as a worked example.

Which retaining wall is cheaper to build?

On materials alone, the three types come out close for a low wall. With the sample prices, poured concrete is $796, blocks are $879 and 6x6 timbers are $1,041. Concrete needs forms, steel and skilled labor on top, so its real cost depends on labor more than the other two.

How much does a 20 ft retaining wall cost?

A 20 ft block wall costs $879 in materials at 3 ft high and $1,095 at 4 ft high with the sample prices. That works out to $43.95 and $54.77 per foot of wall. Gravel is about a quarter of the total, so a local stone price matters.

Does a 4 ft retaining wall need drainage?

Yes. Allan Block puts 12 in of wall rock behind every wall, whatever its height. A perforated drain pipe is added when a gravity wall is over 4 ft, when the wall is reinforced or when the site drains poorly. The pipe should vent to daylight every 50 ft along the wall.

How do I build a retaining wall on a budget?

Keep the wall low and the layout simple. Each extra foot of height on a 20 ft wall adds 33 blocks and 0.81 yd³ of gravel to the order. Staying under 4 ft also avoids the drain pipe trigger and the engineering that taller walls call for.