Raised Bed Soil Calculator
Enter your bed's length, width, and height to get the total soil volume, a suggested topsoil / compost / aerator mix, and bag counts rounded up to what you can buy.
Volume (ft³)
35.2
Volume (yd³)
1.31
1.5 ft³ bags
24
- 21.2 ft³
Screened Topsoil
Provides mineral base and structure.
- 10.6 ft³
Finished Organic Compost
Adds beneficial biology, slow-release nutrients and organic matter.
- 3.6 ft³
Perlite or Pumice (Aerator)
Improves drainage and prevents soil crusting.
How we calculate this
Volume = length (ft) × width (ft) × height (in ÷ 12), converted to cubic yards by dividing by 27. We add your waste margin (10% by default) on top, then split the total into a topsoil / compost / aerator mix by percentage. Bag counts are rounded up — you can always have a little extra soil, never too little.
Estimates only. Check local codes and product labels. Read our full disclaimer.
Popular Standard Sizes & Material Takeoffs
Instant material lists, bag counts, and buying guides pre-calculated for standard project dimensions:
4×8 ft
A standard 4x8 raised bed 12 inches deep requires 32 cubic feet (1.19 cubic yards) of soil. Exact bag counts for 2 cu ft and 1.5 cu ft bags plus 10% settling.
4×4 ft
A 4x4 raised garden bed 12 inches deep holds 16 cubic feet (0.59 cubic yards) of soil. Find exact bag counts and soil recipes for square foot gardens.
3×6 ft
Calculate exact soil needed for a 3x6 raised bed 12 inches deep: 18 cubic feet, 0.67 cubic yards, or 9 bags of 2 cu ft soil.
2×4 ft
A compact 2x4 raised bed 12 inches deep needs 8 cubic feet of soil (4 bags of 2 cu ft mix). Perfect for balcony and patio planters.
4×12 ft
A large 4x12 raised bed 12 inches deep requires 48 cubic feet (1.78 cubic yards) of soil. Compare 24 bags vs bulk delivery costs.
Soil for common raised bed sizes
| Bed size | Depth | Soil (cu ft) | Cubic yards | 2 cu ft bags |
|---|---|---|---|---|
| 2×4 ft | 12 in | 8.8 | 0.33 | 5 |
| 3×6 ft | 12 in | 19.8 | 0.74 | 10 |
| 4×4 ft | 12 in | 17.6 | 0.66 | 9 |
| 4×8 ft | 6 in | 17.6 | 0.66 | 9 |
| 4×8 ft | 12 in | 35.2 | 1.31 | 18 |
| 4×8 ft | 18 in | 52.8 | 1.96 | 27 |
| 4×12 ft | 12 in | 52.8 | 1.96 | 27 |
FAQ
How many bags of soil do I need for a 4×8 raised bed?
A 4×8 ft bed filled 12 in deep holds 32 cu ft. With a 10% margin for settling that's about 35.2 cu ft, or 18 bags of 2 cu ft (24 bags of 1.5 cu ft).
What soil mix should I fill a raised bed with?
The calculator defaults to 60% topsoil, 30% compost and 10% aerator (perlite, vermiculite or pumice), a common all-purpose blend for vegetables. Plain topsoil alone packs down in a contained bed; the compost adds nutrients and the aerator keeps it draining.
Should I buy bagged or bulk soil?
Bulk soil is sold by the cubic yard (27 cu ft) and usually costs less per cubic foot, but most suppliers have a delivery minimum. For less than about 1 cubic yard, bags are often simpler. Enter both prices in the shopping list to compare.
How much does one cubic yard of soil fill?
One cubic yard is 27 cu ft: enough for a 4×8 ft bed about 10 in deep, or a 4×4 ft bed about 20 in deep.
Embed this calculator
Run a gardening blog or a landscaping business? Add this calculator to your own site for free. Paste the code below into any page; it stays up to date automatically.
Related guides
Plants to grow
- Artichoke
- Arugula
- Asparagus
- Basil
- Beet
- Bell Pepper
- Blackberry
- Blueberry
- Bok Choy
- Broccoli
- Brussels Sprouts
- Cabbage
- Calendula
- Cantaloupe
- Carrot
- Cauliflower
- Celery
- Chives
- Cilantro
- Collard Greens
- Cucumber
- Dill
- Eggplant
- Fava Bean
- Fennel
- Garlic
- Green Beans
- Jalapeño
- Kale
- Kohlrabi
- Lavender
- Leek
- Lettuce
- Marigold
- Mint
- Mustard Greens
- Okra
- Onion
- Oregano
- Parsley
- Parsnip
- Peas
- Potato
- Pumpkin
- Radicchio
- Radish
- Raspberry
- Rosemary
- Rutabaga
- Sage
- Shallot
- Spinach
- Strawberry
- Sunflower
- Sweet Corn
- Sweet Potato
- Swiss Chard
- Thyme
- Tomato
- Turnip
- Watermelon
- Yellow Squash
- Zucchini
Related: Raised bed guides · Raised Bed Lumber Calculator





























