Calculate soil depth and volume before you buy
The amount of dirt you need depends on three things: the length and width of your bed, and how deep you fill it. Most vegetable gardens need 10 to 12 inches of soil depth. Shallow-rooted plants like lettuce and spinach can work in 6 to 8 inches, but tomatoes, peppers, and root vegetables need the full 10 to 12. If you are growing perennials or shrubs, add another 2 to 4 inches.
To find the volume in cubic feet, multiply length × width × depth (all in feet), then divide by 27 to convert to cubic yards. A 4-by-8-foot bed at 10 inches deep needs about 10 cubic feet, or roughly 0.4 cubic yards. A 4-by-4-foot bed at the same depth needs about 5 cubic feet, or 0.2 cubic yards. Soil is usually sold by the cubic yard, so knowing this number before you shop saves money and trips.
Key Takeaways
- Most vegetable beds need 10 to 12 inches of soil; shallow crops like lettuce work in 6 to 8 inches, and root crops need the full depth.
- Calculate volume by multiplying length × width × depth in feet, then divide by 27 to get cubic yards.
- A 4-by-8-foot bed at 10 inches deep requires about 0.4 cubic yards; a 4-by-4-foot bed needs about 0.2 cubic yards.
- Soil is sold by the cubic yard or bag; bulk delivery is cheaper for large beds, but bags work for small spaces.
- Mix topsoil, compost, and peat moss or coconut coir rather than using one type alone; a 40-30-30 blend is common.
Depth matters more than most gardeners think
Shallow soil forces roots to spread sideways instead of down, which stunts growth and makes plants thirsty. Tomatoes, peppers, squash, and carrots all need room to push roots deep. Even if your bed is only 8 inches deep, you will see the difference in yield and plant health by the end of the season.
If you are building on top of compacted ground or clay, add 2 extra inches to your target depth. The soil underneath will compact over time, and that buffer keeps your plants from hitting hard ground by mid-summer. If your bed sits on grass or weeds, lay cardboard or landscape fabric on the bottom first—this stops roots from growing down into poor soil and makes weeding easier.
Topsoil, compost, and amendments: what to mix
Do not fill your bed with topsoil alone. Topsoil is heavy, compacts easily, and drains poorly. A better mix is 40 percent topsoil, 30 percent compost, and 30 percent peat moss or coconut coir. This blend holds moisture without staying soggy, feeds plants as the compost breaks down, and stays loose enough for roots to push through.
If you are buying in bulk, ask the supplier whether their topsoil is screened (free of rocks and clay clumps) and whether it has been tested for contaminants. Bagged soil from a garden center is usually screened and safe, but it costs more per cubic yard. For a 4-by-8-foot bed at 10 inches, expect to pay $40 to $80 for bulk delivery or $60 to $120 for bags, depending on your region and soil quality.
Bulk delivery versus bags: when each makes sense
Bulk soil is cheaper per cubic yard but requires a truck to deliver it, and you need space to store a pile. One cubic yard takes up about 27 square feet of ground space. If your raised bed is small or you live in an apartment, bags are the only option. A 2-cubic-foot bag covers about 8 square feet at 3 inches deep, so a 4-by-4-foot bed at 10 inches needs roughly 5 to 6 bags.
Bulk makes sense if you are filling multiple beds or a bed larger than 4 by 8 feet. Call ahead to confirm the delivery fee and whether the supplier will dump the soil directly into your bed or leave it on the driveway. Some will; others charge extra. If you are buying bags, stack them near the bed the day before and open them as you fill—this saves your back and keeps the pile from blocking your workspace.
Account for settling and future top-ups
Soil settles over the first few weeks as water moves through it and organic matter breaks down. You may lose 1 to 2 inches of depth by the end of the first season. Fill your bed to the top, then expect to add 1 to 2 inches of compost or topsoil each spring to bring it back to depth. This also feeds the soil as the new material breaks down.
If you are reusing soil from year to year, do not replace it all. Remove the top 2 to 3 inches (where pests and disease spores live), then mix in fresh compost to refresh the rest. This saves money and keeps the soil structure you have built. After three to four years, the original soil will be mostly compost and peat, so plan a full refresh at that point.
Common mistakes that waste money
Ordering too little is the most common error. People measure their bed, calculate volume, and forget to add the 1 to 2 inches of settling that happens in the first month. Order 10 to 15 percent extra, especially if you are buying in bulk and cannot easily add more later. It is cheaper to have a small pile left over than to make a second delivery trip.
Buying the cheapest topsoil is the second mistake. Screened, tested soil costs more upfront but saves you from pulling rocks and clay clumps all season. Unscreened soil also compacts faster and drains worse. Read the bag label or ask the supplier what is in it. If they cannot tell you, buy elsewhere.
Quick reference table for common bed sizes
| Bed Size | 10-Inch Depth | 12-Inch Depth | Approximate Cost (Bulk) |
|---|---|---|---|
| 2 × 4 feet | 2.5 cubic feet (0.09 cu. yd.) | 3 cubic feet (0.11 cu. yd.) | $15–$25 |
| 4 × 4 feet | 5 cubic feet (0.19 cu. yd.) | 6 cubic feet (0.22 cu. yd.) | $30–$50 |
| 4 × 8 feet | 10 cubic feet (0.37 cu. yd.) | 12 cubic feet (0.44 cu. yd.) | $60–$100 |
| 4 × 12 feet | 15 cubic feet (0.56 cu. yd.) | 18 cubic feet (0.67 cu. yd.) | $90–$150 |
Frequently Asked Questions
Can I use less than 10 inches of soil if I have a shallow bed?
Yes, if you are growing lettuce, spinach, radishes, or other shallow-rooted crops. These work in 6 to 8 inches. Tomatoes, peppers, carrots, and potatoes need the full 10 to 12 inches or they will be stunted. If your bed is fixed at a shallow depth, choose crops that match it rather than trying to force deep-rooted plants.
Should I fill my bed with just compost?
No. Pure compost is too rich, drains too fast, and settles heavily. Mix it with topsoil and peat moss or coconut coir for a balanced blend that holds moisture, feeds plants, and stays loose. A 40-30-30 ratio (topsoil-compost-peat) is a standard starting point.
What if I do not know my bed dimensions?
Measure the inside length and width with a tape measure, then measure the depth from the bottom to the top rim. Write these down in feet and inches, then use an online soil calculator (search "raised bed soil calculator") to convert to cubic yards. This takes two minutes and prevents ordering the wrong amount.
Can I use garden soil from my yard instead of buying it?
Not as your main fill. Yard soil is usually compacted, clay-heavy, and full of weed seeds. Use it only as a bottom layer (2 to 3 inches) under purchased topsoil and compost. This saves money while keeping your bed drainable and weed-free.
How often do I need to replace the soil?
Not often if you maintain it. Top-dress with 1 to 2 inches of compost each spring, and remove the top 2 to 3 inches every few years to clear out pests and disease. A full replacement is usually needed after three to four years of heavy use.