To calculate dirt for a garden, multiply length × width × depth, convert to cubic yards by dividing by 27, then add 10% for settling.
Getting soil math right saves money, time, and plant stress. This guide walks you through simple steps to size bulk topsoil or mixes for beds, borders, and planters. You’ll learn the core formula, how to convert to cubic yards for delivery, and ways to adjust for slopes, mulch space, or compost blends. If you searched “how to calculate dirt for garden” and need a no-nonsense method, you’re in the right place.
Garden Soil Math: The Fast Formula
Volume in cubic feet = length (ft) × width (ft) × depth (ft). To switch to cubic yards for bulk orders, divide by 27. Most suppliers quote in yards, so this keeps quotes apples to apples. If you’re teaching a helper how to calculate dirt for garden needs, stick with feet and yards. Write units clearly to avoid mixing inches and feet.
Step-By-Step
- Measure inside edges of the area in feet.
- Pick an average depth. For new beds, 8–12 inches covers shallow roots; deep crops need more.
- Convert inches to feet by dividing by 12.
- Multiply length × width × depth for cubic feet.
- Divide by 27 to get cubic yards.
- Add 10% to buffer for settling and minor measuring wiggles.
Common Raised Bed Sizes And Soil Needed
The table below shows typical sizes with volumes at two handy depths (10 in and 12 in). Use it as a cross-check for your own math.
| Bed Size (ft) | Volume @10 in (yd³) | Volume @12 in (yd³) |
|---|---|---|
| 3 × 6 | 0.56 | 0.67 |
| 4 × 4 | 0.41 | 0.49 |
| 4 × 8 | 0.82 | 0.99 |
| 4 × 10 | 1.02 | 1.24 |
| 4 × 12 | 1.23 | 1.48 |
| 5 × 10 | 1.27 | 1.53 |
| 6 × 8 | 0.99 | 1.19 |
| 8 × 8 | 1.32 | 1.59 |
Calculating Dirt For Your Garden Beds: Steps That Work
Round to the nearest inch, write each number as you go, and average widths when a bed flares.
How To Calculate Dirt For Garden With Odd Shapes
Not every plot is a clean rectangle. Break complex spaces into simple blocks, total the volumes, then convert. These mini-formulas help.
Shapes And Shortcuts
- Circle beds: π × radius² × depth (all in feet); divide by 27 for yards.
- Half-circle: use the circle formula, then divide by 2.
- Triangle beds: 0.5 × base × height × depth.
- Border strips: length × width × depth. Measure width at a few points and average.
- Slopes: take the shallower and deeper ends, average the two depths, then run the standard formula.
Worked Example: L-Shaped Border
An L uses two rectangles. Say leg A is 12 ft × 2 ft, leg B is 8 ft × 2 ft, both at 8 inches (0.67 ft). Total cubic feet = (12×2×0.67) + (8×2×0.67) = 26.8 + 10.7 = 37.5 ft³. Divide by 27 = 1.39 yd³. Add 10% = 1.53 yd³; round to 1.6 yd³.
Choose A Depth That Matches Roots
Depth drives volume. Leafy greens and herbs grow in 6–8 inches, while tomatoes and squash want 12–24 inches. If the bed sits on native soil, you can loosen the base to gain extra rooting room without buying as much mix. Beds on pavement need the full depth built in. Good depth guidance from the University of Maryland Extension lines up with this approach and suggests a compost-rich blend for framed beds.
Quick Depth Guide
Shallow crops need low depth, bigger fruiting crops like more. Plan with your plant list, then set depth goals before you buy. The RHS guide to raised beds also backs the value of lifted soil where drainage is poor.
Pick A Soil Mix And Count The Parts
For raised beds, many gardeners blend plant-based compost with screened topsoil. A common target is around half compost and half topsoil by volume, with a touch of coarse material for air space in taller beds. If you buy bulk, ask for a “raised bed mix” or a clean topsoil plus separate compost, then blend on a tarp.
Blend Math In Practice
Say your bed needs 1.2 cubic yards in total. For a 50/50 blend, order 0.6 yd³ topsoil and 0.6 yd³ compost. For a 60/40 mix, split 0.72 and 0.48. When mixing bagged goods, match volumes in cubic feet so the ratio stays right.
Bag Count Shortcut
Most bags list volume in cubic feet or liters. Common sizes are 1 cu ft, 1.5 cu ft, and 2 cu ft. Bag count = total cubic feet ÷ bag size. If you’re near the line, round up; settling eats a bit of volume.
How To Calculate Dirt For Garden Orders And Delivery
Suppliers sell in full and partial yards. If your total sits at 1.05 yd³, your quote may step up to 1.25 yd³. Check truck minimums, delivery windows, drop spots, and lay tarps to keep the pile tidy.
Moisture, Bulk Density, And Settling
Fresh compost holds water and packs down during the first soak. That is why the 10% buffer helps. For deep beds, your first watering can drop the level by an inch or two. Top off with leftover mix after the first irrigation.
Metric Units Made Easy
If you prefer metric, measure in meters and convert depth from centimeters. Volume in m³ = length × width × depth (m). To switch to yards, multiply cubic meters by 1.30795. For bag sizes labeled in liters, total liters = cubic meters × 1,000; a 40-liter bag is roughly 1.41 ft³.
Table Of Mix Ratios And Bag Counts
Use the table to translate total volume needs into bag counts at common sizes and mixes. Totals are rounded for simplicity.
| Total Volume (ft³) | 50/50 Blend: Bags @1.5 ft³ | 60/40 Blend: Bags @2 ft³ |
|---|---|---|
| 24 (≈0.9 yd³) | 8 compost + 8 topsoil | 8 topsoil + 6 compost |
| 32 (≈1.2 yd³) | 11 compost + 11 topsoil | 10 topsoil + 8 compost |
| 40 (≈1.5 yd³) | 14 compost + 14 topsoil | 12 topsoil + 10 compost |
| 48 (≈1.8 yd³) | 16 compost + 16 topsoil | 14 topsoil + 12 compost |
| 56 (≈2.1 yd³) | 19 compost + 19 topsoil | 15 topsoil + 13 compost |
| 64 (≈2.4 yd³) | 22 compost + 22 topsoil | 16 topsoil + 14 compost |
| 80 (≈3.0 yd³) | 27 compost + 27 topsoil | 20 topsoil + 16 compost |
Pro Tips That Keep Numbers Honest
Leave Room For Mulch
If you plan a wood-chip or straw cap, stop soil about 2 inches below the rim. That space keeps mulch from spilling and cuts watering loss.
Plan For Path Scoop-Out
In a bed block, scoop 1–2 inches of soil from paths to beds before you buy. You’ll lift bed depth and shrink the order size.
Level And Tamp The Frame
Square frames make measuring easy and give a clean soil line. Level the frame, set corner braces, and tamp base soil or cardboard layers so volume doesn’t sink unevenly.
Skip Filler Layers
Logs, sticks, and gravel eat root room. Most veggies do best with uniform soil from top to bottom. Extension resources warn against overfilling with compost alone, since salts can stack up; if you went heavy on compost in the past, see this UMN guidance on excess compost.
Worked Examples You Can Copy
Example 1: Single 4×8 Bed At 12 Inches
Depth in feet = 12 ÷ 12 = 1. Volume in ft³ = 4 × 8 × 1 = 32. In yards = 32 ÷ 27 = 1.19 yd³. Add 10% = 1.31 yd³. Order 1.25–1.5 yd³ based on supplier steps and mulch plan.
Example 2: Two Beds, Different Depths
Bed A is 3 × 6 at 10 inches (0.83 ft). Bed B is 4 × 8 at 8 inches (0.67 ft). A = 3×6×0.83 = 15.0 ft³. B = 4×8×0.67 = 21.4 ft³. Total = 36.4 ft³ = 1.35 yd³. With 10% buffer = 1.49 yd³; round to 1.5 yd³.
Example 3: Long Border Strip
Border is 30 ft long and 18 inches wide (1.5 ft) at 6 inches deep (0.5 ft). Volume = 30 × 1.5 × 0.5 = 22.5 ft³ = 0.83 yd³. Add 10% = 0.91 yd³; one yard covers it.
Common Mistakes And Easy Fixes
- Ordering by weight: yards are cleaner for soil and compost. Weight swings with moisture.
- Ignoring settling: save 10% for top-off after watering.
- Buying pure compost: rich mixes can push salts and tie up nitrogen. Blend with topsoil.
- Skipping depth targets: match crops to depth to avoid stunted roots.
- Forgetting access: leave room for a wheelbarrow; tight access raises labor time.
Tools, Conversions, And Quick Math Aids
Essential Conversions
- 1 yard³ = 27 ft³.
- 1 ft³ ≈ 7.48 gallons.
- 1 inch = 0.0833 ft.
- Depth in feet = inches ÷ 12.
Simple Field Tools
- Tape measure and a notepad or phone.
- Stake and string to mark edges.
- Level and square for frames.
When To Amend Instead Of Fill
In ground beds with decent soil can skip bulk topsoil. Blend compost into the top 6–8 inches and save the cost of a large delivery. New raised beds on hardpan or pavement still need full-depth mix.
Final Checklist Before You Order
- Confirm the math for each bed and shape.
- Convert totals to yards and add 10%.
- Pick a blend ratio and split the order by parts.
- Check bag counts if you’re mixing by hand.
- Plan tarp, drop zone, and top-off time after the first soak.
