HomeRemodelCalc

Raised Bed Soil Calculator

A raised bed holds more soil than it looks. A common 8×4 ft bed at 12 in deep is 32 cu ft, about 1.2 cubic yards (about 0.9 m³). Enter your bed to get cubic yards and how many bags to buy. Bagged mix is often 1, 1.5, or 2 cu ft (about 28–57 litres).

Enter your measurements
ft
ft
in

Most vegetables want at least 12 in (300 mm). Herbs can get by at 6 in (150 mm).

cu ft

Common bags are 1, 1.5, and 2 cu ft. A 50 L bag is about 1.8 cu ft.

Circle uses the diameter. An L-shape adds the second rectangle to the first.

Optional. Your price, not a stored market rate.

Optional. Your price, not a stored market rate.

Your results
Bed volume
1.19yd³
Volume
32cu ft
Bags needed
22

How to use this calculator

  1. Measure the inside length and width of the bed. The timber is not soil. An L-shaped bed uses the second rectangle.
  2. Enter the depth of soil, not the height of the board if you will leave a gap at the top. Use inches, or millimetres on the metric toggle.
  3. Enter the bag volume in gallons or cubic feet (litres on the metric toggle). There is no waste field on this function. The volume is the box. If you want spare mix, add it to the depth or buy an extra bag after you see the count.
  4. Read cubic metres, litres, and bags. Bags round up.
  5. Optional bag price and price per cubic metre start at 0. Fill both in to compare bagged mix with a bulk load.
  6. Mulch on top of the soil is the mulch calculator, at a shallow depth, and it is a separate order.

Last reviewed: 2026-10-28 · How we calculate

How we calculate

Cubic feet = length × width × depth in feet. Cubic yards = cu ft ÷ 27. Liters = cubic meters × 1,000. Bags = ⌈volume ÷ bag volume⌉.

Volume is the inside area times the soil depth. Litres are cubic metres times 1,000. Bags are litres divided by the bag volume, rounded up. Because there is no waste multiplier, the bag round-up is the only extra.

A circular planter uses the diameter. A rectangular bed uses length and width. Do not include the path between beds. Run each bed, or add the areas first if they share a depth.

Worked examples

An 8 ft × 4 ft bed at 12 in deep is 32 cu ft, or 1.19 cubic yards (864 litres, 0.86 m³). At 1.5 cu ft per bag that is 22 bags. At 50 L per bag the same bed is 18 bags.

One bed

The form’s default bed is the example to edit. Replace the bag volume with the compost bag you buy.

Three beds

Calculate one bed and multiply the litres by three, then divide by the bag size and round up once. Rounding each bed up and then multiplying buys more bags than mixing them as one order.

Planning notes

Raised-bed mix is a blend people describe in thirds and then buy as one bagged product. The calculator wants the volume of whatever you are putting in the box. If you are mixing compost and topsoil yourself, split the depth between this page and the topsoil page, or run this page twice with the same dimensions and a depth for each ingredient. Do not add a mystery bag on top of a volume you have already calculated, unless you like spare mix.

The missing waste field is deliberate in the function. A box has a known inside. The round-up to a full bag is the spare. If your mix compacts, it compacts after you fill the box, and you may need a top-up. That top-up is a second, thinner depth next season, not a percent hidden in this result.

Bulk by the cubic metre is the volume result. Bag count is for the garden-centre bag. Compare them only with prices you type. A price per gallon (per litre on the metric toggle) is not what the field asks for. The bag field is the price of one bag. The bulk field is the price of one cubic metre.

Where this comes up

Vegetable bed

The usual rectangle. Depth is the soil, often less than the board height if you leave a lip.

Several beds

Same depth, multiply. Different depths, run them separately and add litres before you convert to bags.

A bed on a slope

The uphill depth and the downhill depth differ. Use the average if you will grade the soil flat, or the greater depth if you will fill to the high board all the way across.

Common mistakes

  • Filling the box with straight compost. It compacts and stays wet. Blend compost with topsoil.
  • Guessing the depth. A 12 in bed holds twice a 6 in bed.
  • Buying bagged mix for several large beds when a cubic-yard delivery is cheaper.

Frequently asked questions

How much soil do I need to fill a raised bed?

An 8×4 ft bed at 12 in deep holds 32 cubic feet (1.19 cubic yards, about 860 litres). A 2.4 m × 1.2 m bed at 300 mm holds 864 litres, about 18 bags at 50 L. Enter your size — the volume scales directly with depth.

What should I fill a raised bed with?

A mix of topsoil and compost, not compost alone. Compost by itself settles and can stay soggy. The bag count here is the volume, whatever blend you choose.

Are cubic feet and bags the same as cubic yards?

There are 27 cubic feet in a cubic yard. A 1.5 cu ft bag is 1.5/27 of a yard. The result shows both the yardage and the bag count so you can compare bagged mix with a bulk delivery.

How much soil for a raised bed?

Inside length times inside width times soil depth. The form returns litres and bags at the bag size you enter.

How many bags of compost?

Divide the litres by the litres printed on the bag and round up. The default bag size is only a starting point.

Should I add mulch on top?

If you will, calculate that thin layer on the mulch page. It is not included in the bed volume.

Last reviewed 2026-10-24. Sources and methodology. Figures in the reference tables are produced by the same calculator functions as the form. A product yield is named only where a public listing was checked; every other bag size is the number you enter.

Related calculators