Garden Bed Soil Calculator: How Much Soil Do You Need?
- Cubic yards of soil
- cu yd
- Result
- Soil in liters
- L
- Result
- 1.5 cu ft bags needed
- bags
- Result
This calculator works out the volume of soil needed to fill a raised garden bed or planter box, based on the bed’s length, width, and depth. You enter the dimensions in feet or meters, and it returns the soil volume in cubic feet, cubic yards, and liters, plus an estimated number of standard 1.5-cubic-foot bags. The first result, cubic feet, is the number you will use for ordering bulk soil or calculating bag counts.
Formula
The core formula is the volume of a rectangular prism:
Volume (cubic feet) = Length (ft) × Width (ft) × Depth (ft)
Because depth is usually given in inches, you first convert it to feet by dividing by 12:
Depth (ft) = Depth (in) ÷ 12
Variables:
- Length – the long side of the bed, in feet (or meters, if you use metric).
- Width – the short side of the bed, in feet (or meters).
- Depth – how deep the soil layer will be, in inches (or centimeters). This is the height of the bed if you fill it to the brim, but you usually leave an inch or two of space.
For metric, the same formula works with meters: Volume (m³) = L × W × D (all in meters). One cubic meter = 1000 liters.
Worked Example
Using the default values from the calculator – a bed 8 ft long, 4 ft wide, and 12 in deep:
- Convert depth to feet: 12 in ÷ 12 = 1 ft
- Multiply: 8 ft × 4 ft × 1 ft = 32 cubic feet
- Convert to cubic yards: 32 ÷ 27 = 1.19 cubic yards
- Convert to liters: 32 × 28.3168 = 906.1 liters
- Bag count: 32 ÷ 1.5 = 21.33, so you need 22 bags (round up)
The calculator shows 32.00 cu ft, 1.19 cu yd, 906.1 L, and 22 bags – exactly the same.
Why Depth Matters More Than You Think
Most gardeners underestimate how much soil a deep bed needs. A 4×8 bed that is 6 inches deep takes 16 cubic feet – about 11 bags. The same bed at 18 inches deep takes 48 cubic feet – 32 bags. That is three times the soil for three times the depth, and the cost scales linearly. Depth is not just about volume; it determines what you can grow. Shallow-rooted crops like lettuce and radishes need only 6–8 inches, while tomatoes, peppers, and carrots want 12–18 inches. If you are building a bed on top of hard ground or concrete, you need enough depth for the full root zone. If the bed sits over existing soil, you can often subtract a few inches because roots can grow into the ground below.
How to Choose Between Bags and Bulk
For small beds (under 20 cubic feet), bagged soil is convenient – you can carry it, no delivery fee, and you can mix different types. For larger beds, bulk delivery is almost always cheaper per cubic foot, but you need a place to dump a pile of soil (typically 1–2 cubic yards minimum) and a wheelbarrow to move it. A cubic yard of soil weighs roughly 1,000–1,200 pounds when dry, and more when wet, so plan for the physical labor. If you order bulk, ask for “garden mix� or “raised bed mix� – usually a blend of topsoil, compost, and aeration material like perlite or rice hulls. Bagged products labeled “raised bed soil� are similar but cost more per volume. For a 4×8×1 ft bed (32 cu ft), bulk delivery is usually the better value if you can handle the logistics.
Common Mistakes and How to Avoid Them
- Mixing units – Always convert everything to the same unit. A bed measured in feet and a depth in inches is the classic error. Divide inches by 12 before multiplying.
- Forgetting to round up – Soil settles, and bags are rarely exactly 1.5 cu ft. Always round up to the next whole bag, and consider adding 5–10% extra for settling and spillage.
- Ignoring the “settle factor� – Fresh soil is fluffy. After watering and a few weeks, it can settle by 10–20%. Many gardeners fill the bed, water it, then top it off a week later. Your calculator gives the final settled volume, so buy a bit more.
- Measuring the outside of the bed – If your bed is made of 2-inch thick lumber, the inside dimensions are smaller than the outside. Measure the interior length and width, not the outer frame.
- Assuming 1 cubic foot = 1 bag – Bags come in many sizes: 0.75, 1, 1.5, 2, and even 3 cu ft. Check the label. The calculator assumes 1.5 cu ft bags, which is common, but adjust if yours differ.
Alternatives to Filling the Whole Bed with Soil
If a deep bed is too expensive to fill completely, you have several options. One is the Hügelkultur method – fill the bottom third with logs, branches, and wood chips, then top with soil. The wood slowly decomposes and provides nutrients, but it can tie up nitrogen initially. Another is to place cardboard or landscape fabric at the bottom (to block weeds) and then add a layer of coarse material like gravel or broken pots for drainage, but this only works for very deep beds and can create a perched water table. The simplest alternative is to build a shorter bed – 8–10 inches deep is enough for most vegetables if the bed sits on top of existing soil. You can also use a “lasagna� or no-dig layering method: alternate cardboard, compost, and straw directly on the ground, and plant into the top layer. This uses less purchased soil and builds fertility over time.
Costs and Practical Considerations
Prices vary widely by region and season, so no single number is reliable. However, you can estimate: bagged soil typically costs $2–$5 per 1.5 cu ft bag, while bulk soil runs $20–$50 per cubic yard plus delivery. For a 32 cu ft bed, that is roughly $45–$110 in bags versus $25–$60 in bulk (plus delivery). The calculator gives you the volume, which is the number you need to compare quotes. Also consider weight: a 1.5 cu ft bag of moist soil weighs about 60–80 pounds, so a 22-bag order is over 1,300 pounds. Bulk delivery drops a pile, and you will move it by shovel – budget a few hours of labor. If you are filling multiple beds, the volume adds up quickly; a single 4×8×2 ft bed is 64 cu ft, over 2 cubic yards.
Frequently Asked Questions
How much soil do I need for a 4×8 raised bed that is 6 inches deep?
Using the formula: 4 × 8 × (6/12) = 16 cubic feet. That is about 0.59 cubic yards, or roughly 11 bags of 1.5 cu ft soil. If you want to fill it to the top, add 10% for settling, so about 12 bags.
Should I fill the entire bed with soil or just the top layer?
For most vegetables, you only need 8–12 inches of quality soil. If the bed is deeper, you can put logs, branches, or leaves in the bottom half – this saves money and improves drainage. But do not use pure compost or uncomposted manure; mix it with topsoil or use a pre-mixed raised bed blend.
How many cubic feet are in a cubic yard of soil?
There are 27 cubic feet in one cubic yard (3 ft × 3 ft × 3 ft). So if your calculator gives you cubic feet, divide by 27 to get cubic yards. A typical dump truck holds 10–18 cubic yards, but residential deliveries are usually 1–5 yards.
Does soil volume change when it gets wet?
Yes. Dry soil is lighter and takes up more volume; wet soil compacts and takes up less. That is why you should always buy a little extra (5–10%) and expect to top off the bed after the first few waterings. The calculator gives you the settled volume, so aim for that as your final level.
Can I use this calculator for a round or triangular bed?
No, this calculator is for rectangular beds. For a round bed, use the formula π × radius² × depth (in feet) to get cubic feet. For a triangular bed, use (length × width × depth) ÷ 2. If your bed is an odd shape, break it into rectangles and add the volumes together.
What is the difference between topsoil, compost, and raised bed mix?
Topsoil is the natural dirt from the ground – it is heavy and may contain clay or rocks. Compost is decomposed organic matter – it is light, rich, and drains well, but too much can be too acidic or dense. Raised bed mix is a blend of topsoil, compost, and aeration material like perlite or coconut coir, designed for containers and beds. For most raised beds, use a mix rather than pure topsoil or pure compost.
Related
Formula used
in l | Length | ft | 8 | 0 in w | Width | ft | 4 | 0 in d | Depth | in | 12 | 0 out cf | Cubic feet of soil | cu ft | l * w * (d / 12) | 2 out cy | Cubic yards of soil | cu yd | cf / 27 | 2 out liters | Soil in liters | L | cf * 28.3168 | 1 out bags | 1.5 cu ft bags needed | bags | ceil(cf / 1.5) | 0
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.