Raised Bed Calculator

Work out how much soil, compost and perlite you need to fill a raised bed — in cubic metres, litres, cubic feet, cubic yards or bags. Enter your numbers and press Calculate.

Calculate soil for a raised bed

Choose your units, enter the internal dimensions, then press Calculate.

Units
Number of raised beds
beds
If the beds are the same size, enter the count here.
Bed dimensions (internal)
m
m
cm
Most vegetables: 25–30 cm (10–12 in).
Soil mix ratio
60% Topsoil
30% Compost
10% Perlite / sand
Used only for the bag count result.
Results also update as you type.

Your raised bed soil

Live
Total soil volume —
Topsoil needed —
Compost needed —
Perlite / sand needed —
Bags of total mix —

Based on internal bed dimensions. Add 5–10% extra for settling — soil compresses slightly over the first season.

Don't fill with garden soil alone. It compacts in a confined bed and drains poorly. Mix with compost and perlite for structure, nutrients and drainage.

How to Use the Raised Bed Calculator

Three inputs, one button, and you have a soil shopping list.

Step 1 — measure the internal dimensions

Measure the internal length, width and depth of the raised bed — not the external frame size. If the boards are 5 cm thick and the bed is 2.5 m on the outside, the internal length is 2.4 m. Getting this right matters because the frame walls are dead space.

Step 2 — choose the fill height

The fill height is not always the full frame height. Leave 2–3 cm of board above the soil so the bed contains water and mulch. Most vegetables grow well in 25–30 cm (10–12 inches) of soil. Root crops like carrots need 30–45 cm (12–18 inches). Salad leaves and herbs can manage in 15–20 cm (6–8 inches).

Step 3 — pick your soil mix and press Calculate

A good raised bed mix is about 60% topsoil, 30% compost and 10% perlite or coarse sand. Some gardeners use a compost-heavy mix (40/50/10) for a nutrient boost in the first season, or Mel's Mix (equal parts topsoil, compost and perlite) for excellent drainage. Press Calculate to see the volume of each component.

Typical raised bed fill for common sizes
Bed size Depth Volume (m³) Volume (ft³) 40 L bags
1.2 × 1.2 m30 cm0.4315.311
1.8 × 0.9 m30 cm0.4917.212
2.4 × 1.2 m30 cm0.8630.522
2.4 × 1.2 m45 cm1.3045.833
3.0 × 1.2 m30 cm1.0838.127

Reading the results

Total soil volume is what to buy, in cubic metres or cubic feet. Topsoil, compost and perlite show how much of each component to measure out based on your chosen mix. Bags of total mix converts the total volume into the bag size you selected, so you know how many to pick up at the shop.

Common raised bed mistakes

  • Using external dimensions instead of internal ones — this overestimates the volume by 10–20%.
  • Filling right to the top of the frame with no rim, so soil and mulch wash out in heavy rain.
  • Using pure compost — it shrinks dramatically and holds too much water. Mix it with topsoil and perlite.
  • Using pure garden soil — it compacts in a confined bed and drains poorly.
  • Forgetting the 5–10% extra for settling. Soil compresses slightly as it settles and decomposes.
  • Filling a deep bed all at once. For beds deeper than 40 cm, use logs or branches at the bottom (hügelkultur) to save soil and improve drainage.

Raised Bed Calculator FAQ

Short answers to the questions people ask most about filling a raised bed.

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

Multiply the internal length by width by depth using the same unit throughout. A 2.4 m × 1.2 m bed filled to 30 cm deep needs 2.4 × 1.2 × 0.3 = 0.86 cubic metres of soil. In imperial, a 8 ft × 4 ft bed at 12 inches deep needs 8 × 4 × 1 = 32 cubic feet, or about 1.2 cubic yards.

What is the best soil mix for a raised bed?

A good raised bed mix is about 60% topsoil, 30% compost and 10% perlite or coarse sand by volume. Topsoil provides structure and minerals, compost adds nutrients and beneficial microbes, and perlite or sand improves drainage in the confined space of a raised bed. Avoid filling a raised bed with garden soil alone — it compacts and drains poorly.

How deep should a raised bed be?

Most vegetables and herbs grow well in 25–30 cm (10–12 inches) of soil. Root crops like carrots and parsnips need 30–45 cm (12–18 inches). Salad leaves and herbs can manage in 15–20 cm (6–8 inches). Deeper beds hold moisture better and buffer temperature swings, but they also cost more to fill.

Can I fill a raised bed with garden soil?

You can, but it is not ideal. Garden soil compacts in a confined bed, drains poorly, and may carry weed seeds and soil-borne diseases. A better approach is to mix garden soil with compost and perlite to improve structure and drainage, or use a purpose-made raised bed mix. Never fill a raised bed with pure compost — it shrinks dramatically and holds too much water.

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

Divide the total volume by the bag size. A 40-litre bag contains 0.04 cubic metres, so a 0.86 cubic metre raised bed needs about 22 bags. In imperial, a 1.5 cubic foot bag contains 0.056 cubic yards, so a 32 cubic foot bed needs about 21 bags. Bag sizes vary by brand, so always check the label.