Photo: Atlantic Ambience / Pexels

Raised bed soil calculator

How much soil your beds hold, how many bags that is, and how to split it into a mix an extension service recommends.

Measure your raised beds and I'll work out how much soil to buy.
Units
Beds
Mix and bags

You need

Cubic feet
26.7
Cubic yards
0.99
Litres
755
Bags
14of 2 cubic feet

How the numbers are worked out

Volume is length × width × depth for each bed, times the number of beds, converted to feet. The example above is one 8 × 4 ft bed, 10 in deep: 8 × 4 × (10 ÷ 12) = 26.7 cubic feet.

Conversions use exact factors: 1 cubic yard = 27 cubic feet, and 1 cubic foot = 28.316846592 litres3. Bags are rounded up.

Check the bag. Bag sizes differ by product. Compressed bales (peat, coir) are labelled with their compressed volume, so a bale fills more than its label says, by an amount the label may not state4. The calculator treats every bag as loose fill. Soil also settles after watering, which these numbers do not include.

Depth

  • On hardscape or compacted soil, beds for lettuce, beans, cucumbers should be at least 8 inches deep1.
  • On hardscape or compacted soil, beds for peppers, tomatoes, zucchini should be at least 12-24 inches deep1.

Sources

  1. University of Maryland Extension, Home and Garden Information Center (Maryland Grows blog), Filling your raised bed, April 19, 2019; updated March 18, 2022. Retrieved 2026-11-02.
  2. Iowa State University Extension and Outreach, Yard and Garden, What would be a good soil mix for a raised bed?, Last updated 2026-04-20 (page metadata). Retrieved 2026-11-02.
  3. National Institute of Standards and Technology, NIST Handbook 44 (2026), Appendix C: General Tables of Units of Measurement, 2026 edition. Retrieved 2026-11-02.
  4. National Institute of Standards and Technology (as adopted by the National Conference on Weights and Measures), NIST Handbook 130 (2026), Section IV.B: Uniform Regulation for the Method of Sale of Commodities, 2026 edition. Retrieved 2026-11-02.
  5. Colorado State University Extension, Vegetable Planting Guide (CMG GardenNotes #720), reviewed September 2024. Retrieved 2026-11-02.