Subscribe

SOIL & DRAINAGE · June 28, 2026

How Much Soil Do I Need? Volume Formula and Bag Math

How much soil do I need? Use the L x W x D formula, our cubic feet to yards to bags conversion table, a worked 4x8 raised bed example, and settling math.

How Much Soil Do I Need? Volume Formula and Bag Math




How Much Soil Do I Need? Volume Formula and Bag Math

To know how much soil you need, multiply length by width by depth in feet to get cubic feet, then divide by 27 for cubic yards. A standard 4 ft by 8 ft raised bed filled 12 inches deep needs about 32 cubic feet, or roughly 1.2 cubic yards. The formula is simple. The part that trips people up is choosing the right soil type and buying enough to cover settling, so this guide gives you a conversion table, a worked raised-bed example, and the buy quantities that already account for compaction.

The formula: how much soil do I need?

The soil volume formula is length x width x depth, with every measurement in feet. Convert inches to feet first by dividing by 12, so a 10-inch depth becomes 0.83 feet. Multiply the three numbers for cubic feet, then divide by 27 to get cubic yards, since one cubic yard holds 27 cubic feet. For a circular bed, use pi x radius squared x depth instead.

Write it out once and you never have to guess again: cubic feet = L (ft) x W (ft) x D (ft). A 4 by 8 bed at 12 inches deep is 4 x 8 x 1 = 32 cubic feet. The same bed at 6 inches deep is 4 x 8 x 0.5 = 16 cubic feet. Depth is the variable that moves the total the most, so decide depth before you measure anything else.

  1. Measure the inner length and inner width of the bed in feet (use the soil space, not the outer frame).
  2. Decide your fill depth and convert it to feet (inches divided by 12).
  3. Multiply length x width x depth for cubic feet.
  4. Divide cubic feet by 27 for cubic yards if you plan to order in bulk.
  5. Add 10 to 25 percent for settling (see the settling section below).

Raised bed soil calculator: conversion table

This raised bed soil calculator table covers the common bed sizes at the two depths most home gardeners use. Numbers are rounded for buying. Bag counts assume 1.5 cubic foot bags, the most common retail size for garden soil and raised bed mix. For 2 cubic foot bags, divide cubic feet by 2 instead. None of these figures include the settling buffer yet.

Bed size Depth Cubic feet Cubic yards 1.5 cu ft bags
4 ft x 4 ft 6 in 8 0.30 6
4 ft x 4 ft 12 in 16 0.59 11
4 ft x 8 ft 6 in 16 0.59 11
4 ft x 8 ft 12 in 32 1.19 22
3 ft x 6 ft 10 in 15 0.56 10
2 ft x 8 ft 12 in 16 0.59 11
5 ft x 10 ft 12 in 50 1.85 34

One pattern stands out: once you pass roughly 27 cubic feet (1 cubic yard), bagged soil gets expensive and heavy to haul, and bulk delivery usually wins on price. A single 4 by 8 bed at 12 inches sits right at that crossover. We break down the bags-versus-bulk math further down.

Worked example: a 4 ft by 8 ft raised bed

Take a 4 by 8 raised bed you want filled 12 inches deep. The math runs 4 x 8 x 1 = 32 cubic feet, which divides to 1.19 cubic yards. In 1.5 cubic foot bags that is about 22 bags, or 16 bags if you buy the 2 cubic foot size. Add a 15 percent settling buffer for a typical mix and you should plan to buy closer to 37 cubic feet, or about 25 bags of the 1.5 cubic foot size.

If you blend your own raised bed mix, a common ratio is 60 percent topsoil, 30 percent compost, and 10 percent aeration material such as coarse perlite or coir, per guidance from Gardener’s Supply. Applied to 37 settling-adjusted cubic feet, that is roughly 22 cubic feet topsoil, 11 cubic feet compost, and 4 cubic feet aeration mix. Gardener’s Supply also notes compost-heavy blends settle more than mineral soils, so lean toward the higher end of the buffer if compost is over a third of your mix.

Which soil type do I actually need?

Garden soil, raised bed mix, topsoil, and compost are not interchangeable, and buying the wrong one is the most common and most expensive mistake. Topsoil alone is too dense for a raised bed and drains poorly. Straight compost is too rich and shrinks hard as it breaks down. A blended raised bed mix or a topsoil-plus-compost recipe is what most vegetable beds need. Match the product to the job before you calculate quantity.

Product Best use Watch-out Settling
Raised bed / garden mix Filling new raised beds for vegetables Quality varies by brand; check that it lists compost content Moderate, 10 to 15 percent
Topsoil Bulk fill, leveling, the bottom of deep beds Too dense alone; blend with compost for planting zones Low, 5 to 10 percent
Compost Amending and feeding, as 20 to 40 percent of a mix Too rich and salty as a standalone fill High, 15 to 25 percent
Potting / container mix Pots and containers only Too light and costly to fill a full raised bed Moderate, 10 to 15 percent

A practical default for a vegetable raised bed: fill the lower portion with a topsoil-heavy blend and reserve a richer compost-forward layer for the top 6 to 8 inches where most feeder roots live. This stretches your budget because topsoil costs less per cubic foot than bagged raised bed mix or pure compost.

How deep should the bed be?

Depth depends on what you grow. Salad greens and herbs root happily in 6 inches. A mixed vegetable bed wants at least 12 inches so deeper crops like tomatoes, peppers, and carrots have room. Root crops such as carrots and potatoes do best with 12 to 18 inches, and sprawling crops like pumpkins prefer up to 24 inches, per Eartheasy and Gardenary depth guidance. Set depth first, because it drives the whole soil volume calculation.

What you grow Recommended depth Notes
Lettuce, spinach, herbs 6 in Shallow feeder roots
Mixed vegetables 12 in Handles most home crops
Carrots, potatoes, beets 12 to 18 in Room for the edible root
Tomatoes, pumpkins, squash 18 to 24 in Large root systems and vines

How much extra for settling?

Always buy more than the bare formula says, because soil compacts as it absorbs water and organic matter breaks down. Plan to add 10 to 15 percent for standard garden and topsoil blends, and 15 to 25 percent for compost-heavy mixes. Pre-bagged compressed soil expands when opened, so 5 to 10 percent extra usually covers it. Water the bed thoroughly and let it settle one to two weeks before planting.

The cleanest way to handle this is to bake the buffer into the buy quantity, not to add a stray bag at the end. For the 4 by 8 bed at 12 inches (32 cubic feet), a 15 percent buffer means buying 37 cubic feet. Skipping this step is why so many gardeners end up with a bed that sits an inch or two low after the first heavy rain.

Should I buy bags or order bulk?

Buy bags when your total is under about 1.5 cubic yards (roughly 40 cubic feet), which covers one or two small beds. Order bulk by the cubic yard once you pass 2 cubic yards, since per-yard pricing drops sharply and you avoid hauling dozens of bags. Many bulk suppliers set a 2 cubic yard (54 cubic feet) delivery minimum, so a single small bed rarely justifies a truck.

Total soil needed Best buy method Why
Under 27 cu ft (1 cu yd) Bags Below most delivery minimums
27 to 54 cu ft (1 to 2 cu yd) Compare both Crossover zone; check delivery minimum and per-yard price
Over 54 cu ft (2 cu yd) Bulk delivery Lower per-yard cost, far less hauling

One bulk-buying note: bulk soil is sold by volume, but trucks weigh it, and moist soil is heavy. Confirm whether the supplier sells by the cubic yard or by weight, and ask what moisture assumption the price uses. For mixing-ratio decisions and amendment timing in vegetable beds, our guide to organic fertilizer for vegetable gardens pairs well with this calculation.

Common mistakes that throw off the number

The four errors that ruin a soil estimate are measuring the outer frame instead of the inner fill space, forgetting to convert inches to feet, ignoring settling, and buying a single soil type for a job that needs a blend. Each one is easy to avoid once you know it exists. Measure inside the boards, divide inches by 12, add the settling buffer, and match product to use.

A fifth, quieter mistake is filling a deep bed entirely with premium raised bed mix. The bottom 6 to 12 inches rarely sees feeder roots, so cheaper topsoil or even coarse organic fill down low saves real money on a tall bed without hurting plant performance.

Related HMNDP guides

Last reviewed: June 2026

HMNDP Editorial Team, reviewed by HMNDP turf and horticulture editors.

Frequently asked questions

How much soil do I need for a 4×8 raised bed?

A 4 ft by 8 ft raised bed filled 12 inches deep needs 32 cubic feet of soil, or about 1.19 cubic yards. That is roughly 22 bags of the 1.5 cubic foot size, or 16 bags of the 2 cubic foot size. Add 15 percent for settling and plan to buy about 37 cubic feet so the bed does not sit low after watering.

What is the formula to calculate soil volume?

Multiply length by width by depth, with all three in feet, to get cubic feet. Convert inches to feet first by dividing by 12, so 10 inches is 0.83 feet. Divide cubic feet by 27 to get cubic yards for bulk orders. For a round bed, use pi times radius squared times depth instead of length times width.

How many bags of soil are in a cubic yard?

One cubic yard equals 27 cubic feet. In 1.5 cubic foot bags, that is 18 bags per cubic yard. In 2 cubic foot bags, it is about 14 bags. In the smaller 1 cubic foot bags it takes 27. Bags get expensive and heavy once you pass one cubic yard, so bulk delivery usually wins above that point.

How deep should soil be in a raised bed?

Salad greens and herbs need 6 inches. A mixed vegetable bed wants at least 12 inches so deeper crops like tomatoes and carrots have room. Carrots and potatoes do best with 12 to 18 inches, and pumpkins or squash prefer up to 24 inches. Set depth first, because it drives the whole soil volume calculation more than length or width.

How much extra soil should I buy for settling?

Add 10 to 15 percent for standard garden soil and topsoil blends, and 15 to 25 percent for compost-heavy mixes that break down and shrink. Pre-bagged compressed soil expands when opened, so 5 to 10 percent extra covers it. Water the filled bed and let it settle one to two weeks before planting to remove air pockets.

What kind of soil is best for a raised bed?

Use a raised bed mix or a blend of about 60 percent topsoil, 30 percent compost, and 10 percent aeration material such as perlite or coir, per Gardener’s Supply. Topsoil alone drains poorly and straight compost is too rich and shrinks. Reserve the richer compost layer for the top 6 to 8 inches where most feeder roots grow.

Should I buy bagged soil or order in bulk?

Buy bags when your total is under about 1.5 cubic yards, which covers one or two small beds. Order bulk by the cubic yard once you pass 2 cubic yards, since per-yard pricing drops and you skip hauling dozens of bags. Many suppliers set a 2 cubic yard, or 54 cubic foot, delivery minimum, so a single small bed rarely justifies a truck.