Raised Bed Soil Calculator — Cubic Yards & Bags

Fill a 4x8 raised bed without overbuying: enter bed size and depth to get cubic yards and 2 cu ft bag counts, and the compost-to-topsoil ratio that drains well.

Raised Bed Soil Calculator

Paste it on your own page or wiki — no signup, no tracking script.

How much soil a raised bed really holds

Every spring the same thing happens at the garden centre: someone wheels twelve bags of soil to the till for a bed that needs sixteen, or orders a cubic yard for a bed that holds two thirds of one. Both mistakes cost the same, one in a second trip and the other in a heap of leftover mix going sour behind the shed. A raised bed is a box, so its volume is ordinary arithmetic. Get the volume in cubic feet and the buying decisions fall out of it: bags to load, cubic yards to have dumped, and roughly what the load weighs.

The formula, written out in full

Measure the inside face of the frame, not the outside. Length and width go in as feet, depth goes in as inches, and the depth is the only thing that needs converting, because soil is sold by volume and volume does not care which unit you measured in as long as you are consistent.

As one line: cubic feet = length (ft) x width (ft) x depth (in) / 12. That is the entire calculation this page runs, and you can repeat it on a phone calculator in about fifteen seconds if you would rather check the number than trust it.

Example 1: 4 ft by 8 ft at 10 inches

A four by eight bed is standard for a reason: at four feet wide you can reach the middle from either side without stepping on the soil. The area is 32 sq ft, and ten inches of depth is 10 / 12 = 0.833 ft. So 32 x 0.833 = 26.67 cubic feet, which is 26.67 / 27 = 0.99 cubic yards, close enough to one yard that a bulk supplier will load it as a single scoop. Bags are 26.67 / 2 = 13.3, rounded up to 14. Bulk screened topsoil would weigh 0.99 x 1.2 = 1.19 tons. Fourteen bags is a cart and a half, and it fits in a hatchback in two runs.

Example 2: the same bed at 12 inches

Twelve inches is one foot, so the arithmetic collapses: 32 sq ft x 1 ft = 32 cubic feet, which is 1.19 cubic yards, exactly 16 bags, and 1.42 tons. The interesting number is the difference between the two depths. Going from ten inches to twelve adds 5.33 cubic feet, about two and a half bags, a fifth of the whole order for two inches of depth. Depth is the most expensive variable in the job, which is why it is worth settling before you buy rather than adding another board in June.

Example 3: 4 ft by 4 ft at 10 inches

A four foot square is 16 sq ft, half the area of the four by eight, so it takes half the soil: 16 x 0.833 = 13.33 cubic feet, or 0.49 cubic yards, or 7 bags once 6.67 is rounded up. Seven bags is a single trolley load, which is why small square beds are the easiest way to start a garden: no delivery, no wheelbarrow, no leftover heap. Two of them side by side hold exactly what one four by eight holds, and if one fails, a cracked board or a bad batch of mix, you are only replacing half the investment.

Why you stop filling about two inches below the rim

Side section of a raised bed filled to two inches below the rim
Leave about two inches of freeboard. Soil settles, and a bed filled level spills over the first time it rains.

A bed filled level with the top board looks generous in the shop and behaves badly in the garden. Fresh mix is loose and full of air, and it settles: after the first few waterings and a month of wetting and drying, a bed filled to the brim typically drops an inch or more, leaving a crusted line on the timber and a rim of exposed soil. Filling to about two inches below the top buys four things. Rain and hose water stay inside the frame instead of running off and carrying mix over the edge, which is how beds end up with bare low corners and a mud stain on the path. There is room to scratch in compost next spring. Mulch has somewhere to sit. And water has a lip to pool against briefly, so it soaks in rather than sheeting sideways.

Those two inches are part of the bed's volume, not spare capacity, so when the calculator asks for depth, give it the depth of soil you actually want and not the height of the frame. A 10 inch frame filled to 8 inches holds 21.33 cubic feet rather than 26.67, and at 2 cubic feet per bag that is 11 bags instead of 14. Three bags is the cost of deciding late.

Topsoil, raised bed mix and potting soil are not interchangeable

The bags look similar and the prices do not, and the difference matters more in a confined box than it does in open ground.

For a bed sitting on open ground, the practical target is a mix that holds a squeeze but crumbles when you poke it, drains within an hour of a soaking, and does not set hard when it dries. Straight topsoil usually fails the third test and straight potting mix usually fails the first. A blend of the two plus compost is the usual compromise, and buying a bagged raised bed mix is simply paying someone else to make that blend for you.

Compost: blend it in and let drainage decide how much

Compost is not a soil substitute. It improves structure, holds water and releases nutrients as it breaks down, but a bed filled with compost alone collapses in volume within a season, holds too much water in a wet spring, and can push nutrient levels out of balance. Extension guidance on raised beds agrees on the principle and stays general on the number: blend composted material into the fill by volume rather than filling the box with it, and judge the result by drainage and roots rather than by hitting a fixed ratio.

Two checks settle it faster than any percentage. Squeeze a fistful of the finished mix: it should hold its shape briefly and break apart when prodded, not ooze water and not stay in a ball like clay. Then dig a test hole a spade deep in the filled bed, fill it with water and watch how long it takes to disappear; if water is still standing hours later, the mix needs more coarse material and less fine compost. Roots give the final verdict by the end of the first season. Pale, straight roots spreading through the bed mean the mix is working; a tight matted root ball sitting in a wet layer means it is not.

Topping up in year two and beyond

Every raised bed loses height. Some of it is settling, some is the compost fraction mineralising away, and some is soil leaving on roots and boots at harvest. The reliable way to size the top-up is a ruler rather than a formula: measure how far the surface has dropped below where you filled it and replace that depth across the same area, minus a little, because new material settles too. A bed that has dropped an inch over 32 sq ft wants about 2.7 cubic feet, which is one and a half bags, noticeable in the bag count and trivial in a wheelbarrow. Where the drop is uneven, spot-fill the low end first. A surface that is level holds water evenly, and one that is not will always have a dry corner and a drowned corner.

Bed size and depth chart

Bed sizeSoil depthCubic feetCubic yards2 cu ft bags
4 x 46 in8.000.304
4 x 48 in10.670.406
4 x 410 in13.330.497
4 x 412 in16.000.598
4 x 86 in16.000.598
4 x 88 in21.330.7911
4 x 810 in26.670.9914
4 x 812 in32.001.1916
4 x 1010 in33.331.2317
4 x 1012 in40.001.4820
4 x 1212 in48.001.7824
3 x 610 in15.000.568
2 x 810 in13.330.497

Figures are rounded the way a shop rounds: cubic feet and cubic yards to two decimals, bags up to the next whole bag. Bags round up and never down, because a bed that is half a bag short looks exactly like a bed that is one bag short.

Bags or tons: which number you actually order

The ton figure in the result exists for one specific purchase: bulk screened topsoil tipped off a truck. It uses 1.2 tons per cubic yard, a working weight for screened topsoil at ordinary moisture that drifts up in wet weather and down with a dry sandy load. Retail bagged soil is not sold by weight in any way that helps you. A 2 cubic foot bag is priced by volume, and the weight printed on it is for the courier, not your arithmetic. A pallet of bags weighing 1.19 tons is still 14 bags, and buying fifteen because the ton figure looked round is how garages fill up with half-used bags. If you do order bulk, ask whether their yard is a legal cubic yard or a scoop, because a scoop is not a unit.

Measure the bed you have, not the one on the plan

Timber is nominal. A 2 by 10 board is about 1.5 inches by 9.25 inches, so a frame stacked from three of them is not 30 inches tall, and a bed built from 2 by 8s holds less than the drawing says. Measure inside faces and real soil depth. If the ends taper or curve, break the bed into rectangles and add them. If it already holds soil, measure only the depth you are adding. Multiple beds add up fast: four beds of 4 by 8 at 10 inches is 106.7 cubic feet, four cubic yards, which is a delivery rather than a shopping trip.

What this calculator does not know

It assumes a rectangular box with vertical sides and a flat surface, and it adds a ten percent waste allowance on top of the answer because bags spill, boards settle and beds are never perfectly square. It cannot tell whether your mix arrives damp and compacted or dry and fluffy, and it cannot tell you whether the soil you are topping up is short of compost or short of grit. A soil test through your county extension office answers that for the price of a lab fee, and it is the only way to know what your bed is actually missing. For construction and fill guidance from a land-grant source, see Clemson Cooperative Extension: Raised Beds.

FAQ

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

At 10 inches deep a 4x8 bed holds 26.67 cubic feet, which is 14 bags of 2 cubic feet. At 12 inches it holds 32 cubic feet, which is exactly 16 bags. Divide your cubic feet by 2 and round up, because the last bag is always partly used and a bed that is half a bag short looks no different from one that is a bag short.

How deep should the soil be in a raised bed for vegetables?

Eight to twelve inches of actual soil covers most vegetables, with 10 inches being a sensible default for a 4x8 bed. Leafy crops and herbs root shallower, while tomatoes, carrots and anything with a long taproot do better at 12 inches or more. Depth means soil depth, not frame height: fill to about two inches below the rim so water stays in.

Why should I leave two inches empty at the top of a raised bed?

Fresh mix is loose and settles an inch or more after the first month of watering. Leaving two inches keeps rain and hose water inside the frame instead of running off with your soil, leaves room to scratch in compost next spring, gives mulch somewhere to sit, and lets water pool briefly so it soaks in rather than sheeting off the surface.

Is it cheaper to buy soil in bags or by the cubic yard?

Bulk is almost always cheaper per cubic foot, but only if you can take a full load. A yard is 27 cubic feet, or about 13 and a half 2-cubic-foot bags, so a bed that needs 14 bags is right at the crossover point. Add the delivery fee before deciding, and remember that bulk mix has to go somewhere within wheelbarrow distance of the truck.

Should I put gravel in the bottom of a raised bed for drainage?

Usually not. A gravel layer under fine soil creates a boundary where water slows and pools, so the bed can hold more water than it would with soil all the way down. Drainage comes from the mix itself having enough coarse structure, and from the ground beneath the bed being able to take water away. Sort out the soil mix and the site first.

Can I use potting soil to fill a raised bed?

You can, but it is an expensive way to fill a box. Potting mix is soilless, light and fast draining, which is right for containers and wrong for a wide shallow bed that will dry out quickly in summer. It also breaks down and loses volume faster than a mineral mix. Use it for a thin top layer or for pots, not for 26 cubic feet of fill.

How much compost should I mix into raised bed soil?

Blend it in by volume rather than filling the bed with compost alone, and let drainage and roots set the amount. A mix that crumbles when you squeeze it, drains within about an hour of soaking, and does not set hard when dry is right. Too much compost means the bed shrinks, holds water in spring and can push nutrient levels out of balance.

How do I know how much soil to add when topping up a raised bed?

Measure how far the surface has dropped below the level you filled to, then treat that as the depth to replace across the same area. An inch over 32 square feet is about 2.7 cubic feet, or a bag and a half. Replace a little less than the measured drop, because new material settles too, and level the low spots first.

How many tons is a cubic yard of topsoil?

Screened topsoil is roughly 1.2 tons per cubic yard at ordinary moisture, which is the figure the calculator uses. Wet, clay-heavy loads run heavier and dry sandy loads lighter, so treat it as a planning number for a bulk order. Retail bags are sold by volume in cubic feet, so the ton figure does not apply to them at all.

Do I measure a raised bed inside or outside the frame?

Always inside. The boards themselves take up several inches of the outside measurement, and a nominal 2 by 10 is really about 1.5 by 9.25 inches, so frame height is not soil depth. Measure the inside faces and the depth of soil you actually intend to add, and for beds that are already part filled, measure only the new layer.

More yard & garden calculators