Landscaping calculator
Raised Garden Bed Soil Calculator
A raised garden bed soil calculator that turns your bed length, width and fill depth into the soil you need in cubic feet, cubic yards and tons, with soil mix recipes and bag counts. The depth guidance covers different crops, so the roots get the depth they need and you do not pay for soil the bed cannot hold. Fill it once, at the right depth, and plant the same day.
- Free to use
- No sign-up
- Formula and sources shown

Got the number? Save it before it gets lost.
A result on a screen is easy to lose. Save this estimate in the app and it stays with the project, ready when you order.
Estimate cost (optional)
Raised Garden Bed Soil required
Exact amount
1.19 cu yd
With 5% waste Recommended
1.24 cu yd
Cubic feet
32.00
Approx. weight
1.26 tons
Uses a 75 lb/ft³ baseline for a loose garden soil/compost blend, lighter than gravel or topsoil since a good raised-bed mix includes compost and amendments, not just dense mineral soil.
Turn this result into a priced plan
Save it to a project, add the rest of your materials, and send a client-ready quote. No retyping, no spreadsheet, no lost numbers.
Formula
Volume = Length × Width × Depth
Worked example. An 8 ft × 4 ft bed, filled 12 in deep: 8 × 4 × 1 = 32 cu ft, about 1.19 cu yd. With 5% waste (33.6 cu ft), order about 1.24 cu yd, roughly 23 standard 1.5 cu ft bags.
Soil volume is length times width times depth, with depth in feet. An 8 ft by 4 ft raised bed filled 12 inches deep needs 32 cubic feet, or 1.19 cubic yards. With 5% waste you order 33.6 cubic feet, or 1.24 cubic yards. That is about 23 bags of 1.5 cubic feet, so count the bags before the delivery truck leaves.
Key takeaways
- •Volume = length × width × depth. Length and width are in feet, and depth is in inches.
- •The calculator shows cubic feet, cubic yards and tons. Weight uses a baseline of 75 lb per cubic foot, lighter than topsoil because raised bed mixes contain compost.
- •It does not show bag counts, so divide the cubic feet by the volume on the bag label and round up.
- •Fresh soil settles 10 to 20% in the first season, so plan to top up the bed rather than overfill it.
- •Use "Add another area" to fill several beds in one calculation.
How to use the raised garden bed soil calculator
- Measure the inside length and width of the bed in feet. Use the inside, not the outer edge of the boards.
- Decide the fill depth in inches. If the bed is 12 inches tall, fill to about an inch below the top.
- Enter the dimensions. Add other beds with "Add another area".
- Keep the 5% default waste, or raise it if you will fill by hand from a pile.
- Read the cubic feet for bags, or the cubic yards for a bulk order.
- Plan the mix, as described in the soil mix section.
Raised bed soil formulas
Volume (cu ft) = Length (ft) × Width (ft) × Depth (in) ÷ 12
Cubic yards = Cubic feet ÷ 27
Bags = ceil[ Cubic feet with waste ÷ Bag size (cu ft) ]
Weight (tons) = Cubic feet with waste × 75 lb ÷ 2,000
The waste percentage is applied to the volume before the weight is worked out.
Raised bed soil examples
Example 1: an 8 ft × 4 ft bed filled 12 in deep, 5% waste (the calculator default)
- Volume = 32 cu ft, or 1.19 cu yd
- With waste = 33.6 cu ft, or 1.24 cu yd
- Weight = 33.6 × 75 ÷ 2,000 = 1.26 tons
- Bags of 1.5 cu ft = 33.6 ÷ 1.5 = 22.4, so 23 bags
Example 2: a 4 ft × 4 ft bed filled 10 in deep, 5% waste
- Volume = 13.33 cu ft, or 0.49 cu yd; with waste, 14 cu ft or 0.52 cu yd
- Weight = 0.53 tons
Example 3: three 8 ft × 4 ft beds filled 12 in deep, 5% waste
- Volume = 96 cu ft, or 3.56 cu yd; with waste, 100.8 cu ft or 3.73 cu yd
- Weight = 3.78 tons
Example 4: a small 6 ft × 3 ft bed filled 8 in deep, 5% waste
- Volume = 12 cu ft, or 0.44 cu yd; with waste, 12.6 cu ft or 0.47 cu yd
Example 5: a large 12 ft × 4 ft bed filled 18 in deep, 5% waste
- Volume = 72 cu ft, or 2.67 cu yd; with waste, 75.6 cu ft or 2.80 cu yd
- Weight = 2.84 tons
Example 6: cost of Example 1 at an example price
- 1.24 cu yd × $55 per cu yd = $68 (example price only; bagged soil costs much more per cubic foot)
How deep should a raised bed be
| Crop type | Common soil depth | Notes |
|---|---|---|
| Salad greens, herbs | 6 to 8 in | Shallow roots, fine in a shallow bed if it sits on loose ground |
| Most vegetables | 10 to 12 in | A common target for general gardening |
| Tomatoes, peppers | 12 to 18 in | Deeper roots and more water |
| Root crops such as carrots and parsnips | 12 in or more | Roots need room to go straight down |
| Bed on hard ground or paving | Full depth in the bed | Roots cannot reach soil below |
These are common horticultural ranges. A bed on top of loosened garden soil lets roots reach below the bed, so it can be shallower than one on a hard surface.
Raised bed soil mixes
| Mix | Ingredients | Notes |
|---|---|---|
| Simple blend | About 60% topsoil, 30% compost, 10% perlite or coarse sand | Cheaper and fills the same total volume |
| "Mel's Mix" style | About equal parts compost, coarse vermiculite and peat moss or coco coir | A popular DIY mix, light and moisture-holding but more costly |
| Bagged raised bed mix | A ready-made blend | Convenient for small beds, more costly |
| Compost-heavy mix | More compost, less topsoil | Rich but settles faster |
Whichever recipe you use, it fills the total volume shown here. Divide the total by the share of each ingredient. For example, 33.6 cubic feet at 60/30/10 is about 20.2 cu ft of topsoil, 10.1 of compost and 3.4 of perlite or sand.
Bags or bulk
| Option | When it fits |
|---|---|
| Bagged soil | One or two small beds, up to about 1 cubic yard |
| Bulk delivery | Several beds or beds over about 1 to 2 cubic yards |
| DIY blend from bulk | Large beds, where the blend is cheaper |
Bags are commonly 1, 1.5, 2 or 3 cubic feet, so check the label. A cubic yard is 27 cubic feet, which is 18 bags of 1.5 cubic feet.
Filling several beds
- •Use "Add another area" for each bed, and the calculator adds the volumes.
- •Three 8 × 4 × 12 inch beds need 96 cubic feet before waste, or 3.56 cubic yards. A bulk delivery is usually far cheaper than the equivalent number of bags.
- •Check that the delivery can reach your garden, and where the pile will be dropped.
- •Move soil with a wheelbarrow. A wheelbarrow holds about 3 to 6 cubic feet, so 100 cubic feet is about 17 to 33 trips.
Settling and top-ups
- •Newly filled beds settle as the organic matter breaks down and water compacts the soil, commonly by 10 to 20% in the first season.
- •Do not overfill to compensate. Fill to just below the top and top up in spring with compost.
- •Water the bed well after filling to settle it, then check the level.
- •Adding compost every year keeps the soil rich and the level up.
Soil safety and testing
- •If your bed sits on old urban ground, near older painted buildings or by a busy road, consider a soil test for lead and other contaminants, since a raised bed with clean soil and a barrier can reduce exposure.
- •Buy soil from a supplier that can say what is in it, and avoid unknown fill.
- •Line the bottom with cardboard or a landscape fabric to block weeds. Use hardware cloth under the bed if gophers or voles are a problem.
- •Use untreated or rot-resistant wood, or other materials that are safe for growing food, for the sides.
- •Local extension offices often offer soil testing and advice.
Estimating raised bed soil cost
Cost = Cubic yards × Price per cubic yard
Example only: 1.24 cubic yards at $55 per cubic yard is about $68. Bagged soil costs much more, often several times as much per cubic foot, so compare costs per cubic foot, and add delivery.
Troubleshooting raised bed soil
| Problem | Likely cause | What to do |
|---|---|---|
| Bed level drops after a month | Normal settling | Top up with compost |
| Soil drains poorly | Too much clay or peat | Add coarse sand or perlite and compost |
| Soil dries out fast | Too sandy | Add compost and mulch the top |
| Ran short | Settling or waste | Raise the waste percentage |
| Bags do not add up | Different bag sizes | Divide by the volume on the label |
| Weeds in the bed | No barrier | Line with cardboard before filling |
Terms explained
| Term | Meaning |
|---|---|
| Raised bed | A garden bed built up above the surrounding ground |
| Fill depth | The depth of soil in the bed, in inches |
| Compost | Decomposed organic matter that feeds soil |
| Perlite | A light volcanic glass used to improve drainage |
| Vermiculite | A mineral that holds water and air in soil mixes |
| Peat moss | A fibrous moss that holds water, often replaced with coco coir |
| Settling | The soil level dropping as it compacts |
| Cubic yard | A volume of 27 cubic feet |
Common raised bed mistakes
- •Measuring the outside of the bed instead of the inside.
- •Filling to the very top and leaving no room for settling.
- •Using only topsoil, which can be heavy and compact.
- •Buying everything in bags for a large bed.
- •Forgetting the bag size when counting bags.
- •Using treated wood or unknown fill soil for a food garden.
Metric conversions
| From | To |
|---|---|
| 33.6 cubic feet | 0.95 cubic metres |
| 1.24 cubic yards | 0.95 cubic metres |
| 1.26 US tons | 1.14 metric tonnes |
| 12 inches | 30.5 cm |
| 8 feet × 4 feet | 2.44 m × 1.22 m |
Soil needed for common bed sizes
Most home beds are 3 to 4 ft wide, wide enough to grow in, narrow enough to reach the middle from either side. The table gives net volumes at three depths; add 5% waste for settling, as the calculator does. A 4 × 8 ft bed is the most common size in home gardens.
| Bed size | 6 in deep | 12 in deep | 18 in deep | 1.5 cu ft bags at 12 in |
|---|---|---|---|---|
| 2 × 4 ft | 4 cu ft | 8 cu ft | 12 cu ft | 6 bags |
| 3 × 6 ft | 9 cu ft | 18 cu ft | 27 cu ft | 12 bags |
| 4 × 4 ft | 8 cu ft | 16 cu ft | 24 cu ft | 11 bags |
| 4 × 8 ft | 16 cu ft | 32 cu ft | 48 cu ft | 22 bags |
| 4 × 10 ft | 20 cu ft | 40 cu ft | 60 cu ft | 27 bags |
| 4 × 12 ft | 24 cu ft | 48 cu ft | 72 cu ft | 32 bags |
Volumes are net, before waste. Bag counts are rounded up. Every extra inch of depth on a 4 × 8 ft bed adds 2.67 cu ft, about two 1.5 cu ft bags, so decide the depth first, then count the bags.
Bed height usually follows the lumber: 6 in is one 2×6 board, about 11 in is two 2×6 boards, and about 17 in is three. Use the lumber calculator to work out the boards for your frame before you order the soil.
Bags by size: which bag leaves the least waste?
The same volume needs a different number of bags depending on the bag size, and the leftover differs too. The table uses the 33.6 cu ft from Example 1, an 8 × 4 ft bed, 12 in deep, with 5% waste.
| Bag size | Bags to buy | Soil bought | Leftover |
|---|---|---|---|
| 1 cu ft | 34 | 34 cu ft | 0.4 cu ft |
| 1.5 cu ft | 23 | 34.5 cu ft | 0.9 cu ft |
| 2 cu ft | 17 | 34 cu ft | 0.4 cu ft |
| 2.8 cu ft | 12 | 33.6 cu ft | None |
| 3 cu ft | 12 | 36 cu ft | 2.4 cu ft |
Always round bags up. 22.4 bags means 23 bags, not 22. Compare bags by cost per cubic foot, not by sticker price: divide the price by the bag's volume.
If the leftover is large, use it to top up the bed after the first watering, or keep it for pots. A cubic yard is 27 cubic feet, which is 18 bags of 1.5 cubic feet. Use the cubic feet to cubic yards converter for a quick check on any volume.
How much does raised bed soil weigh?
Volume is the same whatever you fill the bed with, but weight is not, and weight matters when you are hauling bags, loading a truck or checking what a balcony can hold. The calculator uses 75 lb per cubic foot for a loose raised bed mix. The table shows the same 33.6 cu ft at other common densities.
| Material | Weight per cu ft | 33.6 cu ft weighs |
|---|---|---|
| Raised bed mix (calculator baseline) | 75 lb | 2,520 lb (1.26 tons) |
| Topsoil | About 69 lb | 2,318 lb (1.16 tons) |
| Garden soil | About 65 lb | 2,184 lb (1.09 tons) |
| Compost or potting mix | About 40 lb | 1,344 lb (0.67 tons) |
| Sand | About 95 lb | 3,192 lb (1.60 tons) |
Wet soil weighs 10 to 20% more than dry soil, so a delivery that arrives after rain is heavier than these figures. Bag labels vary: buy by the volume on the label and use weight only to plan the hauling.
A wheelbarrow holds about 3 to 6 cubic feet, so moving 33.6 cu ft is about 6 to 11 trips, and about 2,520 lb of lifting in total. The topsoil portion of a mix is the heaviest part, so if you are buying it separately, the topsoil calculator works out its volume and weight on its own.
Round beds and planters
Not every bed is a rectangle. A round bed uses the area of a circle: pi times radius squared. Measure straight across the widest point for the diameter and halve it. Measuring the radius as if it were the diameter quarters the answer. For an awkward shape, split it into rectangles and circles and add the volumes; the area calculator helps with the circle part.
Volume (cu ft) = 3.1416 × [Diameter (ft) ÷ 2]² × Depth (in) ÷ 12
Example: a round bed 4 ft across, filled 8 in deep, 5% waste
- Area = 3.1416 × 2² = 12.57 sq ft
- Volume = 12.57 × (8 ÷ 12) = 8.38 cu ft
- With 5% waste = 8.8 cu ft, or 6 bags of 1.5 cu ft
- The same bed at 12 in deep needs 12.57 cu ft, or 9 bags of 1.5 cu ft
Tapered pots are a different trap: a pot narrows toward the bottom, so treating it as a straight cylinder overstates the soil by about 20 to 30%. Measure the inside width halfway down the pot, not at the rim, or fill one pot and use that as your measure for the rest.
Saving soil in deep beds
Soil is the most expensive part of a raised bed, and every inch costs the same as the last one. A 4 × 8 ft bed at 18 in deep needs 48 cu ft; at 12 in it needs 32 cu ft. For beds 18 in and taller, many gardeners fill the bottom third with logs, branches, leaves and grass clippings, a trick borrowed from hugelkultur, which breaks down into compost over time. Set the fill depth in the calculator to the soil layer only, not the full wall height: for a 4 × 8 ft bed with 6 in of woody fill under 12 in of soil, you order 32 cu ft instead of 48, saving 16 cu ft or about 11 bags of 1.5 cu ft.
Two cautions: woody fill settles more than soil, so expect to top up more in the first year, and use untreated wood only. Line the bottom with cardboard or landscape fabric before filling to block weeds from below.
Do not use this trick where the bed sits on contaminated ground; there the full depth of clean soil is the point, and do not bury fresh wood directly under shallow-rooted crops, since it can temporarily draw nitrogen from the soil as it breaks down.
Bags or bulk: the break-even method
Bags suit one small bed: no delivery fee, no minimum order, and you can carry them home in the car. Bulk wins on price for anything bigger, but only after the delivery fee is counted. The crossover sits around half a cubic yard, about 15 cubic feet, or 10 bags of 1.5 cu ft. Past that, hauling bags is its own workout: a 4 × 8 ft bed at 18 in deep needs 36 bags, and at 40 lb a bag that is over 1,400 lb of lifting.
Break-even yards = Delivery fee ÷ (Bagged cost per yard − Bulk cost per yard)
Example: break-even for a 4 × 8 ft bed (example prices only)
- Bagged soil at $8 per 1.5 cu ft bag = $144 per cubic yard (18 bags × $8)
- Bulk soil at $55 per cubic yard, plus a $50 delivery fee
- Break-even = $50 ÷ ($144 − $55) = 0.56 cubic yards
- Above about 0.6 cubic yards, bulk is cheaper, and 33.6 cu ft is 1.24 cubic yards, so bulk wins for this bed
- Below about 0.6 cubic yards, bags are cheaper once the delivery fee is counted
Bulk soil is usually sold by the cubic yard and often rounded up to the nearest half yard, with a small-load fee under about 3 cubic yards. Work out your volume in cubic yards with the yard calculator then compare the two totals; bagged total against bulk total including delivery, not the unit prices.
Prices in the example are for illustration only. Get a quote from your own supplier: prices vary by region, season and mix.
Watering a new raised bed
Vegetables need about 1 inch of water a week, and 1 inch over 1 square foot is 0.62 gallons. A 4 × 8 ft bed is 32 sq ft, so one inch of water is about 20 gallons; a 4 × 4 ft bed needs about 10 gallons. Water deeply and less often once plants are established, so roots grow down instead of sitting at the surface.
Fresh soil dries out faster than settled soil, so check the top few inches daily in the first weeks. A 2 to 3 inch layer of mulch on top holds moisture and cuts watering. Use the mulch calculator to work out how much. If the bed drains poorly, a 2 inch gravel layer under the soil helps; the gravel calculator works out the amount.
- •Water in the morning so leaves dry during the day.
- •Water the soil, not the leaves, to cut disease.
- •After the first heavy watering, check the level; the bed will have settled, and top up with compost.
- •In hot weather, shade cloth or extra mulch beats extra watering.
Related tools
- •Topsoil calculator for the soil portion
- •Mulch calculator for covering the bed
- •Landscape fabric calculator for the bottom liner
- •Lumber calculator for the bed's frame boards
- •Yard calculator for cubic yards of any material
- •Cubic feet to cubic yards converter for quick conversion
Assumptions
- •Fills the bed to a uniform depth, with length and width in feet and depth in inches. Soil mix recipes are common examples and any of them fill the same volume.
- •Weight uses 75 lb per cubic foot for a loose garden soil and compost blend, which is lighter than topsoil. It is a planning figure.
- •A depth of about 12 inches is common for new beds growing root vegetables. Shallower beds can work for shallow-rooted crops if the bed sits on loose ground.
Sources✓ Verified
- University cooperative extension guidance on raised bed gardening. Common recommendations on bed depth, soil mixes and filling.
- USDA Natural Resources Conservation Service gardening and soil resources. Background on soil health, compost and soil testing.
- U.S. Environmental Protection Agency guidance on gardening on possibly contaminated soil. Advice on testing and reducing exposure risks.
- Rutgers NJAES fact sheet FS1328 and University of Maryland Extension raised bed guidance. Bed depth, settling and soil mix recommendations, including 12 inches of imported topsoil over contaminated ground.
- NIST Special Publication 811, Guide for the Use of the International System of Units. Authoritative conversion factors.
Formula reviewed November 2026.
Multiply the bed's inside length and width by the fill depth in feet. An 8 × 4 ft bed 12 inches deep needs 32 cubic feet, or 1.19 cubic yards, before waste.
A 4 × 8 ft bed filled 12 inches deep needs 32 cubic feet. At 6 inches it needs 16 cubic feet, and at 8 inches about 21 cubic feet.
Divide the cubic feet, including waste, by the bag's volume on the label, and round up. 33.6 cubic feet is 23 bags of 1.5 cubic feet.
About 10 to 12 inches suits most vegetables. Salad greens and herbs can use 6 to 8 inches, and deep-rooted crops may want 12 to 18 inches.
Common recipes blend topsoil, compost and a drainage amendment such as perlite or coarse sand, or use equal parts compost, vermiculite and peat moss or coco coir. The best mix depends on your climate and crops.
Bulk is usually much cheaper per cubic foot for larger beds, while bags are simpler for one small bed. Compare per cubic foot and include delivery.
The calculator uses 75 lb per cubic foot, so 33.6 cubic feet is about 2,520 pounds, or 1.26 tons.
Yes, commonly by 10 to 20% during the first season. Top up with compost instead of overfilling at the start.
You can, but it can be heavy and compact. Most gardeners blend in compost and a drainage material.
Cardboard or landscape fabric helps stop weeds. Use hardware cloth if burrowing animals are a problem.
One cubic yard is 27 cubic feet, so it fills one 4 × 8 ft bed about 10 inches deep.
Take the total volume, and multiply by each ingredient's share. A 60/30/10 mix of 33.6 cubic feet is about 20.2 cubic feet of topsoil, 10.1 of compost and 3.4 of perlite or sand.
If the ground may be contaminated, get a soil test, use clean imported soil, and consider a barrier at the bottom. Local extension services can advise.
Untreated or naturally rot-resistant woods are commonly used for vegetable beds. Check the maker's advice if you use treated lumber or other materials.
No. Divide the cubic feet by the bag's volume and round up.
48 cubic feet net, or 50.4 cubic feet with 5% waste, 1.87 cubic yards, or 34 bags of 1.5 cubic feet. At 12 inches it is 32 cubic feet, or 23 bags with waste.
Use pi times radius squared times depth. A bed 4 ft across and 8 in deep holds 8.38 cubic feet, or 6 bags of 1.5 cubic feet with 5% waste. At 12 in deep it holds 12.57 cubic feet, or 9 bags.
About 1,863 lb, just under a ton, at 69 lb per cubic foot. A cubic yard of compost or potting mix is much lighter, about 1,080 lb at 40 lb per cubic foot, and a yard of sand is about 2,565 lb.
Usually above about half a cubic yard, once the delivery fee is counted. Use the break-even method: divide the delivery fee by the saving per yard. With bagged soil at $144 per yard, bulk at $55 and a $50 delivery fee, bulk wins above about 0.56 cubic yards (example prices only).
About 1 inch a week. That is 0.62 gallons per square foot, so a 4 × 8 ft bed needs about 20 gallons per watering and a 4 × 4 ft bed about 10 gallons.
Yes. It is the hugelkultur trick. Fill the bottom third with logs, branches and leaves, then put 12 inches of soil on top. A 4 × 8 ft bed 18 inches tall then needs 32 cubic feet of soil instead of 48, saving about 11 bags. Expect extra settling in the first year and use untreated wood only.
Converters to use with the Raised Garden Bed Soil Calculator
Switch units, compare bulk and bagged quantities, or check coverage, without leaving BuildCova.
Soil & LandscapingBags per Cubic Yard Converter (Soil, Gravel, Sand)54 half-cubic-foot bags fill a yard.
Soil & LandscapingTopsoil Cubic Yards to Tons ConverterTopsoil cubic yards to tons.
Volume, Area & UnitsCubic Feet to Cubic Yards ConverterDivide by 27: any volume in seconds.More landscaping calculators
LandscapingPotting Soil CalculatorA potting soil calculator that works out how much potting mix your pots, grow bags or raised beds need, in cubic feet, quarts and bag count. Round pots use the tapered-pot volume and beds use length times width times depth, with a settling allowance and optional cost. Guessing the pot volume is where most orders go wrong, because a tapered pot holds less than a straight cylinder.
LandscapingCompost CalculatorA compost calculator that works out how much compost your garden beds, lawn or raised beds need, in cubic yards, tons and bag count. Pick screened, general or composted manure, each with its own weight, and compare bulk against bags with the waste allowance and optional cost. Too thin a layer does little for the soil, and too thick a layer wastes a delivery you paid for.
LandscapingSod CalculatorA sod calculator that turns your lawn length and width into the sod you need, as 10 square foot rolls or 450 square foot pallets. The guidance covers measuring, waste, soil preparation and laying, so the rolls arrive in the right count and go down the same day. Sod left waiting in the sun dries out fast, so the order has to match the day you lay it.
LandscapingLandscape Edging CalculatorA landscape edging calculator that turns your bed length and width into the linear feet of edging to buy, with an allowance for curves and joints. The guidance covers edging types and how to install them, so the border holds its line instead of wandering after the first rain. Order short and the last stretch of bed stays unfinished.
LandscapingFertilizer CalculatorA fertilizer calculator that turns your lawn length and width into the number of bags to buy, using the coverage printed on your fertilizer bag. The guide explains reading the label, working out nitrogen rates and applying fertilizer safely, so the lawn gets fed without burning. Spread more than the label rate and the lawn pays for it.
LandscapingGrass Seed CalculatorA grass seed calculator that turns your lawn length and width into the pounds of seed to buy, at a new-lawn rate or an overseeding rate. The guide covers rates for different grasses and how to sow for good results, so the seed goes down thick enough to fill in. Sow too thin and the bare patches invite weeds before the grass closes in.Was this calculator helpful?
Material requirements can vary based on product specifications and job conditions. Verify quantities with your supplier before ordering.