Raised Bed Soil Calculator — How Much Soil Do I Need?
The Raised Bed Soil Calculator tells you exactly how much growing mix you need to fill any rectangular raised bed — in cubic meters, liters, and bag counts. It uses the fundamental volume formula V = Length × Width × Depth, so a 2 m × 1 m bed filled to 0.3 m depth needs exactly 0.6 m³ (600 L) of soil. Enter your bed dimensions once and skip the mental math — or the expensive mistake of buying too few bags mid-project.
To calculate how much soil a raised bed needs, use: Volume (m³) = Length (m) × Width (m) × Depth (m), then multiply by 1,000 to get liters. A standard 4×8 ft bed at 12 in deep (2.4 m × 1.2 m × 0.3 m) = 0.864 m³ = 864 L ≈ 22 bags of 40 L. Always buy 10–15% extra for settling.
When to use this calculator
- Calculating how many 40 L or 1 cu ft bags of potting mix to buy before building a new raised bed
- Ordering bulk cubic-yard or cubic-meter deliveries of Mel's Mix for a community garden plot
- Determining exact soil volume when converting an in-ground garden to a raised frame to improve drainage in clay soils
- Comparing fill costs between a shallow 15 cm herb bed and a deep 45 cm root-vegetable bed before deciding on frame height
- Estimating total soil needed for multiple beds of different sizes in a backyard layout without measuring each one separately
Example: Standard 4×8 ft bed at 12 in deep
- Convert: 4 ft = 1.22 m, 8 ft = 2.44 m, 12 in = 0.30 m
- V = 1.22 × 2.44 × 0.30 = 0.894 m³
- Liters = 0.894 × 1,000 = 894 L
- Bags of 40 L = ceil(894 ÷ 40) = 23 bags
How it works
2 min readHow It Works
The calculator uses the rectangular prism volume formula:
Volume (m³) = Length (m) × Width (m) × Depth (m)
Liters = Volume (m³) × 1,000
Bags (40 L) = ceil(Liters ÷ 40)
Bags (50 L) = ceil(Liters ÷ 50)All three dimensions must be in meters. If you measure in feet or inches, convert first: 1 ft = 0.3048 m and 1 in = 0.0254 m.
---
Raised Bed Soil Volume Reference Table
Common raised-bed sizes and the soil volume they hold:
| Bed Size | Depth | Volume (m³) | Volume (L) | 40 L bags | 50 L bags |
|---|---|---|---|---|---|
| 1.2 m × 0.6 m (4×2 ft) | 0.15 m (6 in) | 0.108 | 108 | 3 | 3 |
| 1.2 m × 0.6 m (4×2 ft) | 0.30 m (12 in) | 0.216 | 216 | 6 | 5 |
| 2.4 m × 1.2 m (8×4 ft) | 0.15 m (6 in) | 0.432 | 432 | 11 | 9 |
| 2.4 m × 1.2 m (8×4 ft) | 0.30 m (12 in) | 0.864 | 864 | 22 | 18 |
| 2.4 m × 1.2 m (8×4 ft) | 0.45 m (18 in) | 1.296 | 1,296 | 33 | 26 |
| 3.0 m × 1.2 m (10×4 ft) | 0.30 m (12 in) | 1.080 | 1,080 | 27 | 22 |
| 4.0 m × 1.0 m | 0.30 m (12 in) | 1.200 | 1,200 | 30 | 24 |
| 4.0 m × 1.0 m | 0.45 m (18 in) | 1.800 | 1,800 | 45 | 36 |
> Rule of thumb: every extra 5 cm of depth on a standard 2.4 m × 1.2 m bed adds ~144 L (≈3–4 bags of 40 L).
---
Worked Examples
Example 1 — Small herb bed (1 m × 0.5 m × 0.2 m)
V = 1.0 × 0.5 × 0.2 = 0.10 m³ = 100 L
You need 3 bags of 40 L (with 20 L left over for a pot or top-dressing).
Example 2 — Classic square-foot gardening bed (2.4 m × 1.2 m × 0.3 m)
V = 2.4 × 1.2 × 0.3 = 0.864 m³ = 864 L
Mel Bartholomew's recipe: ~288 L compost + ~288 L peat moss + ~288 L coarse vermiculite.
Example 3 — Deep root-vegetable bed (3 m × 1 m × 0.45 m)
V = 3.0 × 1.0 × 0.45 = 1.35 m³ = 1,350 L
At ~$45/cubic yard bulk, 1.35 m³ ≈ 1.77 yd³ → total ~$80 — far cheaper than 34 bags at $8 ($272).
---
Common Mistakes
1. Entering feet as meters. A "4×8 ft" bed is 1.22 m × 2.44 m, NOT 4 m × 8 m. Entering raw feet inflates the result by ~10×.
2. Forgetting settling. Fresh potting mix compacts 10–20% over the first season. Buy 15% extra (multiply result × 1.15).
3. Ignoring the base layer. If your bed sits on loosened native soil you plan to blend, subtract that layer from the purchased-fill depth.
4. Confusing volume with weight. Moist potting mix weighs 400–600 kg/m³ — check your frame's structural capacity before ordering bulk delivery.
5. Rounding bag counts down. Always use ceiling: 864 ÷ 40 = 21.6 → 22 bags, not 21.
Frequently asked questions
How much soil do I need for a 4×8 ft raised bed at 12 inches deep?
A 4×8 ft bed at 12 in depth = 1.22 m × 2.44 m × 0.30 m = 0.894 m³ = 894 L. You need 23 bags of 40 L or 18 bags of 50 L. At typical retail prices (~$8–$9 per 40 L bag), budget $185–$210 USD.
What is the formula to calculate raised bed soil volume?
Volume (m³) = Length (m) × Width (m) × Depth (m). Multiply by 1,000 to get liters. For bag counts, divide by the bag size in liters and round up (ceiling). Example: a 2 m × 1 m × 0.3 m bed = 0.6 m³ = 600 L = 15 bags of 40 L.
What is the ideal soil depth for a raised bed?
Extension services and the USDA recommend at least 20–30 cm (8–12 in) for most vegetables. Shallow-rooted crops (lettuce, herbs) thrive in 15–20 cm; deep-rooted crops (carrots, parsnips, tomatoes) need 30–45 cm (12–18 in). Deeper is better if your budget allows.
What soil mix should I fill a raised bed with?
Mel Bartholomew's widely cited "Mel's Mix" recommends equal thirds by volume: coarse vermiculite, blended compost, and peat moss (or coconut coir). For a 0.864 m³ bed, that's ~288 L of each component. University of Florida IFAS research confirms high-compost mixes consistently outperform native soil for raised-bed yields.
Is it cheaper to buy bags or order bulk soil?
Bulk soil typically costs $30–$60 per cubic yard (≈0.76 m³) vs. $8–$10 per 40 L bag at retail. For beds larger than 0.5 m³ (500 L), bulk delivery saves 40–60% on materials — though delivery minimums ($50–$100) may apply. Smaller single beds are often cheaper to fill with bags.
How do I convert the result from m³ to US cubic feet or cubic yards?
Use: 1 m³ = 35.315 cubic feet and 1 m³ = 1.308 cubic yards. So 0.864 m³ ≈ 30.5 cu ft ≈ 1.13 cu yd. Most US bulk suppliers quote by the cubic yard, so divide your m³ result by 0.7646 to get cubic yards.
Should I overfill my raised bed to account for settling?
Yes — most potting mixes and compost blends settle 10–20% within the first 4–8 weeks due to watering and microbial decomposition. Best practice: overfill by ~15% (multiply your calculated volume by 1.15), or plan to top-dress with 2–5 cm of fresh compost each spring.
Does the formula work for circular or L-shaped beds?
This calculator only handles rectangular beds (V = L × W × D). For a circular bed: V = π × r² × Depth. For an L-shaped bed: split into two rectangles, calculate each volume, and add them together. Hexagonal and triangular beds use their respective area formulas multiplied by depth.
Can I use this calculator for containers and planters?
Yes — any rectangular planter, window box, or trough uses the same V = L × W × D formula. For containers with drainage layers (typically 5–10 cm of gravel at the base), subtract that layer's depth from D when estimating how much actual growing mix you need.