An 8 ft × 4 ft raised bed filled 12 inches deep needs 1.19 cubic yards of soil — so you order 1.25 cubic yards. The calculation is length × width × depth in feet, divided by 27: 8 × 4 × 1 = 32 cubic feet, and 32 ÷ 27 = 1.19.
Garden beds are where the cubic yard calculation earns its keep twice over: once for the soil that fills the bed, and once for the mulch that covers it. The formula is the same one used for concrete — length × width × depth in feet, divided by 27 — but the depths are bigger and the material settles, so the waste allowance works differently. A free cubic yard calculator runs the same calculation for any bed shape; the examples below show the arithmetic step by step.
How Deep Should Garden Bed Soil Be?
Depth is the first decision, and it depends on what you are growing:
- 6 inches — shallow-rooted herbs, lettuce, and salad greens.
- 8–10 inches — most vegetables and flowers in a raised bed.
- 12 inches — the standard raised-bed depth. Deep enough for tomatoes, root vegetables, and perennials, and the depth most bagged “raised bed mix” is sold for.
- 18 inches — deep-rooted crops and beds built on poor or compacted ground, where roots need the full depth of good soil.
How to Calculate Cubic Yards for a Garden Bed, Step by Step
Step 1: Measure the bed in feet
Measure the inside length and width of the bed — the space the soil will actually occupy, not the outside of the boards.
Step 2: Convert the depth to feet
Divide inches by 12: 6 inches = 0.5 feet, 8 inches = 0.67 feet, 12 inches = 1 foot, 18 inches = 1.5 feet.
Step 3: Multiply length × width × depth
The result is cubic feet. For our 8 × 4 bed at 12 inches: 8 × 4 × 1 = 32 cubic feet.
Step 4: Divide by 27
Divide cubic feet by 27 to get cubic yards. For the example: 32 ÷ 27 = 1.19 cubic yards.
Step 5: Round up and allow for settling
Soil settles 10–20% in the first weeks as it compacts and the organic matter breaks down, so round up to the nearest quarter yard and plan to top up. For the example bed, 1.19 rounds up to 1.25 cubic yards, and a bag of compost for topping up later is cheap insurance.
Worked Example 1: An 8 ft × 4 ft Raised Bed, 12 Inches Deep
The standard raised bed, and the number to remember:
- Volume in cubic feet: 8 × 4 × 1 = 32 cubic feet.
- Volume in cubic yards: 32 ÷ 27 = 1.19 cubic yards.
- Order: round up to 1.25 cubic yards.
In bags, 32 cubic feet is 16 bags of 2 cubic foot soil (32 ÷ 2 = 16 exactly). If you are filling several beds, price the bulk order: three 8 × 4 beds need 3 × 1.19 = 3.57 cubic yards, so order 4.
Worked Example 2: A 4 ft × 4 ft Square Bed, 6 Inches Deep
The small square bed — the most common first bed for a new gardener:
- Depth in feet: 6 inches ÷ 12 = 0.5 feet.
- Volume in cubic feet: 4 × 4 × 0.5 = 8 cubic feet.
- Volume in cubic yards: 8 ÷ 27 = 0.30 cubic yards.
- Order: 8 cubic feet of bagged soil — 4 bags of 2 cubic feet.
A bed this small is not worth a bulk delivery — buy bags instead. Four 2 cubic foot bags give exactly the 8 cubic feet this bed needs.
Worked Example 3: Mulch for a 10 ft × 10 ft Bed, 3 Inches Deep
Mulch uses the same formula with a shallower depth — and it is the calculation gardeners repeat most often, every spring:
- Depth in feet: 3 inches ÷ 12 = 0.25 feet.
- Volume in cubic feet: 10 × 10 × 0.25 = 25 cubic feet.
- Volume in cubic yards: 25 ÷ 27 = 0.93 cubic yards.
- Order: round up to 1 cubic yard, or 13 bags of 2 cubic foot mulch (25 ÷ 2 = 12.5, rounded up).
This is the same 25 cubic feet as the 10 × 10 concrete slab in our lead example — the volume does not care what the material is. One cubic yard of mulch spread 3 inches deep covers 108 square feet, which is why a single yard handles a 10 × 10 bed with a little to spare. Our guide to how much a cubic yard covers has the full coverage table by depth.
Soil Volumes for Common Raised Bed Sizes
All figures at the standard 12-inch depth:
| Bed size | Cubic feet | Cubic yards | Order |
|---|---|---|---|
| 4 ft × 4 ft | 16 | 0.59 | 0.75 cubic yards (or 8 bags) |
| 4 ft × 8 ft | 32 | 1.19 | 1.25 cubic yards |
| 3 ft × 6 ft | 18 | 0.67 | 0.75 cubic yards |
| 4 ft × 12 ft | 48 | 1.78 | 2 cubic yards |
| 8 ft × 8 ft | 64 | 2.37 | 2.5 cubic yards |
| 4 ft × 4 ft, 6 in deep | 8 | 0.30 | 4 bags of 2 cu ft |
How Much Mulch Does a Garden Bed Need?
Mulch is spread thinner than soil — 2 to 3 inches is the right depth for weed suppression and moisture retention — so one cubic yard goes further:
| Area | Depth | Cubic feet | Cubic yards |
|---|---|---|---|
| 10 ft × 10 ft | 2 inches | 16.67 | 0.62 |
| 10 ft × 10 ft | 3 inches | 25.00 | 0.93 |
| 10 ft × 20 ft | 3 inches | 50.00 | 1.85 |
| 20 ft × 20 ft | 3 inches | 100.00 | 3.70 |
| 20 ft × 30 ft | 2 inches | 100.00 | 3.70 |
Two rules for mulch: never pile it against tree trunks or plant stems — the “mulch volcano” rots bark — and never spread it more than 4 inches deep, or it can smother roots and stay soggy. If your beds need both soil and mulch, order them as separate lines: the soil goes in first, the mulch on top, and the volumes are calculated separately. A free how to calculate cubic yards tool handles circles and L-shaped beds too, if your bed is not a rectangle.
Soil, Topsoil, and Compost: What to Order
The word “soil” covers three different products, and ordering the wrong one wastes money:
- Topsoil — the base fill. Cheap, mostly mineral, few nutrients. Use it to fill the bulk of a deep bed, then top it with better material.
- Garden soil / raised bed mix — topsoil blended with compost and organic matter. The right choice for filling a bed you will plant in immediately. This is what the volumes in this guide assume.
- Compost — pure organic matter. Use it as a 2–3 inch top layer or mixed into topsoil at about one part compost to three parts topsoil — not as the whole fill, or it will shrink dramatically as it breaks down.
A good recipe for an 8 × 4 bed at 12 inches deep: 0.60 cubic yards of topsoil on the bottom, 0.45 cubic yards of raised bed mix on top, and a 2-inch compost layer (8 × 4 × (2 ÷ 12) = 5.33 cubic feet, or 0.20 cubic yards) mixed into the surface. That totals 0.60 + 0.45 + 0.20 = 1.25 cubic yards — exactly the volume the calculation gives, split across the products that do each job best.
Common Mistakes When Calculating Soil for a Garden Bed
- Measuring the outside of the bed. The boards have thickness. A nominal 8 × 4 bed holds slightly less than 32 cubic feet — rounding to the nominal size is fine, because the excess covers settling, but do not add a margin on top of the nominal size.
- Forgetting that soil settles. Fresh soil compacts 10–20% in the first month. Fill the bed to the brim, not to the level you want it to end at, and keep a bag of compost for topping up.
- Ordering compost as the whole fill. Pure compost shrinks as it decomposes. A bed filled with compost alone can lose a third of its depth in a season. Mix it with topsoil or use it as a top layer.
Frequently Asked Questions
How many cubic yards of soil do I need for a 4×8 raised bed?
At 12 inches deep, a 4 × 8 bed needs 32 cubic feet, which is 1.19 cubic yards — order 1.25 cubic yards. At 6 inches deep it needs half that: 16 cubic feet, or 0.59 cubic yards.
How many bags of soil fill a raised bed?
Divide the bed’s cubic feet by the bag size. An 8 × 4 bed at 12 inches deep is 32 cubic feet, so it takes 16 bags of 2 cubic foot soil. A 4 × 4 bed at 6 inches deep is 8 cubic feet, so 4 bags.
How deep should soil be in a raised garden bed?
12 inches is the standard depth — enough for tomatoes, root vegetables, and perennials. Shallow herbs and lettuce manage in 6 inches; deep-rooted crops benefit from 18 inches.
How much mulch do I need for a 10×10 garden?
At the standard 3-inch mulch depth, a 10 × 10 area needs 25 cubic feet, or 0.93 cubic yards — order 1 cubic yard, or 13 bags of 2 cubic foot mulch.
Does garden soil settle after filling?
Yes — expect 10–20% settling in the first few weeks as the soil compacts. Fill the bed to the brim and keep a bag of compost handy to top it up after a month.
Can I use the cubic yard formula for round garden beds?
Yes. Find the area with π × radius², multiply by the depth in feet, then divide by 27. A round bed 6 feet across and 12 inches deep is 3.1416 × 3² × 1 = 28.27 cubic feet, or 1.05 cubic yards — order 1.25.
