Gardening guide
How Much Soil Do You Need for a Raised Bed? Calculator + Examples
Measure your bed, choose a fill depth, and turn the result into a practical supply quantity.

At a glanceA 4 × 8-foot raised bed needs 32 cubic feet of soil at a 12-inch fill depth. That is about 1.19 cubic yards, or 16 bags if each bag contains 2 cubic feet. For any rectangular bed, multiply the inside length by the inside width by the fill depth, with all three measurements in feet.
The depth makes a big difference. Fill that same bed to 6 inches and the quantity drops to 16 cubic feet. Fill it to 18 inches and it rises to 48. Use the raised bed soil calculator below to work out your volume before comparing materials or planning a pickup.
Measure the space you actually need to fill
Measure the inside length and width of the bed. The outside dimensions include the frame, which does not need filling. If the shape narrows at the bottom or has an irregular outline, the rectangular calculation is an approximation; divide it into simpler sections for a closer estimate.
Then choose the depth of material you plan to add. For an empty bed, measure from the prepared base to your intended soil line. If you want to leave room above that line for mulch or watering, leave that space out of the soil calculation.
For a bed that already contains usable soil, measure the gap between the current surface and the intended soil line. You are calculating a top-up, so entering the full wall height would overstate the amount to buy.
Example: a 12-inch-tall frame with an intended soil line 2 inches below its rim has a 10-inch fill depth, assuming an empty, level bed. A 4 × 8-foot bed at that depth holds about 26.67 cubic feet, or 0.99 cubic yards.
The calculator measures space. It does not decide how deep your crops need to root. A bed open to workable soil underneath and a planter with a solid bottom are different growing situations. Read raised-bed soil vs. potting mix before choosing the fill.
How to calculate soil for a raised bed
If your length and width are in feet and your depth is in inches, use:
Cubic feet = length × width × (depth ÷ 12)
Cubic yards = cubic feet ÷ 27
For a 4 × 8-foot bed filled 12 inches deep:
- Convert the depth: 12 ÷ 12 = 1 foot.
- Multiply: 4 × 8 × 1 = 32 cubic feet.
- Convert to cubic yards: 32 ÷ 27 = 1.185… cubic yards, shown as 1.19.
The volume calculation follows the same length × width × depth method described by University of Florida IFAS Extension. Keep the unrounded result until you make the final bag or order calculation.
How much soil for a 4 × 8 raised bed?
Here is the same footprint at five fill depths. Bag counts assume a 2-cubic-foot bag, with no extra allowance. That bag size is an example; check the package you intend to buy.
| Fill depth | Cubic feet | Cubic yards, approx. | 2-cu-ft bags |
|---|---|---|---|
| 6 inches | 16 | 0.59 | 8 |
| 10 inches | 26.67 | 0.99 | 14 |
| 12 inches | 32 | 1.19 | 16 |
| 18 inches | 48 | 1.78 | 24 |
| 24 inches | 64 | 2.37 | 32 |
These are quantity examples, not crop-depth recommendations. A taller bed does not automatically mean you should buy enough soil to reach its rim.
Two other common bed sizes
| Inside footprint | Cubic feet | Cubic yards, approx. | 2-cu-ft bags |
|---|---|---|---|
| 3 × 6 feet | 18 | 0.67 | 9 |
| 4 × 4 feet | 16 | 0.59 | 8 |
For several identical beds, multiply the unrounded volume by the number of beds. For different sizes, calculate each bed separately and add the volumes before rounding to whole bags.
Convert the volume into bags
Look for the volume printed on the bag, usually in cubic feet or liters. Divide your required volume by the volume per bag, then round up to the next whole bag.
For the 32-cubic-foot example:
- 2-cubic-foot bags: 32 ÷ 2 = 16 bags.
- 1.5-cubic-foot bags: 32 ÷ 1.5 = 21.33…, so buy 22 bags if purchasing whole bags.
- 40-liter bags: 32 cubic feet is approximately 906.14 liters. Divide by 40 and round up: 23 bags.
A bag labeled in pounds gives its weight. That alone does not establish its volume. Find a volume on the label or ask the supplier; do not substitute pounds for cubic feet.
Should you add extra for settling?
Some material can settle, and organic components break down over time. Texas A&M AgriLife's raised-bed guide explains that blends with more organic matter need replenishing sooner. That does not establish one extra percentage for every product or bed.
The calculator starts at 0% extra. You can enter an allowance after discussing the material with your supplier. It is a purchasing choice, separate from the geometric fill volume.
For example, adding a chosen 10% allowance to 32 cubic feet produces 35.2 cubic feet, or about 1.30 cubic yards. With 2-cubic-foot bags, that is 18 bags. This example explains the setting; it is not a universal settling recommendation.
What if you are only topping up a bed?
Use the depth of the layer you intend to add. A 2-inch layer across a 4 × 8-foot bed is 4 × 8 × (2 ÷ 12) = 5.33 cubic feet. In 2-cubic-foot bags, that rounds up to 3 bags.
Decide what the bed needs before filling that space. Low soil level and a need for compost are different questions. The soil and compost page explains what to ask about, and our mix comparison helps you match a material to the growing setup.
Take the quantity with you when you ask about supplies
A useful question includes the bed's dimensions, whether it has a bottom, what you plan to grow, and the calculated quantity. Ask which suitable materials are available, the package volume or bulk-order increment, and how pickup works.
“I have one open-bottom 4 × 8-foot bed and plan to add 12 inches of growing mix. That works out to 32 cubic feet, about 1.19 cubic yards, before any allowance. Which suitable materials do you currently have, and how are they sold?”
Ask Bodega Gardens about soil and compost
Bodega Gardens is in Poteet. Confirm availability and pickup arrangements before making the trip.



