ThisCalculator

Home and garden

Garden Soil Calculator: How Much Soil Do You Need?

Updated · Standard formula, shown below

Volume 32.00 cu ft
Volume
1.19 cu yd
Result
Volume
906.14 liters
Result
Length
8 ft
You entered

Garden Soil Calculator: How Much Soil Do You Need?

A garden soil calculator works out the volume of soil, compost, or mulch required to fill a raised bed, planter, or border to a chosen depth. You enter the length, width, and depth of the area, and the calculator returns the volume in cubic feet, cubic yards, or liters—so you know exactly how many bags or bulk deliveries to order.

Formula

The calculator uses the basic volume formula for a rectangular prism:

Volume = Length × Width × Depth

Where:

  • Length (l) – the longer horizontal side of the bed, in feet.
  • Width (w) – the shorter horizontal side, in feet.
  • Depth (d) – how deep you want the soil layer, in inches. It is converted to feet by dividing by 12.

The result is in cubic feet. To get cubic yards, divide by 27 (since 1 cubic yard = 27 cubic feet). To get liters, multiply cubic feet by 28.3168.

Worked Example

Using the default values: Length = 8 ft, Width = 4 ft, Depth = 12 in.

  1. Convert depth to feet: 12 in ÷ 12 = 1 ft.
  2. Multiply: 8 × 4 × 1 = 32 cubic feet.
  3. Convert to cubic yards: 32 ÷ 27 ≈ 1.19 cubic yards.
  4. Convert to liters: 32 × 28.3168 ≈ 906.14 liters.

The calculator shows 32.00 cu ft, 1.19 cu yd, and 906.14 liters for the defaults.

When to Use a Soil Calculator

Use a soil calculator whenever you are:

  • Filling a new raised garden bed or planter box.
  • Adding a top layer of compost or mulch to an existing bed.
  • Ordering bulk soil by the cubic yard from a landscape supplier.
  • Buying bagged soil (usually sold in 1.5 or 2 cubic foot bags) and want to know how many to grab.

It also helps when you are amending a large garden area—say, adding 2 inches of compost over a 10×20 ft plot. The calculator gives you the volume, and you can convert that to the number of bags or the cubic yards to order.

How to Read the Results

The first number, cubic feet, is the most common unit for bagged products. A typical bag of garden soil is 1.5 or 2 cubic feet, so divide the total cubic feet by the bag size to get the number of bags. For example, 32 cu ft ÷ 2 cu ft per bag = 16 bags.

Cubic yards is the standard unit for bulk deliveries. A small pickup truck may hold about 1–2 cubic yards, and a full-size dump truck can carry 10–20 cubic yards. If you order bulk soil, the supplier will ask for cubic yards—so use the second output.

Liters are useful if you are working with metric measurements or buying soil in metric-sized bags (often 20 L or 50 L).

Common Mistakes and Misconceptions

One common mistake is mixing units. If you measure the bed in feet but the depth in inches, you must convert the depth to feet before multiplying. The calculator does this for you, but if you do it by hand, remember: depth in inches ÷ 12 = depth in feet.

Another misconception is that a “cubic yard� is the same as a “yard� of soil. A yard is a linear measurement (3 feet). A cubic yard is a volume (3 ft × 3 ft × 3 ft = 27 cubic feet). When a supplier says “a yard of soil,� they mean a cubic yard.

Also, don’t confuse volume with weight. Soil weight varies hugely with moisture and composition. A cubic foot of dry loam may weigh around 75–80 pounds, but wet topsoil can weigh 100+ pounds per cubic foot. The calculator gives volume, not weight—check with your supplier if you need weight for transport limits.

Limits of the Formula

The formula assumes a perfectly rectangular bed with straight sides and a flat bottom. If your bed is curved, tapered, or has sloped sides, the actual volume will be less than the calculation. For a simple L-shaped bed, you can divide it into two rectangles and add the volumes.

Also, the formula gives the volume of the space, not the amount of soil you need to fill it completely. Fresh soil settles after watering and time. Many gardeners add 10–15% extra soil to account for settling. For a new raised bed, you might fill it slightly above the desired level, knowing it will drop.

Finally, the calculator does not account for the fact that you may not want to fill the bed to the very top. If you want a 6-inch soil depth in an 18-inch-tall bed, use 6 inches as the depth, not the bed height.

Alternatives and Related Calculations

If your bed is not rectangular, you can use the same formula for each rectangular section and add them. For a circular planter, use the formula for a cylinder: π × radius² × depth. For a triangular bed, use ½ × base × height × depth.

If you are calculating mulch for a tree ring or a circular garden, you would use the cylinder formula. If you are filling a raised bed that has a built-in bottom (like a planter box), you need the interior dimensions, not the exterior.

There are also calculators for potting mix when you are filling multiple containers. For those, use the same volume formula per container and multiply by the number of containers.

Frequently Asked Questions

How many bags of soil do I need for a 4×8 raised bed?

If the bed is 4 ft by 8 ft and you want 12 inches of soil, the volume is 32 cubic feet. With 2-cubic-foot bags, you need 16 bags. With 1.5-cubic-foot bags, you need about 22 bags (32 ÷ 1.5 = 21.33, so round up to 22).

How deep should the soil be in a raised bed?

For most vegetables, 12 inches is a good minimum. Deep-rooted crops like tomatoes or carrots do better with 18–24 inches. If the bed sits on hard ground, you can go shallower because roots can grow into the soil below. If the bed has a solid bottom, you need the full depth for root space.

What is the difference between topsoil, garden soil, and potting mix?

Topsoil is the natural upper layer of earth, often used for filling large areas. Garden soil is topsoil amended with compost or other organic matter, meant for in-ground beds. Potting mix is a soilless blend (peat, perlite, compost) designed for containers because it drains well and is lightweight. For raised beds, a mix of garden soil and compost works well.

How much does a cubic yard of soil weigh?

It depends on moisture and composition. Dry topsoil can weigh about 2,000–2,200 pounds per cubic yard. Wet topsoil can be 2,500–3,000 pounds. Compost is lighter, around 1,000–1,200 pounds per cubic yard. Always check with your supplier if you are hauling it yourself.

Should I add extra soil for settling?

Yes, most gardeners add 10–15% more soil than the calculated volume, especially for new beds. After watering and a few weeks, the soil will compact. You can also fill the bed, water it, and then top it up after a week or two.

Can I use the same calculator for mulch?

Yes. Mulch is applied in a layer over the soil, so you need the same volume calculation: length × width × depth. A typical mulch depth is 2–3 inches. Use the same calculator with the depth set to 2 or 3 inches.

Related

Formula used
in l | Length | ft | 8 | 0
in w | Width | ft | 4 | 0
in d | Depth | in | 12 | 0
out vol_ft | Volume | cu ft | l * w * (d / 12) | 2
out vol_yd | Volume | cu yd | (l * w * (d / 12)) / 27 | 2
out vol_l | Volume | liters | (l * w * (d / 12)) * 28.3168 | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.