Skip to content
TROWELLY

Raised Bed Soil Calculator

Enter the inside size of your raised beds to see how much soil mix fills them, split into topsoil, compost and aeration, in bags or by the cubic yard.

Units
ft
ft
in

Inside depth you will fill. Most vegetables root well in 10–12 in (25–30 cm).

%
%
%
%

New mix settles as it is watered. Add some extra, or plan to top up after a few weeks.

Add prices for a cost estimate (optional)

Quantities work without prices. Material prices start as typical prices for your area, marked “Regional estimate”; type over any of them with the price you are quoted or see in store. Clear a price if you don’t know it, or enter 0 for something you already have.

Estimates use the US average.

per bag
per bag
per bag
per hour
hours
%
total

Results

Total soil mix
32 ft³
Total soil mix (cubic yards)
1.19 yd³
Total soil mix (metric)
0.91 m³
Topsoil: 2 ft³ bags (best fit)
10 bags
Compost: 2 ft³ bags (best fit)
5 bags
Aeration: 2 ft³ bags (best fit)
2 bags
Bed area
32 ft²
  • Mix: 60% topsoil, 30% compost, 10% aeration.
  • Bagged “raised bed soil” is already mixed; if you buy that instead, use the total.
  • Above about 1 yd³ (27 ft³), bulk delivery from a landscape supply yard is usually cheaper than bags.

Where to buy

Quantities from your result, with links to search each store.

Your ZIP code stays on this device. We use it to show stores and suppliers in your area.

You may also need

Many landscape yards sell a ready-made raised bed or garden mix by the cubic yard.

Links search each store’s website. Check prices and stock before you go.

How to use the raised bed soil calculator

  1. Enter the inside Bed length, Bed width and Soil depth you will fill.
  2. Enter the Number of beds this size.
  3. Adjust the mix if you like. The default is 60% topsoil, 30% compost and 10% aeration, and the shares must add up to 100%.
  4. Add Extra for settling if you want to fill the beds to the top after the mix settles.
  5. Choose bags or bulk, and optionally add prices for each part.

How it works

A raised bed is a box, so the soil it holds is its inside length × width × depth. One cubic yard is 27 cubic feet.

The mix is split by volume. A topsoil-based mix of about 60% topsoil, 30% compost and 10% aeration (perlite, pumice or coarse bark) is a common starting point; change the shares to match your own recipe.

Volume (ft³) = length (ft) × width (ft) × depth (in) ÷ 12 × beds × (1 + extra %)

Each part (ft³) = volume × its share of the mix

Bags = part ÷ bag size (ft³), rounded up; cubic yards = ft³ ÷ 27

Worked example

With the default inputs, one 8 × 4 ft bed filled 12 in deep holds 8 × 4 × 1 = 32 ft³, or 1.19 yd³.

At 60 / 30 / 10 that is 19.2 ft³ of topsoil, 9.6 ft³ of compost and 3.2 ft³ of aeration, so buy 20, 10 and 4 bags of 1 ft³.

Tips before you buy

  • Measure the inside of the bed, not the outside of the boards.
  • Mix the parts on a tarp or in the bed before planting so the bed drains evenly.
  • Water the new mix and let it settle for a few days, then top up.
  • For several beds, bulk delivery of a ready-made garden mix is often cheaper than bags.

Frequently asked questions

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

Filled 12 in deep, a 4 × 8 ft bed holds 32 ft³: 32 bags of 1 ft³, or 22 bags of 1.5 ft³. Filled 6 in deep it holds 16 ft³.

How many cubic yards of soil for a raised bed?

Multiply length × width × depth in feet and divide by 27. A 4 × 8 ft bed 1 ft deep is 32 ÷ 27 = 1.19 yd³.

What is a good soil mix for raised beds?

A common starting point is about 60% topsoil, 30% compost and 10% aeration such as perlite or pumice. Many gardeners use equal parts instead; the calculator lets you set any split.

How deep should a raised bed be?

Most vegetables grow well in 10–12 in of soil. Shallow-rooted crops such as lettuce manage in 6–8 in, while deep roots such as tomatoes and carrots like 12 in or more.

Will the soil settle?

Yes. Loose mix settles as it is watered, so beds filled to the top usually need topping up after a few weeks. Add some extra in the calculator to plan for it.

Results are estimates based on the measurements you enter and typical material properties, and costs are planning estimates: actual costs vary. Products vary, so check quantities with your supplier and follow product labels and your local building codes. Read the full disclaimer. Last reviewed October 9, 2026.