TikoTools

Raised Bed Soil Calculator – Soil, Compost & Bags

Find out how much soil mix you need to fill one or more raised garden beds, split into topsoil, compost and perlite or peat, with the number of bags of each and extra for settling.

Formula checked 23 Oct 2026 Free · no sign-up
Was this calculator helpful?

Found a bug or have a suggestion?

Leave it here and we will fix it and reply to you.

Embed this calculator on your website (free)

Copy this code into your page. It stays free and updates automatically.

How to use the raised bed soil calculator

  1. Enter the inside length and width of the bed and the soil depth.
  2. Enter how many beds of that size you are filling.
  3. Keep about 10% extra for settling.
  4. Adjust the mix so it adds up to 100%, and choose a bag size to see how many bags of each ingredient to buy.

Raised bed formula

Volume = Length × Width × Depth × Number of beds × (1 + settling %) Cubic yards = Cubic feet ÷ 27 · Litres = Cubic feet × 28.32 Each ingredient = Volume × its percentage

Worked example

One 8 × 4 ft bed, 12 in deep, with 10% extra and a 60/30/10 mix:

  • Volume = 8 × 4 × 1 = 32 ft³; + 10% = 35.2 ft³ (1.3 yd³)
  • Topsoil 60% = 21.1 ft³ → 15 bags of 1.5 cu ft
  • Compost 30% = 10.6 ft³ → 8 bags
  • Perlite/peat 10% = 3.5 ft³ → 3 bags

Soil needed for common bed sizes (12 in deep)

Bed sizeCubic feetCubic yardsLitres
2 × 4 ft80.30227
3 × 6 ft180.67510
4 × 4 ft160.59453
4 × 8 ft321.19906
4 × 12 ft481.781,359

Before settling allowance. For 6 in deep beds halve these numbers; for 18 in, multiply by 1.5.

Choosing the ingredients

Topsoil gives the mix body and holds nutrients; buy screened topsoil or a loam-based garden soil. Compost feeds plants and helps the soil hold water — use well-rotted compost from several sources if you can, such as leaf compost and composted manure. Aeration materials keep the mix light: perlite and vermiculite never break down, while peat and coconut coir hold moisture. In hot, dry climates use more compost and coir; in wet climates use more perlite so beds don’t stay soggy.

Raised bed soil tips

  • Loosen the ground underneath before filling so roots and water can move down.
  • Mix ingredients well on a tarp or in a wheelbarrow before filling — layers of different materials drain badly.
  • Don’t use plain garden soil alone: in a raised bed it compacts and drains poorly.
  • Top up each year with 1–2 in (2–5 cm) of compost to replace what plants and settling use up.
  • Check bagged soil labels: “raised bed mix” is ready to use; “topsoil” needs compost added.
  • Line the bottom with hardware cloth if gophers or moles are a problem, before you add soil.
  • Water the new mix thoroughly and let it settle for a day or two before planting, then top up.

Measure the inside of the bed frame, not the outside — thick timber or block walls can take up several inches on each side and reduce the soil you need noticeably.

Frequently asked questions

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

A 4 × 8 ft bed filled 12 in deep holds 32 ft³ (about 1.2 cubic yards). Add about 10% for settling: roughly 35 ft³, or 24 bags of 1.5 cu ft.

What is the best soil mix for raised beds?

A popular, reliable mix is about 60% topsoil, 30% compost and 10% aeration material such as perlite, vermiculite, coconut coir or peat. Some gardeners use equal thirds of topsoil, compost and a soilless mix.

How deep should a raised bed be?

Most vegetables grow well in 10–12 in (25–30 cm) of soil. Root crops like carrots and parsnips prefer 12–18 in. If the bed sits on poor soil or paving, go deeper.

Why add extra for settling?

Fresh, fluffy soil mix compresses after the first few waterings, often by 10–20%. Adding extra now saves topping up later — or fill to the top and add compost each season.

How many bags of soil in a cubic yard?

A cubic yard is 27 ft³: 27 bags of 1 cu ft, 18 bags of 1.5 cu ft or 13.5 bags of 2 cu ft. For several beds, bulk garden mix is usually cheaper.

Can I fill the bottom with something cheaper?

For tall beds, many gardeners fill the bottom third with logs, branches, leaves or cardboard (the hügelkultur method). It saves soil but settles more over time, so top up yearly.

How we checked this calculator

We test this tool against worked examples before every release (last check: 23 Oct 2026, version 1.0.0). Results are estimates for planning — confirm critical figures with your supplier or a qualified professional.

References: