To estimate soil for a raised bed, multiply its inside length by inside width and by the planned fill depth. Convert all three measurements to the same unit first. The result is volume; the bag count depends on the volume printed on the package.
Measure the usable space inside the bed
Measure between the inside faces of the frame, not its outside edges. Use the depth you actually intend to fill, allowing for any space you plan to leave below the rim. If the bed has tapered sides, built-in shelves, or several sections, calculate the simpler shapes separately and add their volumes.
For a rectangular bed, use volume = inside length × inside width × fill depth. In U.S. units, convert depth in inches to feet by dividing by 12. In metric units, convert depth in centimeters to meters by dividing by 100.
Worked example: a 3 × 8 ft bed filled 6 inches deep
The area is 3 × 8 = 24 square feet. Six inches is 0.5 feet, so the fill volume is 24 × 0.5 = 12 cubic feet. Since 27 cubic feet make one cubic yard, 12 ÷ 27 is about 0.44 cubic yard.
If a bag label says 1.5 cubic feet, divide 12 by 1.5: the estimate is 8 bags. This assumes the package volume is accurate and the bed needs exactly that finished volume. Do the same calculation with the size printed on the soil you plan to buy.
Choose bagged or bulk soil by volume
For bagged material, divide the required volume by the labeled volume per bag and round up to a whole bag. For bulk soil sold by the cubic yard, divide cubic feet by 27. In metric units, cubic meters multiplied by 1,000 gives liters; divide by the package’s labeled liters and round up to a whole bag.
For example, a 1.2 × 2.4 m bed filled 25 cm deep needs 1.2 × 2.4 × 0.25 = 0.72 m³. If the chosen bag contains 25 L (0.025 m³), 0.72 ÷ 0.025 = 28.8, so the volume estimate rounds up to 29 bags.
Plan the soil mix and any extra allowance
Volume alone does not tell you which growing medium is suitable. Oregon State University Extension advises using a soil mix for framed raised beds and not filling them with compost alone; the appropriate mix depends on the project and local conditions. Check local growing guidance and the supplier’s product information. OSU Extension’s compost guide also notes that newly filled beds can settle as compost decomposes.
An extra allowance can be useful when a supplier or project plan calls for it, but there is no single percentage that fits every soil blend or bed. If you include an allowance, calculate it explicitly: for example, 10% added to 12 cubic feet is 1.2 cubic feet, for 13.2 cubic feet total. Treat that as an example calculation, not a default recommendation. Ask the supplier how the delivered product is measured and whether settling or delivery conditions change the amount to order.
Estimate your own bed
Enter the bed’s shape, inside dimensions, fill depth and package volume in the Topsoil Calculator. It can estimate cubic volume, bag count and optional weight from a selected or custom density. Density varies by blend and moisture, so use a supplier value for a weight estimate. Its result is a material estimate, not a recommendation for planting depth or soil composition.
Sources: Oregon State University Extension, Raised Bed Gardening and How to Use Compost in Gardens and Landscapes. Raised-bed recommendations can vary by region and plants; consult local extension guidance for growing decisions.
Explore related tools in Home Improvement.
