Retaining wall calculator: blocks, gravel, cost and stability
This retaining wall calculator does two jobs. For a block or garden retaining wall it works out how many blocks and caps you need, the gravel base, the drainage stone behind the wall, the length of perforated drain pipe and the materials cost — per wall and per square foot or square metre of face. For a reinforced concrete cantilever wall it runs the three classic stability checks — overturning, sliding and bearing pressure — using Rankine earth pressure.
Block presets cover the common sizes in the UK (440 × 215 mm), Australia (390 × 190 mm), India (400 × 200 mm) and US dry-stacked wall blocks (12 × 4, 16 × 6 and 18 × 8 inches), or enter your own. Everything works in metric or imperial units and in pounds, dollars, Australian dollars, rupees or euros.
The stability check is a planning estimate: it tells you whether a trial wall is in the right range. A qualified engineer must design any retaining wall that holds back significant soil, water, a slope, a driveway or a building.
How to use the Retaining Wall Calculator
- Choose Block wall materials or Stability check, and metric or imperial units.
- For blocks, enter the wall length, exposed height and buried courses, pick a block (or enter its size and joint), then the base, drainage zone and prices.
- Read blocks, caps, gravel in tonnes, drain pipe and cost, with the cost per square foot or m² of wall face.
- For stability, enter the stem height, base thickness and width, toe length, stem thicknesses, soil weight and friction angle, surcharge, base friction and allowable bearing pressure. Suggest from height fills in textbook first-trial proportions.
- Read the factors against overturning and sliding, the toe and heel pressures and the IS 456 clause 20 checks, with a diagram of the earth pressure.
Retaining Wall Calculator features
Block, cap and gravel take-off
Courses = ⌈height ÷ (block height + joint)⌉ + buried courses; blocks per course = ⌈length ÷ (block length + joint)⌉; extra for cuts.
Drainage and base
Gravel base under the wall and a free-draining stone zone behind it, in m³ or cubic yards and tonnes or tons, plus the drain pipe.
Rankine stability check
Ka, soil and surcharge thrust, moments about the toe, factors against overturning and sliding, eccentricity and toe/heel bearing pressure.
IS 456 and permit flags
IS 456 clause 20 overturning and sliding checks, and a note when a block wall passes the 4 ft IBC permit limit.
How the stability check works (Rankine method)
Active earth pressure coefficient Ka = (1 − sin φ) ÷ (1 + sin φ). For φ = 30°, Ka = 1/3. On the vertical plane through the heel the soil pushes with Pa = ½ Ka γ H² acting H/3 above the base, and a uniform surcharge q adds Pq = Ka q H at H/2.
Worked example: stem 3.0 m, base 2.8 × 0.4 m, toe 0.7 m, stem 350 mm tapering to 200 mm, soil 18 kN/m³ with φ = 30°, surcharge 10 kPa, μ = 0.55. H = 3.4 m, Pa = 34.7 kN/m and Pq = 11.3 kN/m, overturning moment 58.6 kN·m/m. The stem, base and soil over the heel weigh 143.1 kN/m with a resisting moment of 239.9 kN·m/m, so the factor against overturning is 4.10, against sliding 0.55 × 143.1 ÷ 46.0 = 1.71, and the base pressure is 64.9 kPa at the toe and 49.8 kPa at the heel.
| Check | Usual target | Where it comes from |
|---|---|---|
| Overturning | ≥ 2.0 (working stress) | Common textbook value; IS 456 cl. 20.1 uses 0.9 × restoring ≥ 1.2 × dead + 1.4 × imposed overturning |
| Sliding | ≥ 1.5 (working stress) | Common textbook value; IS 456 cl. 20.2 asks for 1.4 with 0.9 × dead load |
| Eccentricity | e ≤ B/6 | Keeps the whole base in compression |
| Bearing | q max ≤ allowable | From a soil investigation |
How many retaining wall blocks do I need?
Divide the wall length by the block length plus joint and round up for the blocks in one course, then multiply by the courses above ground plus the buried courses. A 9 m wall 0.9 m high in 440 × 215 mm blocks with 10 mm joints is 20 blocks a course × 5 courses = 100 blocks, 105 with 5% extra; caps are 9 ÷ 0.45 = 20, 21 with extra. A US wall 40 ft long and 3 ft high in 16 × 6 inch blocks with one buried course needs 30 × 7 = 210 blocks, about 221 to buy.
Gravel: a 600 × 150 mm compacted base and a 300 mm drainage zone up the back of the wall come to 3.85 m³, about 6.2 tonnes at 1,600 kg/m³. Use the gravel calculator for other stone and the excavation calculator for the trench.
Height limits and permits
In the US, IBC 105.2 exempts from permits only retaining walls up to 4 ft measured from the bottom of the footing that carry no surcharge. In the UK, Australia and India, rules vary by council or local authority, and tall or loaded walls need an engineer. Water building up behind a wall adds a large extra pressure, so always drain it.
Retaining Wall Calculator FAQ
How do I calculate a retaining wall by square feet?
Multiply the wall length by the exposed height for the face area in square feet. The retaining wall calculator also shows blocks and cost per square foot of face, including buried courses and caps.
How much does a retaining wall cost?
Enter your block, cap, gravel and pipe prices and the tool totals the materials and the cost per sq ft or m² of face. Labour, excavation, geogrid and permits are extra.
How deep should the first course be buried?
Usually at least one full course, more for taller walls or sloping ground in front. Follow the block maker’s guide for your height.
What factor of safety is needed for a retaining wall?
Common targets are 2.0 against overturning and 1.5 against sliding, with the resultant inside the middle third of the base. IS 456 clause 20 sets 1.4 against sliding with 0.9 times the dead load.
Does it design the reinforcement?
No. It checks overall stability only. Stem and base reinforcement, drainage details and the soil’s capacity need a qualified engineer.