Kipi Calculator RETAINING WALL BLOCK COUNTER by Kipi Calculator
🌐 Español

Retaining Wall Calculator

    Which block are you using?

    Pick the block size — the math adjusts.

    How big is the wall?

    Length along the hill, height from the buried base to the top.

    Include the buried first course in the height — it counts.

    Top it with caps?

    Cap blocks finish the top course and shed water.

    Your block count

    Waste allowance Starts at 0% — tap to add a cushion for cuts & breakage.

    Buy this many blocks

    –

    Exact blocks
    –
    Blocks to order
    –
    Cap blocks
    –
    Base gravel
    –

    🌧️ Full drainage package

    Water pressure is what kills retaining walls — these are figured with every wall. Geogrid is added only when the height calls for it.

    Perforated drain pipe
    –
    Drainage gravel (behind wall)
    –
    Geogrid reinforcement
    –

      💡 Pro field tips

        🧰 Tools you'll need

        Tap to check off as you load up.

        Est. project cost (optional)

        File this estimate under a job name or PO to track what to order. Leave blank to file under "General".

        How the math works

        A retaining wall is a wrestling match with a hillside, and the hillside cheats — it pushes harder every time it rains. The math behind a wall that stands for decades has four parts: courses of block, blocks per course, how far each course leans back, and the drainage rock that keeps water from becoming a battering ram.

        How the calculator counts blocks: face area

        Blocks = Wall face area (length × height) ÷ 0.889 ft² per standard block, rounded UP

        The calculator works from the wall's face area, not course by course: a 20 ft × 3 ft wall has 60 ft² of face, and 60 ÷ 0.889 = 67.49 → 68 blocks. Include the buried first course in the height you enter — it counts. Skipping the buried course is the most common DIY mistake, and it's why so many weekend walls lean by year three.

        Cap blocks and base gravel

        Cap blocks = Wall length ÷ 1 ft per cap · Base gravel = Length × 1.5 ft wide × 0.5 ft deep ÷ 27

        That same 20-ft wall takes 20 cap blocks, and its base pad — a 1.5-ft-wide, 6-inch-deep gravel bed under the wall — takes 20 × 1.5 × 0.5 ÷ 27 = 0.56 yd³ of gravel.

        Setback: why good walls lean back

        Each course steps back about ¾ inch — called batter — and it's structural, not decorative. Soil pushes horizontally, trying to topple the wall forward; leaning back aims the wall's own weight against that push, like a wrestler leaning into a shove. A plumb wall against a tall slope is quietly planning its collapse.

        Drainage rock: the part everyone skips

        Waterlogged soil weighs nearly twice what dry soil does, and trapped water pushes with hydrostatic pressure — the number-one wall killer. The defense: 12 inches of clean ¾-inch gravel behind the wall, fabric-wrapped, with a perforated drain pipe at the base:

        Drainage rock = Length (ft) × 1 ft × Height (ft) ÷ 27 cubic yards — and this calculator figures it for you, in cubic yards and in tons (1.4 tons per cubic yard, the same conversion the gravel calculator uses). The perforated drain pipe run is one linear foot of pipe per foot of wall.

        For a 20-ft by 3-ft wall that is 20 × 1 × 3 ÷ 27 = 2.22 cubic yards — about 3.11 tons — plus 20 linear feet of perforated drain pipe. Order it separately from the base gravel above. Skip this and you're building a dam, not a wall — and dams fail dramatically.

        Worked example: 20 ft × 3 ft wall

        • Face area 20 × 3 = 60 ft² → 60 ÷ 0.889 = 67.49 → 68 blocks; 20 cap blocks
        • Base gravel: 0.56 cubic yards for the base pad. Drainage package: 2.22 yd³ of drainage gravel (about 3.11 tons) and 20 linear feet of perforated drain pipe. Geogrid: not typically needed — this wall is 3 ft, at or under the 4-ft line.
        • Waste factor: tap a waste chip to add for chipped cuts and cracked setters — at 10% the order is 75 blocks and 22 caps.

        Walls over 4 feet usually need an engineer's stamp and geogrid reinforcement — that's permit territory, not weekend math.

        Show Your Work

        Here is why each number in the drainage package is what it is — no mystery math, just the standard way these walls are built.

        The 12-inch drainage zone: water pressure is what kills walls

        A retaining wall rarely fails because the soil is heavy. It fails because the soil got wet. Rain soaks in behind the wall, the water has nowhere to go, and it pushes on the back of the wall with hydrostatic pressure — steady, silent, and strong enough to bow or topple block that stood fine all summer. The fix is a chimney of clean drainage gravel 12 inches (1 ft) wide, directly behind the wall, for the full wall height. Water falls through the gravel instead of building pressure, reaches the pipe at the bottom, and leaves. That is why the calculator figures drainage gravel as length × 1 ft × height ÷ 27, and converts it at 1.4 tons per cubic yard — the same conversion the gravel calculator uses.

        The 6-inch compacted base: a level, stable footing

        Block stacked on bare dirt inherits every soft spot and slope in that dirt. A 6-inch compacted gravel base, 1.5 ft wide, spreads the wall's weight, gives the first course a flat, level place to sit, and drains water away from the footing instead of letting it soften the soil under the wall. The first course sits buried on that base — get the base level and compacted, and every course above it is easier and straighter.

        The drain pipe: one foot of pipe per foot of wall

        The perforated drain pipe sits at the bottom of the drainage zone and runs the full length of the wall, daylighted out the end or tied into a drain, so the water the gravel collects has somewhere to go. That is why the pipe count is simple: linear feet of pipe = wall length.

        Geogrid: only when the height calls for it

        Geogrid is a strong mesh laid between courses and stretched back into the soil, tying the wall and the hillside together. Standard practice on segmental block walls: walls 4 ft and under do not typically need it, and this calculator shows geogrid as not typically needed at those heights — it never silently adds it. Over 4 ft, the calculator figures one layer for every 2 ft of height (layers no more than 24 inches apart), with each layer extending back at least 60% of the wall height, and never less than 4 ft — the minimum length and maximum spacing in CMHA/NCMA segmental-wall guidance. Square feet = wall length × layer length × number of layers. A wall over 4 ft usually also needs a permit and an engineered design — always follow the block manufacturer's instructions and local code, and let the engineered design overrule these planning numbers.

        Worked example: 30 ft × 6 ft wall (standard block, with caps, no waste added)

        • Blocks: face 30 × 6 = 180 ft² → 180 ÷ 0.889 = 202.47 → 203 blocks; 30 cap blocks; base gravel 30 × 1.5 × 0.5 ÷ 27 = 0.83 yd³
        • Drain pipe: 30 linear feet — one foot of pipe per foot of wall
        • Drainage gravel: 30 × 1 × 6 ÷ 27 = 6.67 yd³ → 6.67 × 1.4 = 9.34 tons
        • Geogrid: 6 ft is over the 4-ft line → 3 layers (one per 2 ft of height), each extending 4 ft back (60% of 6 ft is 3.6 ft, so the 4-ft minimum governs) → 30 × 4 × 3 = 360 ft²

        Most Asked Questions

        How many blocks do I need for a 20 ft × 3 ft wall?

        68 standard blocks, plus 20 cap blocks. The calculator counts the wall's face — 20 × 3 = 60 ft² — and divides by 0.889 ft² per standard block (8×16 in), rounding up. That count includes the buried first course, so enter your full height with the buried course counted in.

        How does the calculator count blocks — by rows or by area?

        By face area, not row by row. It divides the wall's square footage by the block's face size, which handles a partial top course automatically. Cross-check by hand if you like: a standard block is 16 inches long, so a 20-ft wall lays 15 blocks per course.

        How many cap blocks do I need?

        One cap per foot of wall. A 20-ft wall takes 20 caps at the exact count. Tap a waste chip and the caps grow by the same percentage — 22 caps at +10%.

        How much gravel does the wall need?

        Two gravel numbers, figured separately. The base pad is 0.56 yd³ for a 20-ft wall — a gravel bed 1.5 ft wide and 6 inches deep under the blocks. The drainage gravel behind the wall is 2.22 yd³ (about 3.11 tons) for that same 20 ft × 3 ft wall — a 12-inch zone running the full height — plus 20 linear feet of perforated drain pipe at its base. Order the two gravels separately; they do different jobs.

        How tall can I build a retaining wall without an engineer?

        Keep it at 4 feet or under without one. Past 4 ft, most jurisdictions want an engineered design and a permit — the calculator itself flags you when the height you enter goes over 4 ft. Taller walls also need geogrid reinforcement, which is permit territory, not weekend math.

        How much extra should I add for cuts and breakage?

        Your call — the calculator starts at 0% and the order stays the exact count until you tap a waste chip. Most people tap +10%: on the 20 × 3 ft example that takes the order from 68 to 75 blocks and 20 to 22 caps. Blocks chip and crack in transit, and one block short stops a course cold.

        Do I need geogrid for a 3 foot retaining wall?

        No — not typically. Geogrid reinforcement typically starts being needed on segmental walls over about 4 ft tall, so a 3-ft wall's result shows geogrid as not typically needed. A slope or driveway above the wall, poor soil, the block manufacturer's instructions, or local code can change that — always follow the manufacturer and local code first.

        How much drainage stone behind a retaining wall?

        Plan a 12-inch (1-ft) zone of clean drainage stone directly behind the wall, full height. The volume is length × 1 ft × height ÷ 27. For a 20 ft × 3 ft wall that is 20 × 1 × 3 ÷ 27 = 2.22 yd³ — about 3.11 tons at 1.4 tons per cubic yard — plus 20 linear feet of perforated drain pipe at the base of the zone to carry the water out.

        What do you put under a retaining wall base?

        Compacted gravel — crushed stone that locks together when you compact it. The calculator figures a base pad 1.5 ft wide and 6 inches deep: 0.56 yd³ for a 20-ft wall. Spread it, compact it, and level it before the first course goes down. Loose, uncompacted base is just dirt with better marketing.

        How deep should a retaining wall base be?

        6 inches of compacted gravel, with the first course buried. That 6-inch pad is the footing the whole wall stands on — it spreads the load and keeps the first course level. Burying the first course locks the bottom of the wall in place; a wall that starts at ground level on loose soil is a wall that leans.

        Next calculation

        One job usually leads to the next number. Common next steps from here:

        Embed this calculator on your site

        Run a DIY, contractor, or supplier site? Put this retaining wall calculator right on your page, free. Copy the code and paste it where you want it — your visitors get the numbers without leaving your site.

        Free to use. The small “Powered by Kipi Calculator” line at the bottom of the calculator stays on — that’s all we ask.