Sow & Coop

Home › Raised Bed Soil Calculator

Raised Bed Soil Calculator: Cubic Feet, Yards & Bags

Enter your bed size and fill depth. Get the soil you need in cubic feet, cubic yards (definition), and bags, split into topsoil (definition) and compost (definition) if you mix your own.

Advertisement placeholder

How the raised bed soil calculator works

A raised bed is a box, so the soil it holds is simply its volume. Measure the inside length and width of the frame in feet, and the depth of soil you plan to add in inches. The calculator converts the depth to feet, multiplies the three numbers together to get cubic feet, and multiplies by the number of beds. For a round bed it uses the area of a circle, π × (diameter ÷ 2)², in place of length × width.

It then adds your settling allowance (definition), divides by 27 to convert cubic feet to cubic yards (definition) (a cubic yard is 3 × 3 × 3 feet), and divides by your bag size to count bags, always rounding up so you never come up short. If you choose a mix (definition), the total is split by the ratio you picked and each ingredient gets its own cubic feet, cubic yards, and bag count.

Formulas: cubic feet = length × width × (depth ÷ 12) × beds × (1 + extra% ÷ 100); cubic yards = cubic feet ÷ 27; bags = cubic feet ÷ bag size, rounded up.

Worked example: two 4 × 8 beds, 12 inches deep

One 4 × 8 foot bed filled 12 inches deep holds 4 × 8 × 1 = 32 cubic feet. Two beds hold 64 cubic feet. Adding 10 percent for settling brings the total to 70.4 cubic feet, or about 2.61 cubic yards. In 2 cubic foot bags that is 36 bags of a single blended mix.

If you mix your own at 2 parts topsoil to 1 part compost, as University of Maryland Extension suggests, you would need about 46.9 cubic feet of topsoil (24 two-cubic-foot bags) and 23.5 cubic feet of compost (12 bags). At 2.6 cubic yards, a bulk delivery is likely to cost less than bags, so it is worth calling a local landscape supplier for a price.

Before you buy

Frequently asked questions

How deep should a raised bed be?

University of Maryland Extension notes that 8 inches of soil suits leafy greens, beans, and cucumbers, while deeper beds of 12 inches or more give tomatoes, peppers, and squash more root room. If the bed sits on loosened native soil, roots can also grow down into it.

Is it cheaper to buy bags or bulk soil?

Bulk soil sold by the cubic yard is usually cheaper once you need more than about one cubic yard, which is 27 cubic feet, or roughly 13 to 14 two-cubic-foot bags. Compare a local supplier's per-yard price plus delivery against the per-bag price before you order.

Why add extra for settling?

Fresh soil and compost settle as they are watered and as the organic matter breaks down. The extra percentage is an allowance you choose; 10 percent is a common starting point, and you can top the bed up with compost each season.

What soil mix should I use?

University of Maryland Extension suggests a mix of compost and topsoil in a 1:2 or 1:1 ratio. Iowa State Extension suggests about 70 percent topsoil and 30 percent compost, or equal parts topsoil, organic matter, and coarse sand. Choose a preset above to split your total into each ingredient.

How many bags of soil for a 4x8 raised bed?

A 4 by 8 foot bed filled 12 inches deep holds 32 cubic feet, which is 16 bags of 2 cubic feet or 22 bags of 1.5 cubic feet, before any settling allowance.

Sources

  1. University of Maryland Extension, Soil to Fill Raised Beds (compost to topsoil at 1:2 or 1:1; organic matter 25 to 50 percent by volume). www.extension.umd.edu
  2. University of Maryland Extension, Growing Vegetables in Raised Beds (bed depth by crop). www.extension.umd.edu
  3. Iowa State University Extension, What would be a good soil mix for a raised bed? (equal parts topsoil, organic matter, coarse sand; or about 70% topsoil and 30% compost). yardandgarden.extension.iastate.edu

Last reviewed 2026-11-17.

Related calculators

Advertisement placeholder