Raised Bed Soil Calculator
A standard 4×8 raised bed at 12″ deep needs about 32 cubic feet of soil — that's 16 bags of 2-cu-ft soil or roughly 1.2 cubic yards in bulk. Use the calculator below to get exact numbers for any bed shape, with a soil mix recipe and printable shopping list.
Quick Start
Soil Estimate
1 bed · Classic Raised Bed
Soil Mix Breakdown
Shopping List
Bags Needed
Bulk Delivery
Bulk delivery is most cost-effective for 2+ cubic yards
Fertilizer
Mix Components
Last updated: March 2026
How to Calculate Soil for Any Raised Bed
Whether you're building a single 4×4 bed or an entire garden with multiple raised beds, the math is straightforward. Here's the formula and step-by-step process our calculator uses behind the scenes.
1The Volume Formula
Rectangular beds:
Volume (cu ft) = Length (ft) × Width (ft) × Depth (in) ÷ 12
Circular beds:
Volume (cu ft) = π × (Diameter ÷ 2)² × Depth (in) ÷ 12
Convert to cubic yards: Cubic feet ÷ 27
Convert to bags: Cubic feet ÷ bag size (cu ft)
2Step-by-Step Guide
- Measure your bed. Get the inside dimensions — length and width (or diameter for round beds) in feet, and the depth in inches.
- Account for existing soil. If you're topping off a bed that already has soil, measure the current soil level and subtract it from the bed depth. Our calculator has a built-in “existing soil” field for this.
- Calculate volume. Multiply length × width × (depth ÷ 12) for cubic feet. For multiple beds, calculate each separately and add them up.
- Choose your soil mix. The classic recipe is 60% topsoil, 30% compost, 10% potting mix. For vegetable gardens, use more compost (40%) and add perlite for drainage.
- Decide bags vs. bulk. Under 1 cubic yard, bags are easier to handle. Over 2 cubic yards, bulk delivery typically saves 40–60%.
- Add 10% for settling. Fresh soil settles 10–20% in the first few months. Order a bit extra or plan to top off later.
Soil Needed by Bed Size
Rectangular Beds — 12″ Deep
| Bed Size | Cubic Feet | Cubic Yards | 2 cu ft Bags | Est. Cost (Bags) |
|---|---|---|---|---|
| 2×4′ | 8 | 0.3 | 4 | $36 |
| 3×6′ | 18 | 0.67 | 9 | $81 |
| 4×4′ | 16 | 0.59 | 8 | $72 |
| 4×6′ | 24 | 0.89 | 12 | $108 |
| 4×8′ | 32 | 1.19 | 16 | $144 |
| 4×10′ | 40 | 1.48 | 20 | $180 |
| 4×12′ | 48 | 1.78 | 24 | $216 |
| 6×8′ | 48 | 1.78 | 24 | $216 |
| 8×8′ | 64 | 2.37 | 32 | $288 |
Rectangular Beds — 6″ Deep
| Bed Size | Cubic Feet | Cubic Yards | 2 cu ft Bags |
|---|---|---|---|
| 2×4′ | 4 | 0.15 | 2 |
| 3×6′ | 9 | 0.33 | 5 |
| 4×4′ | 8 | 0.3 | 4 |
| 4×8′ | 16 | 0.59 | 8 |
| 4×12′ | 24 | 0.89 | 12 |
Circular Beds — 12″ Deep
| Diameter | Cubic Feet | Cubic Yards | 2 cu ft Bags |
|---|---|---|---|
| 3 ft | 7.1 | 0.26 | 4 |
| 4 ft | 12.6 | 0.47 | 7 |
| 5 ft | 19.6 | 0.73 | 10 |
| 6 ft | 28.3 | 1.05 | 15 |
| 8 ft | 50.3 | 1.86 | 26 |
Soil Mix Recipes for Different Plants
Not all plants thrive in the same soil. Here are proven soil mix recipes for different types of raised bed gardens:
Classic Raised Bed Mix (All-Purpose)
- 60% topsoil — provides structure, moisture retention, and mineral content
- 30% compost — adds nutrients, beneficial microbes, and organic matter
- 10% potting mix — improves drainage and aeration
Best for: most vegetables, herbs, annual flowers, and general gardening.
Vegetable Garden Mix (Nutrient-Rich)
- 40% topsoil — structure and base
- 40% compost — extra nutrients for heavy-feeding vegetables
- 10% perlite/vermiculite — excellent drainage for root vegetables
- 10% peat moss or coco coir — moisture retention
Best for: tomatoes, peppers, squash, beans, carrots, and other vegetables.
Flower Bed Mix (Well-Draining)
- 50% topsoil — stable base for perennial roots
- 30% compost — steady nutrient supply
- 10% perlite — drainage (many flowers dislike wet feet)
- 10% peat moss — slight acidity for acid-loving plants
Best for: perennials, annuals, roses, lavender, and ornamental plantings.
Succulent & Cactus Mix (Fast-Draining)
- 40% coarse sand — fast drainage, prevents root rot
- 30% potting mix — lightweight base
- 20% perlite — extra aeration
- 10% compost — minimal but sufficient nutrients
Best for: succulents, cacti, sedums, and Mediterranean herbs like rosemary.
Bags vs. Bulk: Which Is Cheaper?
| Factor | Bagged Soil | Bulk Delivery |
|---|---|---|
| Cost per cu yd | $100–$160 | $25–$50 + delivery |
| Best for | Under 1 cu yd | 2+ cubic yards |
| Convenience | Carry yourself, no delivery needed | Dumped in driveway, need wheelbarrow |
| Quality control | Consistent, labeled contents | Varies by supplier — inspect before buying |
| Storage | Stackable, store leftover bags easily | Need space for a pile, use quickly |
The break-even point is typically around 1.5–2 cubic yards. Below that, the convenience of bags usually wins. Above that, bulk delivery can save you 40–60% on soil costs. Many landscape suppliers offer free or cheap delivery for orders over 3 cubic yards. Our calculator shows both options side-by-side so you can compare for your specific project.
How Deep Should a Raised Bed Be?
| Depth | Best For | Notes |
|---|---|---|
| 6" | Lettuce, herbs, radishes, strawberries | Minimum depth. Works if placed on loosened native soil. |
| 8–10" | Most vegetables, flowers, beans, peas | Most popular depth. Good balance of cost and root space. |
| 12" | Tomatoes, peppers, squash, most root crops | Standard recommendation. Adequate for 90% of plants. |
| 18" | Carrots, parsnips, potatoes, daikon radish | Deep-rooted crops. Can also build on concrete/gravel. |
| 24" | Elevated planters, accessibility beds | Great for seniors, wheelchair users, and reducing bending. |
Pro tip: If your raised bed sits directly on native soil, the plants' roots can extend below the bed. A 6″ bed on loosened ground effectively gives you 12–18″ of growing depth. If your bed is on concrete, a deck, or gravel, you'll need the full depth in soil.
Money-Saving Tips for Filling Raised Beds
- Use the “Hügelkultur” method. Fill the bottom third of deep beds (18″+) with logs, branches, and leaves. They decompose over time, feeding the soil and reducing the amount of soil you need to buy by 30–40%.
- Buy in bulk for large projects. If you need 2+ cubic yards, bulk delivery from a landscape supplier is typically 40–60% cheaper than bagged soil from a garden center.
- Make your own compost. Kitchen scraps, yard waste, and fallen leaves make excellent compost. A simple compost bin can produce 30% of the soil you need for free within 6–12 months.
- Ask for municipality compost. Many cities give away or sell compost cheaply from their yard waste recycling programs. Check your local public works department.
- Buy off-season. Soil and compost are cheapest in late fall and winter when garden centers clear inventory. Stock up before spring planting season.
- Split a bulk delivery with neighbors. A bulk delivery of 5+ cubic yards is often the most cost-effective per-yard rate. Go in with a neighbor to split the cost and the pile.
- Reuse and refresh existing soil. Don't throw out last year's soil. Add 1–2 inches of compost and a dose of fertilizer to revitalize it for the new season.
Frequently Asked Questions
For a standard 4×8 raised bed that's 12 inches deep, you need about 32 cubic feet of soil (roughly 1.2 cubic yards). That's approximately 16 bags of 2-cubic-foot soil. If your bed is only 6 inches deep, you'll need half — about 16 cubic feet. For the best results, fill it with a mix of 60% topsoil, 30% compost, and 10% potting mix or perlite.
A 4×4 raised bed that's 12 inches deep requires about 16 cubic feet (0.6 cubic yards) of soil — roughly 8 bags of 2-cubic-foot soil. If you're building a taller 18-inch bed, you'll need about 24 cubic feet. For a 6-inch deep bed, only 8 cubic feet is needed. Use our calculator above to get exact numbers for your specific dimensions.
The most recommended raised bed soil recipe is 60% topsoil, 30% compost, and 10% potting mix (soilless growing medium). For vegetable gardens specifically, a richer mix of 40% topsoil, 40% compost, and 20% perlite/vermiculite works well. Avoid using more than 20% peat moss as it's acidic. The key is having loose, well-draining soil rich in organic matter so roots can grow freely.
For small projects (under 1 cubic yard / 27 cubic feet), bagged soil is more convenient and easier to handle. For larger projects (2+ cubic yards), bulk delivery is typically 40–60% cheaper. A cubic yard of bulk topsoil costs $25–$50 delivered, while the same volume in 2-cubic-foot bags could cost $120–$150. Our calculator shows both options with cost estimates so you can compare.
Most vegetables need 6–12 inches of soil depth for healthy root growth. Shallow-rooted crops like lettuce and herbs do fine in 6-inch beds. Most vegetables (tomatoes, peppers, beans) prefer 12 inches. Deep-rooted crops like carrots, potatoes, and parsnips need 12–18 inches. If your raised bed sits on native soil, roots can extend below the bed — a 6-inch bed on loosened ground effectively gives you 12–18 inches of growing depth.
For a rectangular bed: multiply length (ft) × width (ft) × depth (ft). Since depth is usually measured in inches, divide inches by 12 first. Example: a 4×8 bed that's 10 inches deep = 4 × 8 × (10/12) = 26.7 cubic feet. For circular beds, use π × radius² × depth. To convert cubic feet to cubic yards, divide by 27. Our calculator handles all these conversions automatically.
Bagged topsoil costs $4–$8 per cubic foot depending on quality and brand. A 2-cubic-foot bag of premium garden soil typically runs $8–$12. Compost is $3–$7 per cubic foot bagged. For bulk delivery, mixed planting soil is $25–$50 per cubic yard (27 cubic feet), making it significantly cheaper for large projects. A typical 4×8×12" bed costs $70–$150 to fill with bagged soil or $30–$60 with bulk soil.
Yes! At the start of each growing season, refresh your existing soil by adding 1–2 inches of compost on top and mixing it into the top few inches. Add granular organic fertilizer (½ cup per 5 square feet) to replenish nutrients. If the soil level has dropped from settling and decomposition, top it off with fresh planting mix. Most raised bed soil lasts many seasons with annual amendments.
Topsoil is natural soil from the top layer of the earth — it's heavy, retains moisture, and provides structure. Garden soil is topsoil enriched with compost and organic matter — ideal for in-ground beds. Potting mix is a soilless blend of peat moss, perlite, and vermiculite — lightweight, well-draining, and sterile. For raised beds, combining all three creates the ideal growing medium: topsoil for structure, compost for nutrients, and potting mix for drainage.
Divide your total cubic feet needed by the bag size. For example, a 4×8×12" bed needs 32 cubic feet: that's 32 one-cubic-foot bags, 22 bags of 1.5 cu ft, 16 bags of 2 cu ft, or 11 bags of 3 cu ft. Most garden centers sell 1.5 or 2 cubic foot bags. Our calculator automatically shows bag counts for all common sizes so you can buy the right amount.
If you're using a compost-rich soil mix, you may not need additional fertilizer right away — compost provides slow-release nutrients. However, adding ½ cup of granular all-purpose organic fertilizer per 5 square feet at planting time gives young plants a strong start. For vegetable gardens, a balanced 10-10-10 or organic equivalent works well. Our calculator estimates the fertilizer needed based on your bed's surface area.
New raised bed soil typically settles 10–20% in the first few months as air pockets collapse and organic matter decomposes. A 12-inch bed might drop to 10 inches. To compensate, either fill your bed a bit higher than needed or plan to top it off after a few weeks. Watering the soil thoroughly after filling and before planting helps speed up initial settling.
A keyhole garden is a circular raised bed (typically 6 feet in diameter) with a wedge-shaped path cut in from the edge to a center compost basket. The basket distributes nutrients as you water. Because of the path cutout and center basket, a keyhole garden needs about 15–20% less soil than a full circle of the same diameter. Our calculator handles the keyhole shape geometry automatically.