Measuring for a retaining wall means capturing four key numbers: the total length of the wall, the height difference it needs to cover, the slope of the ground, and the depth of the trench you’ll dig for the base. Get these right and everything else (block count, gravel volume, cost estimates) falls into place. Here’s how to take each measurement and turn it into a materials list.
Measure the Length and Height
Start with the length. Drive a stake at each end of where you want the wall to go, stretch a string line between them, and measure the string with a tape measure. If your wall curves or follows an irregular path, measure it in straight segments and add them together. This total length is the number you’ll use for every other calculation.
Height is slightly trickier because the ground rarely drops evenly. Place a long, straight board or a level on the high side of the slope so it extends out horizontally over the low side. Measure straight down from the board to the ground at the lowest point. That vertical distance is the “exposed height” your wall needs to cover. If the grade changes along the wall’s path, take height measurements every 8 to 10 feet and note where the ground is highest and lowest. You may need a stepped design if the height varies significantly from one end to the other.
How to Measure Slope
Slope tells you how steeply the ground drops across the area behind (or in front of) your wall. The simplest way to find it is the rise-over-run method. Measure the vertical drop between two points (the rise) and divide it by the horizontal distance between them (the run). A 3-foot drop over a 12-foot horizontal distance, for example, gives you a slope of 0.25, or 25%.
For the horizontal distance, pull your tape measure taut and level between the two stakes. For the vertical distance, you can hold a level out from the high point and measure down to the ground, or use a line level on a string. A smartphone with a gyroscope sensor can also give you the angle of incline if you lay it flat on the slope surface. If you need high precision, a clinometer or a surveyor’s transit paired with a leveling rod will get you there. For most residential walls under 4 feet, the tape-and-level method works fine.
Plan the Trench and Base
Every retaining wall sits on a compacted gravel base buried below grade. The standard trench dimensions are about 12 inches deep and 24 inches wide, running the full length of the wall. You’ll fill the bottom 6 inches with compacted gravel (processed gravel or 3/4-inch crusher run, tamped in 2- to 3-inch layers), then set the first course of blocks on top. That means roughly the bottom course of your wall will be underground and invisible, so factor that into your height calculation. If your exposed height needs to be 3 feet, your total wall height including the buried course will be closer to 3 feet 6 inches.
To figure out how much trench material you need, multiply the trench length by its width (2 feet) by the gravel depth (0.5 feet). A 30-foot wall, for example, needs about 30 cubic feet of base gravel, or just over 1 cubic yard.
Calculate Block Count
Once you have total length and total height (including the buried course), the math is straightforward. Divide the wall length by the length of one block to get blocks per row. Divide the total wall height by the height of one block to get the number of rows. Multiply those two numbers together for your total block count.
You can also work from square footage. Multiply your wall’s length by its total height to get the square footage of the wall face. Then divide by the face area of a single block. Common block sizes break down like this:
- Small blocks: about 0.17 square feet of face per stone
- Medium blocks: about 0.32 square feet per stone
- Large blocks: about 0.67 square feet per stone
A 30-foot-long, 3.5-foot-tall wall has 105 square feet of face area. With medium blocks, that’s roughly 328 blocks (105 ÷ 0.32). Order 5 to 10% extra for cuts and breakage.
Account for Wall Setback
Most retaining wall blocks are designed to lean slightly back into the slope. This lean, called batter, keeps the wall stable under soil pressure. A common setback angle is about 12 degrees from vertical. Blocks with gentler profiles use 3- or 6-degree setbacks.
This matters for measuring because each row steps back slightly from the one below it, eating into the space behind the wall. At a 12-degree batter, the wall’s top face sits roughly 2.5 inches behind the base for every foot of height. A 4-foot wall will lean back about 10 inches total. If you’re building near a property line, fence, or structure, measure the available horizontal space and confirm the finished wall won’t encroach where it shouldn’t.
Measure for Drainage Gravel
Behind every retaining wall, you need a column of drainage gravel at least 12 inches thick running the full height and length of the wall. This gravel layer lets water pass through instead of building up pressure against the blocks.
To calculate the volume, multiply three numbers: the gravel thickness (at least 1 foot), the wall length, and the wall height. For a 30-foot wall that’s 10 feet tall, that’s 1 foot × 30 feet × 10 feet = 300 cubic feet, or about 11 cubic yards. For a more typical residential wall at 3.5 feet tall and 30 feet long, you’d need 1 × 30 × 3.5 = 105 cubic feet, or about 3.9 cubic yards. Gravel is sold by the cubic yard, so divide your cubic footage by 27 to convert.
Check for Surcharge Loads
If anything heavy sits near the top of the wall (a driveway, a patio, a shed, a parked vehicle), it pushes additional force into the soil behind the wall. This is called a surcharge load, and it directly affects how strong your wall needs to be. The closer the load is to the wall, the greater the pressure. Research on surcharge effects shows that distance from the wall matters more than the weight or size of the load itself, and the effect drops off sharply as you move farther away.
As a general rule, anything within a distance equal to the wall’s height deserves attention. A 4-foot wall with a driveway 3 feet behind the top, for instance, is well within the influence zone and will need reinforcement beyond a simple gravity wall. Measure the horizontal distance from the back face of the wall to the nearest edge of any heavy structure or traffic area, and note it alongside your other measurements.
When Your Wall Needs Engineering
Most municipalities allow you to build a retaining wall without a permit as long as the total height from the bottom of the footing to the top of the wall stays under 4 feet and the wall is at least 5 feet from any building or property line. Once you exceed that 4-foot threshold, or if you’re dealing with wet or unstable soils, slopes above the wall, terraced designs, or heavy surcharge loads like a driveway, the project typically requires engineered plans and a building permit.
Take your measurements (total height including buried course, distance to structures, slope readings, and notes about drainage or loads) to your local building department before buying materials. They’ll tell you whether your project falls under the permit-free category or needs a structural engineer’s stamp. Getting this answer early can save you from tearing out a wall that doesn’t meet code.

