Article — Soil Calculator
Soil Calculator: cubic yards, bags, and weight for any bed
A soil calculator converts area and depth into the volume of soil you need, in cubic yards or cubic meters, plus a bag count for retail purchases. For a 4-by-8-foot raised bed at 12 inches deep, the answer is 32 cubic feet, or 1.19 cubic yards, or about 22 standard 1.5-cubic-foot bags. Bulk delivery wins on price above 1 yard.
The calculation is geometry — length times width times depth for a rectangle, pi r-squared times depth for a circle. The judgment calls are which shape to pick, what soil type matches the project, and how much extra to order for settling. USDA NRCS bulk density values turn volume into weight, which matters for delivery logistics.
What is a soil calculator
A soil calculator is a volume-to-quantity converter for landscaping and gardening. It takes physical dimensions and returns the volume of soil to buy, the weight that volume represents, and an equivalent bag count.
The volume answer alone is not enough for a real purchase. Soil settles 10 to 15% in the first month, so a perfectly calculated volume leaves a sunken bed. The calculator adds a settling allowance automatically, which is the difference between a "looks great on day one" garden and a "what happened to my soil?" garden a month later.
A teaspoon of healthy garden soil contains roughly 1 billion microorganisms — more than the human population on Earth in a single teaspoon. Productive agricultural soil takes 100 to 200 years to form naturally (about one inch per 20 years), which is why erosion of topsoil is a one-way loss on human timescales.
Soil volume formula
Three shapes cover most real projects:
Rectangle V = L × W × DCircle V = π × r² × DTriangle V = (B × H ÷ 2) × Dyd³ = ft³ ÷ 27m³ = ft³ × 0.02832For a typical American 4-by-8 raised bed at 12 inches deep, V = 4 × 8 × 1 = 32 ft³. Divide by 27 to get yd³ (1.19). Multiply by 0.02832 to get m³ (0.91). The math is simple; the volume is in the right ballpark.
Soil types and bulk density
Soil bulk density — weight per unit volume including air spaces — is the number that turns volume into shipping weight. USDA NRCS bulk-density reference values:
- Topsoil: 105 lb/ft³ (1,680 kg/m³). Nutrient-rich surface layer for general gardening.
- Loam: 110 lb/ft³ (1,760 kg/m³). Balanced 40-40-20 sand/silt/clay mix — the gardener's gold standard.
- Sandy: 100 lb/ft³ (1,600 kg/m³). Excellent drainage, poor nutrient retention. Best for cacti and Mediterranean plants.
- Clay: 105 lb/ft³ (1,680 kg/m³). Slow drainage, holds nutrients well. Heavier to dig and amend.
- Potting mix: 45 lb/ft³ (720 kg/m³). Peat-and-perlite blends — light, airy, drains fast. For containers only.
For a productive vegetable garden, blend your own mix: 60% topsoil, 30% compost, 10% sand. The compost feeds plants for the first season; the sand prevents compaction. Bulk-buy each component separately and mix on-site.
How much soil for a raised bed
Common raised-bed sizes and their soil quantities:
- 4′ × 4′ × 8″ deep: 11 ft³ / 0.40 yd³ (7 bags).
- 4′ × 8′ × 12″ deep: 32 ft³ / 1.19 yd³ (22 bags).
- 4′ × 10′ × 12″ deep: 40 ft³ / 1.48 yd³ (27 bags).
- 4′ × 12′ × 18″ deep: 72 ft³ / 2.67 yd³ (48 bags).
Notice the depth jumps. Going from 8 to 12 to 18 inches changes the volume disproportionately. A common mistake is buying soil for "a 4-by-8 bed" without specifying depth — the spread is 22 to 48 bags depending on how deep you build.
Bagged vs. bulk soil
The break-even point is about 1 cubic yard. Below 27 cubic feet, bagged is convenient enough to justify the markup. Above it, bulk delivery is dramatically cheaper.
Cost comparison for 2 cubic yards (54 ft³, enough for a 4-by-12 raised bed at 14 inches):
- Bagged (36 bags × $10): $360 plus your time to carry and open each bag.
- Bulk delivered: $60 to $100 depending on local market and distance.
- Bulk loaded yourself: $30 to $50 if you have a pickup truck and the supplier has a loader.
A cubic yard of damp topsoil weighs about 2,000 to 2,400 lb. A half-ton pickup (Ford F-150, Chevy Silverado 1500) has a payload of 1,500 to 1,700 lb. Carrying 1 yd³ of wet soil exceeds the rating by 300 to 700 lb. Take half-loads or rent a 3/4-ton truck for one cubic yard or more.
Soil depth by plant
Different plants root at different depths. Match bed depth to the deepest-rooting plant you intend to grow:
- 6 to 8 inches: Lettuce, spinach, radishes, herbs (basil, oregano, chives). Shallow-rooting greens.
- 10 to 12 inches: Carrots, beets, peppers, beans, garlic. Most home-garden vegetables.
- 14 to 18 inches: Tomatoes, potatoes, parsnips, broccoli, cabbage. Deep-rooting crops.
- 24 to 36 inches: Fruit trees, asparagus (perennial root crowns), grape vines.
Soil settling and compaction
Soil settles in three phases. The first phase is immediate — gravity alone compresses freshly delivered soil 3 to 5% within a day. The second phase is water-driven: irrigation and rain compact another 5 to 8% over the first 2 weeks. The third phase is biological — root growth, microbial activity, and earthworm tunneling continue to compact the soil for the next 4 to 6 weeks. Total typical settling: 12 to 15%.
The calculator's 12.5% settling allowance is the midpoint. For heavy clay-based bulk soil, bump to 18 to 20%. For peat-heavy mixes, drop to 8 to 10% — peat does not compress the same way.
Common soil calculation mistakes
Three errors recur:
First, mixing units. Length in feet, depth in inches, getting cubic-feet-times-inches as an answer. Always convert depth to feet (inches ÷ 12) before multiplying.
Second, forgetting the radius vs. diameter on circles. The formula is πr², not πd². For a 6-foot circular bed, the radius is 3, so the area is 28.3 ft², not 113.
Third, treating a "yard of soil" as a unit of weight. A cubic yard is a volume measure. A "yard" of damp topsoil weighs about 2,000 lb, but a yard of compost weighs 800 lb. Suppliers sell by volume; the weight follows from the material type.
Fourth, ignoring existing soil. If you are topping up an existing garden bed rather than filling an empty box, you only need the volume corresponding to the depth you are adding. A bed already filled to 8 inches that needs another 4 inches of fresh soil needs only one-third of the volume of a brand-new 12-inch fill.
Finally, picking the wrong soil type for the application. Topsoil and loam are not interchangeable with potting mix — the latter is engineered for drainage in pots and will dry out within hours in an in-ground bed. Container gardening: potting mix. Raised beds: topsoil or loam, sometimes blended with compost. Heavy fill or sub-base: cheaper construction-grade fill rather than premium garden soil.