Garden Advice Guide
Free volume calculator

Raised Bed Soil Calculator

Enter your bed in feet and inches and get cubic feet, cubic yards, and the exact number of bags to buy at every common bag size. Add as many beds as you like for a running project total.

Your beds

Fresh mixes settle in the first season, mostly as the compost and peat fraction breaks down and the whole thing gets rained on. Adding 10 percent now is cheaper than buying one more bag in June. The headline figure above stays the plain box volume so you can always see the raw number.

How this is calculated

Volume is length times width times depth, in feet. Inches are converted first, which is where most calculators quietly go wrong. A bed entered as 12 feet 6 inches must become 12.5 feet, never 126. This tool echoes back what it understood from every measurement, so a misread number cannot slip past you.

A 4 foot by 8 foot bed filled 12 inches deep is 4 x 8 x 1 = 32 cubic feet. A cubic yard is 3 by 3 by 3 feet, which is 27 cubic feet, so that same bed is 32 / 27 = 1.19 cubic yards.

Bags are always rounded up, and the leftover is shown separately. You cannot buy 21.3 bags. At 1.5 cubic feet per bag, 32 cubic feet needs 22 bags, which gives you 33 cubic feet and 1 cubic foot spare. Every bag size is shown at once rather than hidden behind a dropdown, because the cheapest option is usually whichever size your store actually has in stock.

Measure the inside of the bed, not the outside. Two inch boards on a 4 by 8 frame take roughly 4 inches off each dimension, which is about 2 cubic feet on a 12 inch deep bed. If your bed sits on open ground rather than a hard surface, subtract a little more, because the first inch or two settles down into the soil beneath.

The settling allowance and the mix ratio are both shown as their own lines rather than folded into the headline, so you can always see the plain box volume underneath.

Soil volume for common bed sizes

Cubic feet needed, by bed size and fill depth. This is the same arithmetic the calculator runs, so the two can never disagree.

Measured from the inside of the bed. Divide by 27 for cubic yards.
Bed size 6 in deep 8 in 10 in 12 in 18 in 24 in Cu yd at 12 in

By Joan Ramos · Updated November 2026

From empty frame to planting day: filling a raised bed well

Key facts

  • Smother grass under the bed with overlapping cardboard before filling.
  • Loosen the ground beneath with a fork so roots can reach down.
  • Most vegetables grow best with a soil pH between about 6.0 and 7.0.
  • Water the fill thoroughly and let it settle a few days before planting.
  • Check a bulk load for smell, texture and debris before it is dumped.

The calculator tells you how much soil to buy. This guide is about everything around that number: getting the ground ready, choosing and checking what you buy, filling the bed so it drains and holds water well, and preparing it for its first planting. A well-filled bed can grow good crops for years with only a yearly top-up, so it is worth taking an extra afternoon to get it right.

I will start with a worked example for a small garden project, because seeing the numbers laid out makes the buying decisions much easier.

A worked example: a three-bed starter garden

Say you are building three beds, each 4 feet by 8 feet on the inside, and you want to fill them 10 inches deep. Ten inches is 0.83 feet, so each bed holds 4 x 8 x 0.83, or about 26.7 cubic feet. Three beds make about 80 cubic feet. Adding 10 percent for settling brings it to about 88 cubic feet, which is roughly 3.3 cubic yards.

In 2 cubic foot bags, that is 44 bags. In 1.5 cubic foot bags it is 59. That is a lot of bags to haul, open and tip, and a lot of plastic to dispose of. At over three cubic yards, a bulk delivery is usually the easier and cheaper route, as long as you have a driveway or tarp to receive it. Plan on a few hours with a wheelbarrow to move it, and ask a friend to help.

If you add a fourth, smaller bed later, say 2 by 6 feet at 12 inches deep, that is another 12 cubic feet, which is only six 2 cubic foot bags. Small add-ons like that are where bags make sense.

Preparing the ground underneath

What lies under the bed matters more than many people expect. If the bed sits on lawn, the grass will try to grow up through your new soil. The easiest fix is to lay plain brown cardboard over the grass inside the frame, overlapping the edges by several inches so there are no gaps. Remove tape and glossy labels first. Wet it thoroughly, then fill on top. The grass dies in the dark, and the cardboard breaks down within a season or so. Our no-dig gardening guide explains this method in more detail.

If the ground is very compacted, push a garden fork into it every foot or so and rock it back and forth before laying the cardboard. You are not digging, just opening cracks so roots and water can travel down into the native soil later. Over time, that lower layer becomes part of your root zone.

If you have persistent problems with burrowing animals such as gophers or moles, a layer of galvanized hardware cloth stapled across the bottom of the frame before filling keeps them out. It is much harder to add once the bed is full.

Checking what you buy

Not all garden mixes are equal, and the cheapest is not always the best value. With bags, read the label. You want something described for raised beds or vegetable gardens, with compost or organic matter listed. Avoid bags labeled only as fill dirt, which is meant for leveling ground rather than growing.

With a bulk load, ask the supplier what is in their blend, whether the compost is fully finished, and whether they screen it. If you can see it before delivery, take a handful. Good mix is dark, crumbly and smells earthy. A sour or ammonia smell can mean the compost is not finished and may harm young roots. Look for large stones, chunks of wood, plastic or obvious weed roots. A reputable supplier will happily answer these questions.

It is worth testing the soil once it is in, or asking the supplier for a recent test. Most vegetables grow best between about pH 6.0 and 7.0. Our guides on how to test garden soil and where to get your soil tested walk you through the options. Blueberries are the exception and need much more acidic soil, covered in our blueberry soil pH guide.

Filling the bed in a sensible order

If you are using more than one material, such as a cheaper blend below and a richer mix on top, fill in layers of a few inches at a time and mix each layer into the one beneath with a fork or rake. Sharp boundaries between very different materials can slow water movement and leave roots stuck in one layer.

Fill to an inch or two below the top of the frame, then water gently and thoroughly. A watering can or a hose on a soft shower setting avoids washing the mix around. Water until it is evenly moist all the way down, which can take several rounds on a dry mix. Let the bed sit for a few days, then top it back up to the level you want. The first heavy soaking always reveals air pockets that the calculator's settling allowance was meant to cover.

It is also a good moment to install irrigation, before plants go in. Our guide to raised bed drip irrigation layouts shows how to plan lines for different bed sizes.

What not to put in a raised bed

A few materials cause trouble. Fresh manure is too strong for young plants and can carry pathogens, so use only well-aged or composted manure. Uncomposted grass clippings in thick layers can mat and turn slimy. Clay subsoil dug from a foundation is heavy and drains poorly. Pure sand added to clay can make a concrete-like mix rather than lightening it.

Avoid soil or compost from areas treated with persistent herbicides, which can damage tomatoes, beans and peppers even after composting. If you are unsure about a free load of soil or manure, it may be wiser to pass. Your county cooperative extension office can advise on local suppliers and common problems in your area.

How climate changes the way a bed behaves

Raised beds drain faster and warm up sooner in spring than the ground around them. In cold northern gardens that is a real advantage: the soil in a raised bed is often workable a week or two before the open garden, which helps early crops like peas and spinach get going. Dark mixes rich in compost warm even faster.

In hot, dry regions the same qualities become a challenge. Beds can dry out in a single afternoon in midsummer, especially shallow ones and those built from metal, which heats up in full sun. A mix with plenty of compost holds more water, and a thicker layer of mulch, around 3 inches, keeps roots cooler. Drip irrigation on a timer is close to essential there. Our comparison of raised beds versus in-ground gardens looks at these trade-offs in more detail.

Getting the bed ready for its first crops

A fresh mix is usually rich in organic matter but can be low in readily available nutrients for the first few weeks, especially if it contains a lot of woody compost. A balanced organic fertilizer worked into the top few inches at planting gives seedlings an easy start. Our fertilizer numbers explained guide helps you read the labels, and the vegetable garden fertilizer schedule covers feeding through the season.

Once the soil has settled, a layer of mulch such as straw or shredded leaves helps hold moisture in summer, since raised beds dry out faster than ground soil. Then it is time to plan what goes in. The plant spacing calculator shows how many plants your bed holds, and the when to plant tool gives you the dates for each crop.

Keep planning

Once the bed is full, these decide what goes in it and when.

Common questions

How deep does a raised bed actually need to be?

Six inches over open ground grows most annual vegetables, because roots carry on down into the soil beneath. Eight to twelve inches is the comfortable standard and is what most kits are. Twelve inches becomes the minimum rather than a nicety if the bed sits on concrete, decking or heavy compacted clay that roots cannot penetrate, and deep-rooted crops such as carrots, parsnips and potatoes want that depth wherever the bed sits.

When is bulk delivery cheaper than bags?

Usually above about one cubic yard, which is 27 cubic feet, or roughly one 4 by 8 bed filled 10 inches deep. A cubic yard bought in 1.5 cubic foot bags is 18 bags, and bagged mix generally costs several times as much per cubic foot as the same material in bulk. Even after a delivery fee the bulk load tends to win at that point, and the gap widens fast as the project grows. Below a cubic yard the delivery fee usually swallows the saving, and bags are also easier if you have no driveway to dump on. Use the cost comparison in the result panel with your own local prices, because bulk pricing varies by region far too much for any table to be honest about.

What is the classic raised bed soil mix?

One third compost, one third peat moss or coconut coir, and one third coarse vermiculite, all measured by volume. It comes from the square foot gardening method and it is genuinely good: light, water retentive, and free of weed seed. It is also expensive at any real depth, and vermiculite in particular is not always easy to find in the coarse grade. For beds deeper than about 8 inches many people fill the lower portion with a cheaper topsoil and compost blend and reserve the classic mix for the top layer.

Peat or coir?

Both work. Peat is cheaper in most of the United States and slightly acidic, which suits most vegetables. Coir is a coconut processing byproduct, holds water at least as well, rewets far more easily once dried out, and avoids the peat bog harvesting question that some gardeners care about. The practical catch with both is that they are sold compressed, so the volume on the bag is not what you will end up with once it is broken up and moistened. Check the bag for an expanded volume figure rather than assuming a multiplier, since it varies a lot by product.

Can I just fill the bottom with logs, branches or cardboard?

You can, and the technique has a name, hugelkultur. It genuinely saves money and holds water well. Be honest about the trade: as that woody material breaks down the bed sinks, sometimes dramatically, and you will be topping it up every year for several years. It also ties up nitrogen at the wood and soil boundary while it decays. It works best in beds deeper than about 18 inches, where you can afford to lose the lower third to it. In a 10 inch bed it costs you most of your root zone.

Why does my new bed sink so much in the first year?

Because a fresh mix is full of air, and rain drives it out. Compost keeps decomposing and loses volume as it does. Peat and coir compress once wet. Losing an inch or two in the first season is completely normal and is not a sign you were sold bad soil. Plan for it by filling proportionally higher at the start, or budget one or two bags of compost as an annual top up, which the bed will want anyway for fertility.

Should I use bagged topsoil straight from the store?

Not on its own. Bagged topsoil varies enormously in quality between brands and can be heavy, poorly draining and close to sterile. It is fine as a bulking ingredient blended with compost, and cheap bagged topsoil is a common component of a deep-bed fill. It is a poor choice as the only thing in the bed, and it is a genuinely bad choice for containers.

How much compost should I add each year after that?

An inch or two spread over the surface annually is the usual advice, which is 3 to 7 cubic feet on a 4 by 8 bed. Set the bed depth in this calculator to 1 or 2 inches to get that figure for your own beds. You do not need to dig it in. Spread it on top and let the soil life pull it down, which is less work and better for the soil structure you have spent a season building.

Free tools from Garden Advice Guide
Frost DatesPlanting ZonesWhen to PlantWhen to HarvestSeed StartingPlanting CalendarZone SchedulePlant SpacingRaised Bed SoilLawn Care ScheduleWatering Guide