For a raised garden, multiply length × width × soil depth in feet, then divide by 27 to find how many cubic yards of dirt you need.
Standing in front of an empty raised garden bed with a tape measure in hand can feel a bit like guessing at a recipe. Order too little dirt and you end up with a half-filled box. Order too much and you pay to move and store soil you do not need. The good news: once you understand a simple volume formula and a few depth rules, you can pin down clear numbers for any bed.
When gardeners ask, “how much dirt do i need for my raised garden?” the answer always starts with three pieces of information: length, width, and how deep the planting layer needs to be. From there, you can convert that volume into cubic feet, cubic yards, or bag counts and match it to the soil mix that suits your plants and your budget.
How Soil Volume Works In A Raised Garden Bed
Soil volume for a raised garden bed is simply length × width × depth. Most suppliers talk in cubic feet or cubic yards, so you just convert your measurements into feet and run that calculation. One cubic yard equals 27 cubic feet.
Here is the basic process:
- Measure the inside length of the bed in feet.
- Measure the inside width of the bed in feet.
- Measure the soil depth you plan to fill in feet (convert inches to feet).
- Multiply length × width × depth to get cubic feet.
- Divide cubic feet by 27 if you want cubic yards.
Many gardeners buy soil in bags. Common bags hold 1, 1.5, or 2 cubic feet. Once you know total cubic feet, you can divide by the bag size to see how many you need, then round up so you are not short.
Common Raised Bed Sizes And Soil Needs
The table below gives soil volume for popular raised bed sizes at common depths. Use it as a quick reference, then adjust if your bed size is different.
| Bed Size (Feet) | Soil Depth (Inches) | Soil Needed (Cubic Feet / 1.5 Cu Ft Bags) |
|---|---|---|
| 4 × 4 | 8 | 10.7 cu ft (~8 bags) |
| 4 × 4 | 12 | 16.0 cu ft (~11 bags) |
| 4 × 8 | 8 | 21.3 cu ft (~15 bags) |
| 4 × 8 | 12 | 32.0 cu ft (~22 bags) |
| 3 × 6 | 10 | 15.0 cu ft (~10 bags) |
| 2 × 8 | 12 | 16.0 cu ft (~11 bags) |
| 2 × 10 | 12 | 20.0 cu ft (~14 bags) |
| 3 × 10 | 12 | 30.0 cu ft (~20 bags) |
These numbers assume the entire depth is filled with your chosen soil mix. If you plan to layer coarse material underneath or build on loosened native soil, you can reduce the depth you calculate for purchased dirt.
How Much Dirt Do I Need For My Raised Garden? By Bed Size
The main reason the question “how much dirt do i need for my raised garden?” feels tricky is that every bed layout is a little different. A long narrow bed uses the same formula as a short wide one, yet the numbers look new each time. Once you treat each bed as a simple box, the math settles down.
Start by sketching your garden on paper and writing the inside measurements beside each bed. For a standard 4 × 8 foot bed at 12 inches deep, convert 12 inches to 1 foot. Then calculate 4 × 8 × 1 = 32 cubic feet. A compact 3 × 6 foot bed at 10 inches deep needs 3 × 6 × 0.83 ≈ 15 cubic feet. Add volumes for all beds, then divide by 27 to see total cubic yards if you plan on a bulk delivery.
Online tools such as the Old Farmer’s Almanac
soil calculator
let you plug in length, width, and depth and instantly see volumes in both cubic feet and cubic yards. That kind of cross-check gives reassurance that your hand calculations line up with a widely used reference.
If you garden with round, L-shaped, or U-shaped beds, divide each shape into rectangles on your sketch. Calculate the volume for each rectangle and then add the results. This method keeps the math simple while still giving a reliable estimate for raised garden dirt needs.
Choosing The Right Soil Depth For Different Crops
Soil depth matters as much as surface area. Shallow beds dry out faster and limit root growth, while very deep beds can drive up costs without much gain once plants already have plenty of space. Depth also depends on whether your beds sit on bare ground or on a hard surface like concrete.
Extension sources such as the University of Maryland note that beds on hard surfaces should be at least 8 inches deep for leafy greens and 12–24 inches for larger crops like tomatoes and squash. Guidance like this gives a helpful starting point when you decide how deep to make each raised garden bed.
You can read more detail in their
soil to fill raised beds resource.
Shallow-Rooted Crops
Lettuce, spinach, radishes, and many herbs have shallow roots. In a raised garden built on loosened ground, a bed with 6–8 inches of added soil can handle these plants well. If your bed sits on a patio or driveway, aim for 8–10 inches so roots have a bit more room before they meet a barrier.
Medium-Rooted Crops
Peppers, bush beans, and many flowers fall into a middle group. They like 10–12 inches of loose soil in raised beds on bare ground. Beds on hard surfaces do better with 12–16 inches at least. For this group, going slightly deeper often leads to steadier moisture and less stress during hot spells.
Deep-Rooted Crops
Tomatoes, squash, corn, and many root crops such as carrots and parsnips send roots far below the surface. In a raised garden over native soil, you can usually aim for 12 inches of added soil and then loosen the ground below the bed with a shovel or garden fork to another 6–12 inches. If the bed sits on a hard base, depth needs rise; 18–24 inches of soil gives large plants room to stretch.
Match depth to the deepest crop in each bed. If you plan to mix salad greens with tomatoes in one frame, size the bed for the tomatoes. A little extra depth will not trouble shallow growers, while the larger crops gain from the added volume.
Soil Mix Recipes For A Healthy Raised Garden
Once you know how much dirt the raised beds hold, the next question is what kind of mix to pour in. Good raised bed soil holds moisture without staying soggy, drains well, and carries plenty of organic matter for steady feeding. Many gardeners reach for a simple blend of topsoil, compost, and lighter material such as a soilless mix.
Garden retailers and extension services often suggest blends close to 60% topsoil, 30–40% compost, and 10–20% material that loosens the texture, such as coarse sand, perlite, or a peat-free soilless mix. Some gardeners layer materials instead of mixing them, placing compost toward the top where most roots live. The table below compares common raised bed mixes and when they fit best.
| Soil Mix Type | Typical Ratio | Best Use |
|---|---|---|
| Standard Three-Part Mix | 60% topsoil / 30% compost / 10% soilless mix | General vegetable and flower beds |
| High Compost Mix | 50% topsoil / 40% compost / 10% drainage material | Hungry crops such as tomatoes and squash |
| Lightweight Mix | 40% compost / 40% soilless mix / 20% topsoil | Deck boxes and beds on balconies |
| Budget Layered Fill | Coarse wood pieces below, richer soil on top | Deep beds where full-depth soil is costly |
| Compost-Forward Top Layer | Top 6–8 inches richer, lower layer more basic | Beds that need strong early growth |
| Topsoil And Compost Only | 50% screened topsoil / 50% compost | Simple mix when drainage is already good |
| Native Soil Upgrade | Blend native soil with 30–40% compost | Shallow beds built over loosened ground |
Whichever raised garden soil recipe you pick, check that any bulk topsoil is clean and not taken from a site with possible contamination. Screen out large rocks and debris. Compost should be mature, with a dark crumbly texture and little odor.
How To Convert Soil Volume To Bags Or Bulk Delivery
Soil centers and hardware stores label products in different ways, which can make the numbers feel confusing at first glance. Bagged soil tends to come in 1, 1.5, or 2 cubic foot bags. Bulk soil is quoted in cubic yards.
Here is a simple approach:
- From your calculations, note total cubic feet.
- For 1 cu ft bags, bag count equals cubic feet.
- For 1.5 cu ft bags, divide cubic feet by 1.5.
- For 2 cu ft bags, divide cubic feet by 2.
- For bulk soil, divide cubic feet by 27 to get cubic yards.
Bag counts rarely work out to whole numbers, so round up to the next full bag. With bulk soil, most suppliers are used to orders like 1.5 or 2.25 cubic yards. A small buffer handles settling and small measuring errors, and any extra soil usually finds a use in pots or new beds.
Worked Examples To Check Your Raised Garden Math
Standard 4 × 8 Foot Raised Bed
Picture a single 4 × 8 foot raised bed set on bare ground. You plan on 12 inches of soil in the frame and you will loosen the native soil with a fork before filling. Convert the depth to feet: 12 inches becomes 1 foot. Then calculate:
4 ft (length) × 8 ft (width) × 1 ft (depth) = 32 cubic feet of soil.
If soil at your local store comes in 1.5 cubic foot bags, divide 32 by 1.5 for about 21.4 bags. Round to 22 bags. If you decide to buy in bulk instead, divide 32 by 27 for about 1.2 cubic yards. In that case, an order of 1.25 or 1.5 cubic yards covers this bed and leaves a small surplus.
Group Of Three Mixed-Size Beds
Now picture a small raised garden with three beds:
- Bed A: 4 × 4 feet, 12 inches deep.
- Bed B: 3 × 6 feet, 10 inches deep.
- Bed C: 2 × 8 feet, 12 inches deep.
Convert depths to feet: 12 inches becomes 1 foot, 10 inches is about 0.83 feet. Run the numbers:
- Bed A: 4 × 4 × 1 = 16 cubic feet.
- Bed B: 3 × 6 × 0.83 ≈ 15 cubic feet.
- Bed C: 2 × 8 × 1 = 16 cubic feet.
Total volume is 16 + 15 + 16 = 47 cubic feet. With 1.5 cubic foot bags, that comes to around 31.3 bags, so plan on 32. For bulk soil, divide 47 by 27 and you get about 1.7 cubic yards.
Running a couple of scenarios like this builds confidence. Once you work through the math once or twice, a question like “how much dirt do i need for my raised garden?” turns from a guess into a clear, repeatable process.
Final Tips For Filling Your Raised Garden Bed
Before you order soil, double-check the inside dimensions of each bed rather than using the outside measurements of the boards. Lumber thickness can shave an inch or more off the true interior size. If your bed sits on native soil, loosen that base first so roots can move below the frame and you can trim an inch or two off the added depth.
Think through drainage as well. Beds made from solid materials without drainage holes on a hard surface can hold water like a tub. In those setups, extra coarse material near the bottom and a lighter mix near the top help water move through instead of pooling around roots.
Finally, keep a small notebook or digital record of what you ordered and how well it filled the beds. The next time you adjust your garden layout, you will know whether a yard and a half of soil was plenty or if you needed a bit more. With a sketch, a tape measure, and the simple length × width × depth formula, you can size dirt needs for any raised garden layout with calm, steady math instead of guesswork.
