The quick formula
To find how much soil you need for a raised bed, multiply the inside length by the inside width by the fill depth, with all three in feet. That gives you cubic feet.
Length (ft) x Width (ft) x Depth (ft) = cubic feet
Divide cubic feet by 27 to get cubic yards, which is how bulk soil is usually sold.
So a bed that’s 3 feet wide, 6 feet long and filled 1 foot deep needs 3 x 6 x 1 = 18 cubic feet, or about two-thirds of a cubic yard.
Step-by-step: calculating soil for a rectangular bed
- Measure the inside length and width of the bed in inches.
- Decide on the fill depth. This is usually the board height minus an inch or two for mulch, but you’ll want to start a bit fuller to allow for settling.
- Convert inches to feet by dividing by 12. For example, 10 inches is 0.83 feet, and 18 inches is 1.5 feet.
- Multiply length x width x depth.
- Divide by 27 if you want cubic yards.
Working in feet from the start avoids the most common mistake, which is multiplying inches by feet and getting a number that’s off by a factor of 12.
If you’d rather work in inches, multiply all three dimensions in inches and divide by 1,728 to get cubic feet.
Measure the inside, not the outside
Lumber has real thickness. A 2x board is actually about 1.5 inches thick, so a bed that measures 4 by 8 feet on the outside is closer to about 3 feet 9 inches by 7 feet 9 inches on the inside. That trims a few percent off the volume, which is small, but it’s worth knowing if you’re buying bags one at a time.
Board height works the same way. A “2x10” is actually about 9.25 inches tall, and a “2x12” about 11.25 inches. If you built a bed from stacked boards, measure the actual height from the ground to the top edge.
For a full worked example on the most common size, see how much soil for a 4x8 raised bed.
Round, oval and odd-shaped beds
Round beds: Measure the inside diameter, halve it to get the radius, then use:
3.14 x radius x radius x depth = cubic feet
A round bed 4 feet across and 1 foot deep holds about 3.14 x 2 x 2 x 1, or roughly 12.6 cubic feet.
Oval metal beds: Many galvanized kits are rectangles with rounded ends. Treat them as a rectangle plus one circle (the two half-round ends together), or check the manufacturer’s listing, which often gives the fill volume.
L-shapes and irregular beds: Split the bed into rectangles, work out each one, and add them together.
Sloped beds: If the bed is deeper at one end because it’s on a slope, use the average of the shallow and deep ends as the depth.
Converting to bags or cubic yards
Bagged soil is usually sold by the cubic foot, commonly in 1, 1.5 or 2 cubic foot bags, though you’ll see other sizes. Divide your cubic feet by the bag size to get the number of bags. For example, 18 cubic feet would take 18 one-cubic-foot bags, 12 bags at 1.5 cubic feet, or 9 bags at 2 cubic feet.
Bulk soil is sold by the cubic yard. Our guide to how many bags of soil in a cubic yard has a conversion table, including bags labeled in quarts or liters.
When a project gets into the range of a cubic yard or more, it’s worth pricing out bulk delivery as well. The comparison of bagged vs bulk soil for raised beds goes into the cost and convenience trade-offs.
How much extra to order
New beds lose height as the soil settles and organic matter breaks down. Many gardeners order something like 10 to 20 percent more than their calculation, both to fill slightly above the rim at the start and to have some on hand to top off after the first few weeks of watering.
How much the soil drops depends a lot on the mix. Mixes heavy in compost or other organic matter, and beds with buried wood or leaves, tend to sink more. Raised bed soil settling is covered in its own article.
Reducing the amount of soil you need
For deep beds, you don’t have to fill the entire volume with purchased growing mix. Most vegetables root mainly in the upper part of the bed, so many gardeners fill the bottom portion with logs, branches, leaves or other organic material and put good soil on top. Our pages on what to fill a tall raised bed with and on a cheap way to fill a raised bed go through the options.
If you’re still deciding on depth, how deep should a raised bed be for vegetables is a good place to start. A shallower bed on loosened native soil may need far less fill than you’d think.
Quick reference table
Volumes below assume the listed dimensions are inside measurements and the bed is filled to the stated depth.
| Bed size | Depth | Cubic feet | Cubic yards (approx.) |
|---|---|---|---|
| 2 x 4 ft | 12 in | 8 | 0.30 |
| 3 x 6 ft | 12 in | 18 | 0.67 |
| 4 x 4 ft | 12 in | 16 | 0.59 |
| 4 x 8 ft | 6 in | 16 | 0.59 |
| 4 x 8 ft | 12 in | 32 | 1.19 |
| 4 x 8 ft | 18 in | 48 | 1.78 |
| 4 x 10 ft | 12 in | 40 | 1.48 |
| 4 x 12 ft | 12 in | 48 | 1.78 |
| 3 x 8 ft | 24 in | 48 | 1.78 |
Use the table as a starting point, then add your settling allowance on top.