A retaining wall calculator estimates the blocks, cap stones, backfill gravel, drainage materials, and adhesive needed for your retaining wall project. Whether you are terracing a hillside, creating raised garden beds, or preventing soil erosion, this tool helps you order the right quantity of materials and estimate total project cost — so you avoid expensive extra trips to the supply yard.
Wall Estimator
Wall Dimensions
Cost Estimator (optional)
Engineering Required
Retaining walls over 4 feet tall typically require a building permit and engineered design by a licensed professional. Check your local building codes before starting construction.
Materials Breakdown
Cost Estimate
Material costs only. Does not include delivery, labor, equipment rental, landscape fabric, adhesive, or drainage pipe.
Retaining Wall Block Reference
| Block Type | Dimensions (L × H × D) | Typical Weight | Best For |
|---|---|---|---|
| Standard | 12" × 4" × 8" | ~30 lbs | Garden borders, walls up to 2 ft |
| Large | 16" × 6" × 12" | ~50 lbs | Structural walls, terracing 2-4 ft |
| Natural Stone | Variable (~6" face) | Varies | Decorative walls, garden features |
Block dimensions and weights vary by manufacturer. Verify with your supplier before ordering. Actual block sizes may differ by ±0.5 inches.
How to Use the Retaining Wall Calculator
Building a retaining wall requires careful material planning. Ordering too few blocks means delays and extra delivery charges. Ordering too many leaves you with heavy surplus that is expensive to return. This retaining wall calculator estimates every material you need — blocks, cap stones, backfill gravel, drainage stone, landscape fabric, and construction adhesive — so you can plan accurately and budget with confidence.
Step 1: Enter Wall Dimensions
Measure the total length of your retaining wall in feet and the desired finished height. If your wall changes height along its run (for example, following a slope), use the average height. The calculator uses these dimensions to determine how many courses (horizontal rows) of blocks you need and how many blocks fit across each course.
Step 2: Choose Your Block Type
Select from three common block sizes. Standard blocks (12" × 4" × 8") are the most popular choice for garden borders and low walls. Large blocks (16" × 6" × 12") build faster and provide more structural mass for taller walls. Natural stone uses an approximate 6-inch face height for irregular stone walls. Each block type produces different course counts and materials requirements, so choosing the right one is important for an accurate estimate.
Step 3: Review Your Materials List
The calculator instantly displays the total number of blocks (with 5% waste for cuts), cap stones for the top row, and all supporting materials. Base gravel is calculated as a 6-inch deep, 24-inch wide compacted bed beneath the first course. Backfill gravel fills behind the wall at roughly 1 cubic foot per linear foot per foot of height. Drainage gravel accounts for a perforated pipe bed along the wall base. Landscape fabric and construction adhesive quantities are calculated from your wall dimensions automatically.
Step 4: Understand Setback
Most retaining wall systems step each course back approximately 1 inch for structural stability. The calculator shows the total setback based on the number of courses so you can plan the wall's footprint. For example, a wall with 9 courses will lean back about 9 inches from base to top. This setback is critical for the wall's structural integrity and should be accounted for in your site layout.
Step 5: Estimate Project Costs
Enter your local per-unit prices for blocks, cap stones, and gravel to see a material cost estimate. Retaining wall blocks typically range from $2 to $6 each depending on size and style, while cap stones run $4 to $10 each. Gravel costs $30 to $50 per ton in most areas. The cost estimate covers materials only — factor in delivery, drainage pipe, landscape fabric, adhesive, and any labor or equipment rental separately. For walls over 4 feet tall, budget for professional engineering plans as well.
Frequently Asked Questions
Is this retaining wall calculator free to use?
Yes, this retaining wall calculator is completely free with no signup, no paywalls, and no usage limits. All calculations run entirely in your browser — your project dimensions are never sent to any server and remain private on your device.
Is my data private when using this tool?
Absolutely. Every calculation runs locally in your browser using client-side JavaScript. No measurements, project details, or personal information are ever transmitted to a server. Your data stays entirely on your device.
How many retaining wall blocks do I need?
It depends on your wall length, height, and block size. The calculator divides wall height by block height to get the number of courses, then divides wall length by block length to get blocks per course, and multiplies them together. A 5% waste factor is added for cuts and breakage.
Do I need a permit for a retaining wall?
Most municipalities require a building permit for retaining walls over 4 feet tall. Walls of this height also typically require engineering plans from a licensed structural or geotechnical engineer. Always check your local building codes before starting construction.
What is the setback on a retaining wall?
Setback is the backward lean built into each course of blocks for structural stability. Most retaining wall blocks have a built-in lip or pin system that creates approximately a 1-inch setback per course. This means each row sits about 1 inch farther back than the one below it.
How much gravel do I need behind a retaining wall?
You need backfill gravel behind the wall to provide drainage and reduce hydrostatic pressure. A common rule of thumb is 1 cubic foot of gravel per linear foot of wall per foot of height. The calculator estimates this automatically based on your wall dimensions.
What type of gravel goes behind a retaining wall?
Use clean, angular crushed stone (typically 3/4-inch minus) for backfill behind a retaining wall. This aggregate drains well and does not retain water. For the base layer beneath the first course, use compactable gravel such as road base or crusher run, spread 6 inches deep and compacted firmly.
Do I need landscape fabric behind a retaining wall?
Yes, landscape fabric (also called filter fabric or geotextile) is placed between the backfill gravel and the soil behind the wall. It prevents soil from migrating into the gravel and clogging the drainage system while still allowing water to pass through.