Soil Volume Calculator
This tool was built by Serge (MSc) using established science and government sources. My academic background covers plant biology, environmental biology, and biogeochemistry. My tools are for educational purposes and give practical guidance, not professional advice.
Filling a raised bed or a large pot takes more soil than most people expect, and buying too little means a second trip to the store. This calculator works out how much soil you need from your bed or pot size. It gives you the volume in litres and cubic feet, plus a rough number of bags to buy. The volume itself is exact geometry, but I add a small buffer to the buy amount, because fresh soil settles once you water it.
Soil volume needed:
Recommended amount to buy:
Bags to buy:
The buy amount allows for settling. Bag counts depend on the size printed on the bag.
How this works
The maths here is plain volume. For a rectangular bed I multiply length by width by depth. For a round pot I use the area of the circle, which is pi times the radius squared, then multiply that by the depth. Everything is converted to one unit first so the numbers line up. I then turn the result into litres, cubic feet, and cubic yards, since soil is sold in all three depending on where you shop.
Understanding your result
The volume figure is what your bed or pot holds when filled to the depth you entered. The bag counts are a guide, since bag sizes differ between brands, so check the size printed on the bag before you buy. The recommended amount to buy sits a little above the exact volume. Fresh soil and compost settle by around 10 to 20 percent after the first few waterings, so buying a bit extra saves you topping up later.
Important limitations
This gives you the volume of the space, not a promise of how many bags you will use, because soil density and settling differ between products. It does not account for large rocks, soil already in the bed, or a drainage layer at the bottom. If your bed sits on open ground and roots will grow into the soil below, you may not need to fill the full depth. Treat the buy figure as a sensible starting point, not an exact order.
Scientific basis
The volume formula and the soil depth guidance behind this tool come from university extension services, the public gardening advice arm of the land-grant university system:
- University of Maryland Extension — Soil to Fill Raised Beds
- Oregon State University Extension — Raised Bed Gardening
- Mississippi State University Extension — Constructing Raised Beds
Related reading
If you are filling a new bed, my guide on how to improve garden soil helps you choose what to put in it. My article on what compost is and how it works explains the compost side of a good mix, and my piece on no-till gardening covers filling beds without digging.
This calculator is for educational purposes and general guidance only. It is not professional horticultural or landscaping advice. Always check product labels and your local supplier before buying.

















