What Is a Raised Bed Soil Calculator?
A raised bed soil calculator turns the size of your garden bed into a shopping list. You enter the length, width and height of the bed, and it returns the volume of soil to buy, split into topsoil, compost and any other ingredients, then converted into bags, weight and cost. It also estimates the lumber for the frame and the cardboard or fabric to line the floor.
Guessing is expensive in both directions. Too little soil leaves a half-empty bed and a second trip to the garden centre. Too much means paying to haul, store and eventually dump surplus. Raised beds are also unusual because the soil does not just fill a box: it settles, it sits below a lip you deliberately leave for watering, and in deep beds you may replace the bottom third with wood and leaves. A good calculator handles all of that, which is why this one includes a settling allowance, a headspace setting and a bottom-filler option.
It works in metric and imperial, accepts mixed units in each field, and supports rectangular, round and L-shaped beds. Whether you are filling one planter or twelve beds on an allotment, the method is the same.
Raised Bed Soil Formulas Used by This Calculator
Every number on this page comes from a short chain of formulas. Knowing them lets you sanity-check any quote or recommendation from a supplier.
Step 1: Fill depth
Soil depth = fill depth − bottom filler depth
Step 2: Bed area
Round: A = π × (D ÷ 2)²
L-shape: A = L × W − (cut-out length × cut-out width)
Step 3: Soil volume with settling
Step 4: Split by recipe
Bags = ⌈ ingredient volume ÷ bag volume ⌉
Step 5: Weight
The bag count is rounded up separately for each ingredient. That matters: needing 5.2 bags of compost and 1.1 bags of perlite means buying 6 and 2, not 7 in total.
Worked example: a standard 4 × 8 ft bed
Take a bed that is 4 ft wide, 8 ft long and 12 in tall. You leave 1 in at the top, allow 10 percent for settling and use the classic 60/30/10 mix with 50-litre bags.
- Soil depth: 12 − 1 = 11 in, or 0.917 ft
- Net volume: 4 × 8 × 0.917 = 29.3 ft³
- With 10% settling: 29.3 × 1.10 = 32.3 ft³, which is 1.20 yd³ or 0.91 m³ (about 914 litres)
- Topsoil (60%): 548 L (0.72 yd³), which is 11 bags of 50 L, weighing about 713 kg
- Compost (30%): 274 L (0.36 yd³), which is 6 bags of 50 L, weighing about 192 kg
- Perlite or coarse sand (10%): 91 L (0.12 yd³), which is 2 bags of 50 L, weighing about 55 kg
- Total: 19 bags and roughly 959 kg (2115 lb) of moist material
How to Use the Raised Bed Soil Calculator
You only need three numbers to get a first answer: length, width and height. The remaining fields refine the result.
- 1Choose the bed shapePick rectangle, round or L-shaped. Tap a common size such as 4 × 8 ft to fill the dimensions, then adjust them to match your frame.
- 2Set the bed height and the empty space at the topEnter the inside height of the bed and how much room you will leave above the soil. Tap what you are growing to load a sensible height for salad, vegetables, root crops or tomatoes.
- 3Add the number of beds and a settling allowanceEnter how many identical beds you are filling. Keep the settling slider at 10 percent for a mix that is mostly compost, or raise it for light, fluffy mixes.
- 4Decide on a bottom filler layerIn a deep bed you can fill the base with logs, branches or leaves. Switch it on, enter the layer depth, and the soil quantity drops accordingly.
- 5Choose a soil recipe and bag sizePick a ready-made mix or enter your own percentages. Select the bag size sold near you so the bag counts match what is on the shelf.
- 6Read, copy or download the shopping listSee the total volume, each ingredient with its bag count, weight, frame boards and cost. Copy the summary, save a text or CSV file, or print to PDF for the garden centre.
Measure the inside dimensions of the bed, not the outside. A bed built from 2-inch lumber is about 3 in (7.5 cm) smaller in each direction on the inside than on the outside, and that difference adds up to a surprising amount of soil on a big bed.
How Deep Should a Raised Bed Be?
Depth is the biggest lever on cost, because volume rises in direct proportion to it. Doubling the height doubles the soil. The right depth depends on what you grow and what lies beneath the bed.
| What you grow | Useful soil depth | Notes |
|---|---|---|
| Salad leaves, herbs, radishes, spinach | 15 to 20 cm (6 to 8 in) | Shallow roots; ideal for beds on paving or decks |
| Beans, peas, brassicas, flowers, most vegetables | 25 to 30 cm (10 to 12 in) | A good all-round height |
| Carrots, beetroot, onions, leeks | 30 to 40 cm (12 to 16 in) | Loose, stone-free soil prevents forked roots |
| Parsnips, potatoes, garlic | 35 to 45 cm (14 to 18 in) | Potatoes can be earthed up inside taller walls |
| Tomatoes, squash, sweetcorn, fruit bushes | 30 to 45 cm (12 to 18 in) or more | Deep, steady moisture and strong anchorage |
Look at what is underneathA bed standing on loose, well-drained garden soil effectively gives roots extra depth because they can grow below the frame. A bed on concrete, a deck or compacted clay cannot, so build it deeper or choose shallow-rooted crops.
Taller beds also save your back. A bed about 60 to 75 cm (24 to 30 in) high can be worked from a chair or standing position, but fills fast with soil, which is exactly when the bottom filler option helps.
The Best Soil Mix for Raised Beds
A raised bed is a small ecosystem. Its soil should drain freely so roots do not sit in water, hold enough moisture to survive a hot week, and carry plenty of organic matter to feed plants and soil life. Pure garden soil often packs down in a bed; pure compost can be too rich and dry out or shrink quickly. Blends solve both problems.
| Recipe | Proportions (by volume) | Best for |
|---|---|---|
| Classic topsoil mix | 60% topsoil, 30% compost, 10% perlite or coarse sand | General vegetable and flower beds |
| Half and half | 50% topsoil, 50% compost | Simple, economical, rich beds |
| Square-foot mix | ⅓ compost, ⅓ peat moss or coir, ⅓ vermiculite | Intensive planting in grid cells; light and moisture-retentive |
| Lightweight mix | 40% compost, 35% coir, 25% perlite | Roofs, balconies and decks where weight matters |
What each ingredient does
- Topsoil supplies minerals, structure and body. Choose screened, weed-free loam, not fill dirt.
- Compost adds nutrients and organic matter. Use fully finished, crumbly compost that smells earthy, and ideally one made from more than one source.
- Perlite and coarse sand open the soil so air and water move through it. Perlite is much lighter, sand is heavier but cheaper.
- Coco coir and peat moss hold water and fluff the mix. Coir is a renewable by-product of coconut processing, while peat is harvested from wetlands, so many gardeners now choose coir.
- Vermiculite is an expanded mineral that holds both water and nutrients.
Whichever recipe you choose, the calculator splits the total volume by percentage and rounds each ingredient to whole bags. If you are not sure about a topsoil’s quality, ask the supplier for a sample and mix a small test batch before buying a truckload. The Royal Horticultural Society and many university extension services publish regional advice on soil blends and testing.
Soil Needed for Common Raised Bed Sizes
The table below shows the net volume for popular sizes at three heights, filled to the top with no settling allowance. For your own numbers, use the calculator, which also subtracts headspace and adds extra for settling.
| Bed size | Area | 6 in (15 cm) deep | 12 in (30 cm) deep | 18 in (45 cm) deep |
|---|---|---|---|---|
| 4 × 8 ft (1.2 × 2.4 m) | 32 ft² | 16 ft³ · 0.59 yd³ (0.45 m³) | 32 ft³ · 1.19 yd³ (0.91 m³) | 48 ft³ · 1.78 yd³ (1.36 m³) |
| 4 × 4 ft (1.2 × 1.2 m) | 16 ft² | 8 ft³ · 0.30 yd³ (0.23 m³) | 16 ft³ · 0.59 yd³ (0.45 m³) | 24 ft³ · 0.89 yd³ (0.68 m³) |
| 3 × 6 ft (0.9 × 1.8 m) | 18 ft² | 9 ft³ · 0.33 yd³ (0.25 m³) | 18 ft³ · 0.67 yd³ (0.51 m³) | 27 ft³ · 1.00 yd³ (0.76 m³) |
| 2 × 8 ft (0.6 × 2.4 m) | 16 ft² | 8 ft³ · 0.30 yd³ (0.23 m³) | 16 ft³ · 0.59 yd³ (0.45 m³) | 24 ft³ · 0.89 yd³ (0.68 m³) |
| 4 × 12 ft (1.2 × 3.6 m) | 48 ft² | 24 ft³ · 0.89 yd³ (0.68 m³) | 48 ft³ · 1.78 yd³ (1.36 m³) | 72 ft³ · 2.67 yd³ (2.04 m³) |
| Round, 4 ft (1.2 m) wide | 12.6 ft² | 6.3 ft³ · 0.23 yd³ (0.18 m³) | 12.6 ft³ · 0.47 yd³ (0.36 m³) | 18.8 ft³ · 0.70 yd³ (0.53 m³) |
Use it as a quick check. A standard 4 × 8 ft bed at 12 in needs just over one cubic yard, or about 0.9 cubic metres, and doubling the number of beds doubles the total. If you are building several beds, the cubic yard calculator and the square footage calculator help with the surrounding planning.
Settling: Why You Should Order a Little Extra
When you fill a bed with a light, airy mix, it looks full on day one and noticeably lower a few weeks later. Rain and watering collapse air pockets between the particles, and the organic matter slowly decomposes. A drop of 10 to 20 percent over the first season is common, and mixes high in compost, coir or bark tend to sink the most.
- 5 percent suits a mix that is mostly topsoil and has been tamped or watered in during filling.
- 10 percent is a sensible default for the classic 60/30/10 recipe.
- 15 to 20 percent suits compost-rich or coir-based mixes that have not been compacted.
A simple trickFill the bed in layers and water each one lightly. This pre-settles the mix, so the level you see on the first day is much closer to the level you will have in spring.
You do not have to buy the extra settling volume all at once. Many gardeners fill to the planned level, and top up with a few bags of compost after the first rain, which also boosts fertility.
Filling the Bottom of Deep Beds (Hugelkultur-Style)
In a bed 45 cm (18 in) or taller, the bottom layer is deeper than most vegetable roots will reach in their first season. Filling that zone with logs, branches, twigs, leaves and rough compostable material cuts the amount of soil you pay for and creates a slow-release reservoir as the wood decays. The approach is known as hügelkultur.
How it helps
- Soil volume falls by the depth of the filler layer. In a 60 cm bed with a 20 cm filler, you buy a third less soil.
- Decaying wood holds water like a sponge and releases it during dry spells.
- Rot over several years releases nutrients and keeps the structure of the bed open.
Rules for doing it well
- Use untreated, unpainted wood. Avoid black walnut, which releases growth-inhibiting compounds, and anything with a preservative.
- Place fresh, green wood lower down and cover with leaves, grass clippings or a few centimetres of compost, since fresh wood can temporarily draw nitrogen from the soil around it.
- Keep at least 15 to 20 cm (6 to 8 in) of proper soil mix above the filler so seedlings and shallow roots have a good home.
- Expect more settling as the filler compresses, and raise the settling allowance a little.
Switch on the bottom-filler option in the calculator, enter the layer depth, and it reduces the soil volume, then lists the filler volume as its own line so you know how many logs and branches to collect.
Bagged Soil or Bulk Delivery?
Both routes supply the same quantities. The right one depends on how much you need and how easily a truck can reach your garden.
| Package | Volume | Bags per cubic yard | Bags per m³ |
|---|---|---|---|
| 1 cu ft bag | 28.3 L | 27 | 35 |
| 1.5 cu ft bag | 42.5 L | 18 | 24 |
| 2 cu ft bag | 56.6 L | 13.5 | 17.7 |
| 3 cu ft bag | 85 L | 9 | 11.8 |
| 50 L bag | 50 L | 15.3 | 20 |
When bags win
One or two small beds, hard-to-reach back gardens, rooftop terraces, or ingredients like perlite and vermiculite that are rarely sold in bulk. Bags are also clean and easy to store.
When bulk wins
Once you pass roughly a cubic yard or three-quarters of a cubic metre, bulk soil is generally cheaper per litre, even after delivery. Check minimum loads and whether the driver can tip near the beds or only at the kerb, because wheelbarrowing a yard of soil is real work. If you are filling many beds, ask for a blended raised-bed mix so you do not have to mix at home.
Put your local prices into the cost section of the calculator and it will show the bulk and bagged totals side by side.
How Much Does Raised Bed Soil Weigh?
Soil is heavy, and it gets heavier when wet. That rarely matters on open ground, but it matters on a deck, balcony or roof, and it matters for planning how many wheelbarrow loads you are signing up for. Approximate moist bulk densities are:
| Material | Approx. kg per m³ | Approx. lb per yd³ | Approx. lb per ft³ |
|---|---|---|---|
| Topsoil (moist) | 1,300 | 2,190 | 81 |
| Finished compost | 700 | 1,180 | 44 |
| Coarse sand | 1,600 | 2,695 | 100 |
| Peat moss or coco coir (moist) | 250 | 420 | 16 |
| Vermiculite | 130 | 220 | 8 |
| Perlite | 110 | 185 | 7 |
The calculator adds up each ingredient using these densities. A 4 × 8 × 1 ft bed filled with the classic mix weighs about one tonne (2,100 lb), whereas the same bed filled with the lightweight recipe weighs roughly half of that. Saturated soil can weigh 20 to 30 percent more than moist soil.
Check the structure firstNever place heavy beds on a roof, balcony or timber deck without confirming the load rating with the building owner or an engineer. Use the lightweight mix and shallower beds where capacity is limited.
Frame Materials and Lumber Estimates
The walls of a raised bed hold the soil in, so they must resist constant moisture and outward pressure. Popular choices include untreated cedar or larch, thick softwood, galvanised steel panels, concrete blocks and bricks. Avoid creosote-treated railway sleepers and any lumber of unknown origin for vegetable beds.
- Board height: a 2×6 gives about 14 cm (5.5 in) per course, a 2×8 about 18 cm (7.25 in), a 2×10 about 23.5 cm (9.25 in) and a 2×12 about 28.6 cm (11.25 in). The calculator rounds the number of courses up to reach your bed height.
- Corner posts: beds longer than 2.4 m (8 ft) usually need a mid-span stake or tie to stop the sides from bowing outward.
- Lining: staple a strip of landscape fabric inside the lower boards if you want to slow rot, but leave the bottom open for drainage and worms.
When you tick the frame option, the tool totals the perimeter, multiplies it by the number of courses, adds 5 percent for cuts and returns the number of boards in your chosen length plus the corner posts. For board-by-board cost planning, try the board foot calculator. Round beds show edging length instead because they are usually built from flexible edging, bricks or curved steel.
How to Fill a Raised Bed Step by Step
- Position and level. Set the frame where it gets 6 to 8 hours of sun for vegetables, and check it is level so water does not run to one end.
- Prepare the floor. On grass or weeds, mow low, then cover with overlapping cardboard or a permeable fabric. Loosen compacted soil with a fork first so drainage is not blocked.
- Add the filler. If you are using one, lay the largest logs first, then branches, then leaves and straw, and press them down firmly.
- Layer the soil. Spread the ingredients in thin layers, or mix them in a wheelbarrow or on a tarpaulin. Water each layer lightly to settle it.
- Finish below the rim. Stop 2 to 5 cm (1 to 2 in) below the top so that water stays in the bed.
- Let it rest. If time allows, water well and leave it a week, then top up any low areas before planting.
Feeding, pH and Annual Top-Ups
A well-built bed needs little maintenance, but a few habits keep the soil productive for years.
- Top-dress each year. Add 2 to 5 cm (1 to 2 in) of compost in spring or autumn. This replaces organic matter and offsets settling, so you rarely need to refill from scratch.
- Test the pH. Most vegetables like a slightly acidic to neutral pH, around 6.0 to 7.0. Blueberries prefer far more acidic soil, near 4.5 to 5.5, and are usually grown in their own beds with a specially prepared mix.
- Mulch the surface. A layer of straw, leaf mould or wood chips reduces evaporation and weeds. Work out how much you need with the mulch calculator.
- Rotate crops. Moving plant families between beds each year reduces pests and nutrient imbalances.
- Be careful with urban sites. If your garden is near an old building, busy road or former industrial use, test the native soil for heavy metals and consider a barrier under the bed.
The Square Foot Gardening Foundation explains the grid method that pairs well with the square-foot mix, and Wikipedia has a good overview of raised-bed gardening. For bulk compost quantities, use the compost calculator, and for lawn or in-ground planting, the topsoil calculator.
Common Mistakes When Buying Soil for Raised Beds
- Measuring the outside of the frame. The soil only fills the inside, which can be noticeably smaller.
- Forgetting settling. A bed filled exactly to the brim in April is often 5 cm low by June.
- Ignoring headspace. Filling to the very rim leaves no room for water or mulch.
- Using only topsoil. It compacts and drains slowly in a confined bed. Blend it with compost and an aeration material.
- Using only compost. It is expensive, can dry out and shrink, and may be too rich for some crops.
- Mixing units. Cubic feet, cubic yards, litres and gallons are easy to confuse. Let the calculator handle conversion, and double-check bag sizes on the label.
- Buying cheap fill. Unscreened fill dirt may contain stones, clay and weed seeds. Ask for screened, weed-free topsoil.
- Treating weight lightly. A full bed on a deck or roof can overload it.
Units and Conversions for Garden Soil
Garden suppliers use a mix of cubic yards, cubic feet, cubic metres and litres. The following conversions cover almost every label you will see.
| From | To |
|---|---|
| 1 m³ | 1,000 L = 35.31 ft³ = 1.308 yd³ |
| 1 yd³ | 27 ft³ = 764.6 L = 0.7646 m³ |
| 1 ft³ | 28.32 L = 0.0370 yd³ |
| 1 US gallon | 3.785 L |
| 1 in | 2.54 cm = 25.4 mm |
| 1 ft | 30.48 cm = 0.3048 m |
| 1 tonne | 1,000 kg = 2,205 lb |
| 1 US ton | 2,000 lb = 907 kg |
For anything else, use the unit converter. If you are also building hard landscaping around your beds, see our concrete tools for patios, slabs and footings.
Glossary
- Headspace: the gap between the soil surface and the top of the frame.
- Loam: a balanced mix of sand, silt and clay that holds water and drains well.
- Aeration material: perlite, coarse sand or bark that keeps the mix open.
- Bulk density: the weight of a material per unit of volume.
- Top-dressing: a thin layer of compost spread over the surface.
Frequently Asked Questions About Raised Bed Soil
How do I calculate how much soil I need for a raised bed?
Multiply the inside length by the inside width by the depth of soil, using the same unit for all three. A 4 × 8 ft bed filled to 11 inches needs 4 × 8 × (11 ÷ 12) = 29.3 cubic feet, or about 1.09 cubic yards. Add 10 percent for settling and you get roughly 32 cubic feet.
How many bags of soil do I need for a 4×8 raised bed?
A 4 × 8 ft bed filled 12 inches deep needs about 32 cubic feet before settling. That is 22 bags of 1.5 cubic foot soil, or 16 bags of 2 cubic foot soil. Adding 10 percent for settling takes it to about 24 or 18 bags. Always round each ingredient up to a whole bag.
How deep should a raised bed be?
Salad leaves and herbs are happy in 15 to 20 cm (6 to 8 in) of soil. Most vegetables and flowers do well in 25 to 30 cm (10 to 12 in). Carrots, parsnips, potatoes and other deep-rooted crops prefer 35 to 45 cm (14 to 18 in), and tomatoes, squash and sweetcorn are best in at least 30 to 45 cm (12 to 18 in). If the ground beneath is loose and not compacted, roots will also explore below the bed.
What is the best soil mix for raised beds?
A reliable general-purpose mix is about 60 percent topsoil, 30 percent compost and 10 percent aeration material such as perlite or coarse sand. Gardeners who want a lighter, peat-free option often use equal parts compost, coco coir and perlite or vermiculite. The best mix is one that drains freely, holds moisture and is rich in organic matter.
How much will soil settle in a new raised bed?
Newly filled beds commonly sink by 10 to 20 percent over the first season as air pockets collapse and organic matter breaks down. That is why the calculator adds a settling allowance. Topping up with compost each spring keeps the bed at the right level.
Can I put logs and branches in the bottom of a raised bed?
Yes. A bottom layer of logs, branches and leaves, sometimes called hugelkultur, reduces the soil you need to buy and slowly releases nutrients as it rots. Avoid treated or painted wood and black walnut, and put at least 15 cm (6 in) of good soil above it so roots have somewhere to grow.
Is it cheaper to buy soil in bags or in bulk?
For anything over about one cubic yard (0.75 m³), bulk delivery is usually cheaper per litre than bags, but delivery fees and minimum loads apply. Bags make sense for one or two small beds, for hard-to-reach gardens, or when you only need a specific amendment like perlite. Enter your prices in the calculator to compare.
How much does a raised bed full of soil weigh?
Moist topsoil weighs around 1,300 kg per cubic metre (about 80 lb per cubic foot), and compost about 700 kg per cubic metre. A 4 × 8 × 1 ft bed filled with a topsoil-based mix therefore weighs roughly one tonne (about 2,100 lb) and more when soaked. Lightweight mixes with coir and perlite can be less than half of that.
Do I need to line the bottom of a raised bed?
On lawn or weedy ground, a layer of plain cardboard or a permeable landscape fabric stops grass and weeds growing up through the soil while still letting water and worms through. Avoid plastic sheeting, which blocks drainage. Where the bed sits on paving or a deck, use a drainage layer and make sure water can escape.
How often should I top up raised bed soil?
Add 2 to 5 cm (1 to 2 in) of compost on the surface every spring or autumn. This replaces the organic matter plants and microbes use up and makes up for gradual settling. A full refill is rarely needed unless the soil has become compacted or contaminated.
Does the calculator work for round and L-shaped beds?
Yes. Choose Round and enter the diameter, or choose L-shaped and enter the overall length and width plus the size of the corner cut-out. The area is calculated automatically and everything else follows from it.