Soil Calculator

🌱 Landscaping Tool

Soil Calculator
Topsoil, Mulch & Fill

Calculate exactly how much soil, topsoil, mulch, or fill dirt you need — with a 3D bed visualization, weight estimate, bag count, truckload estimate, and cost calculator for gardens, raised beds, and landscaping projects.

📐 Volume Precision
⚖️ Weight Estimate
🚛 Delivery Planner
Length
Width
Depth
Cost/yd³ (opt.)
Length/Width unit
Depth unit
Soil type
Project presets (ft, in depth)

Soil Calculator: Calculate How Much Soil You Need Instantly

“How much soil do I need?” is the first question for any garden bed, raised planter, lawn renovation, or landscaping project — and getting it wrong means either running short (delay, second delivery trip) or over-ordering (wasted money, leftover dirt pile). This calculator computes the exact volume of soil, topsoil, mulch, compost, fill dirt, sand, clay, or loam needed for any rectangular area, in cubic yards (the standard bulk ordering unit), cubic feet, and cubic meters. It also estimates the weight (using density values for 8 soil types), the number of bags needed (in 1.5, 2, and 3 ft³ sizes), the truckload count for bulk delivery, and the total cost from a user-specified price per cubic yard. A 3D garden bed visualization shows your project’s proportions at a glance.

🌱 The formula:
Volume = Length × Width × Depth
Convert to cubic yards: ft³ ÷ 27 = yd³
Key depths: 2″ for lawn topdressing · 6″ for garden beds · 8–12″ for raised beds · 18″+ for tree planting

How Much Soil for Common Projects

ProjectDimensionsDepthCubic yardsWeight (topsoil)
🌱 Small garden bed4×4 ft6″0.30 yd³~800 lbs
🌿 Medium garden bed8×4 ft8″0.79 yd³~2,133 lbs
🪴 Large garden bed12×4 ft10″1.48 yd³~4,000 lbs
📦 Raised bed (12″ deep)8×4 ft12″1.19 yd³~3,200 lbs
🌾 Lawn topdressing20×10 ft2″1.23 yd³~3,333 lbs
🏗️ Backyard fill10×10 ft6″1.85 yd³~5,000 lbs
🌳 Tree planting hole3×3 ft18″0.50 yd³~1,350 lbs

Understanding Soil Types

🌱

Topsoil (100 lb/ft³)

The upper 2–8 inches of natural earth. Rich in organic matter and nutrients. Used for garden beds, lawn establishment, and general landscaping. The most commonly ordered soil type.

🌿

Garden Soil (90 lb/ft³)

A topsoil/compost blend optimised for planting. Lighter than raw topsoil due to added organic matter. Ideal for flower beds, vegetable gardens, and container filling.

🏗️

Fill Dirt (110 lb/ft³)

Subsoil with minimal organic content. Used for grading, filling holes, and construction base preparation. Not suitable for planting — it’s structural material, not growing medium.

🍂

Mulch (45 lb/ft³)

Shredded wood, bark, or organic material. Applied 2–4 inches deep to suppress weeds, retain moisture, and regulate soil temperature. Much lighter than soil — about half the density.

Cubic Feet vs Cubic Yards

27 cubic feet = 1 cubic yard. This is the most important conversion for soil ordering because bulk soil is sold by the cubic yard while bag sizes are in cubic feet. A project requiring 2 cubic yards = 54 cubic feet = 27 bags (2 ft³ each). The calculator performs this conversion automatically. Cubic yards are the standard unit at landscape supply yards, with typical prices of $25–$55 per cubic yard for topsoil, $20–$40 for fill dirt, and $30–$60 for premium garden soil. Delivery charges ($50–$150) make bulk orders more economical than bags for anything over approximately 1–2 cubic yards.

Soil Depth Guidelines

The depth of soil you need depends on what you’re growing. Lawn topdressing: 1–2 inches of topsoil over existing lawn to improve soil quality and level low spots. Shallow-rooted annuals and vegetables: 6–8 inches of garden soil provides adequate root zone for lettuce, herbs, radishes, and most annual flowers. Deep-rooted perennials and tomatoes: 10–12 inches allows root systems to develop fully. Raised beds: 12 inches minimum (most guides recommend 12–18 inches) — the bed walls are typically 12″ high, filled to the top. Tree planting: the planting hole should be 2–3 times the root ball diameter and slightly shallower than the root ball depth (typically 18–24 inches). The calculator’s depth presets reflect these common guidelines.

The 3D Garden Bed Visualization

The calculator generates an isometric 3D SVG showing your garden bed’s proportions — length, width, and depth scaled relative to each other. A narrow, deep bed looks visually different from a wide, shallow one, providing immediate confirmation that the dimensions are reasonable for the intended project. The front face shows the soil cross-section with texture dots simulating soil particles. Dimension labels display the actual measurements, and the cubic yard result appears alongside the bed for quick reference. The visualization updates instantly as you change any dimension, creating a dynamic preview of your project’s soil volume.

Bags vs Bulk: The Cost Decision

For projects under 0.5 cubic yards (~13.5 ft³, about 7 bags), bagged soil from a garden center is usually more convenient despite the higher per-unit cost. A 2 ft³ bag of topsoil costs $3–$6 at retail, meaning 7 bags costs $21–$42. For projects of 1–3 cubic yards, bulk delivery becomes significantly cheaper: bulk topsoil at $35/yd³ plus $75 delivery = $110 for 1 yd³, versus 14 bags at $5 each = $70 plus your time and vehicle capacity. For projects above 3 cubic yards, bulk is almost always the better choice — 3 yd³ bulk ($105 + $75 delivery = $180) versus 41 bags ($205 + multiple trips). The calculator shows both the bag count and the bulk cost to help make this decision.

Raised Bed Soil Calculation

Raised beds are among the most popular gardening projects, and they require more soil than most people expect. A standard 4×8 foot raised bed, 12 inches deep, needs 32 cubic feet (1.19 cubic yards) of soil — approximately 16 bags of 2 ft³ soil or about 1.2 cubic yards of bulk delivery. The soil for a single raised bed weighs approximately 3,200 lbs (1.6 tons) for topsoil — a significant weight that the bed’s location must support. Multiple raised beds compound quickly: four 4×8 beds need approximately 4.7 cubic yards (5 tons) of soil, firmly in bulk-delivery territory.

The recommended fill for raised beds is a 60/40 mix of topsoil and compost (or garden soil and compost). This provides the nutrient-rich, well-draining growing medium that vegetables and flowers need. The calculator handles this by letting you calculate the total volume, then split the order: 60% topsoil + 40% compost. For a 1.19 yd³ bed, that’s approximately 0.71 yd³ topsoil + 0.48 yd³ compost.

Lawn Topdressing and Levelling

Topdressing a lawn — spreading a thin layer of topsoil or compost over existing grass — improves soil quality, smooths bumps, and fills low spots. The typical application depth is 1/4 to 1/2 inch for maintenance topdressing and 1–2 inches for major levelling. A 1,000 ft² lawn topdressed at 1 inch depth needs 1,000 × (1/12) = 83.3 ft³ = 3.09 cubic yards — roughly 1.5 tons of topsoil. The calculator handles these thin-layer calculations by accepting depth in inches, automatically converting to the fractional feet needed for volume calculation.

Soil Weight and Delivery Logistics

Soil is surprisingly heavy. One cubic yard of topsoil weighs approximately 2,000–2,700 lbs (1–1.35 tons) depending on moisture content and composition. A standard dump truck carries 10–14 cubic yards (10–19 tons) per load. A pickup truck can safely carry only 1–2 cubic yards in the bed (2,000–4,000 lbs, depending on the truck’s payload rating). The calculator estimates weight using density values for 8 soil types: topsoil at 100 lbs/ft³, fill dirt at 110 lbs/ft³, mulch at 45 lbs/ft³, and so on. These are dry-weight averages — wet soil can weigh 20–40% more.

Mulch: A Special Case

Mulch is calculated the same way as soil (Length × Width × Depth = Volume), but its density is much lower (~45 lbs/ft³ versus ~100 lbs/ft³ for topsoil). Standard mulch depth is 2–4 inches: 2 inches for weed suppression around established plants, 3–4 inches for new beds or areas with heavy weed pressure. A 200 ft² mulched area at 3 inches depth needs 200 × (3/12) = 50 ft³ = 1.85 yd³ of mulch — approximately 25 bags (2 ft³) or 1 small bulk delivery. Select “Mulch” from the soil type dropdown to use the correct density for weight estimation.

Compaction and Settling

Loose soil settles and compacts after placement, reducing the fill height by 10–20% over the first few weeks to months. This means a 12-inch raised bed filled to the brim will settle to approximately 10–11 inches. To compensate, landscapers typically order 10–15% extra soil to top off after initial settling. The calculator shows the theoretical volume based on your dimensions — add 10–15% to the displayed result for a real-world ordering quantity. For fill dirt in construction applications, compaction is intentional and may reduce volume by 20–30%, requiring proportionally more material.

Common Soil Calculation Mistakes

  • Forgetting to convert depth to feet. If length and width are in feet but depth is in inches, the depth must be divided by 12 before multiplying. 6 inches = 0.5 feet, not 6 feet. The calculator handles this automatically when you select the correct depth unit.
  • Using the wrong conversion to cubic yards. 1 cubic yard = 27 cubic feet (3×3×3), NOT 9 (which is square yards). Dividing by 9 instead of 27 triples the apparent volume.
  • Not accounting for irregular shapes. The calculator assumes a rectangle. For irregular areas (curved beds, L-shapes, kidney shapes), break the area into approximate rectangles, calculate each separately, and sum the results.
  • Ignoring moisture weight variation. Dry topsoil weighs ~100 lbs/ft³; rain-soaked topsoil can reach 120–130 lbs/ft³. If you’re calculating for transport or structural loading, use the wet density.

Related Landscaping Calculators

Frequently Asked Questions

How much soil do I need for a garden bed?
Measure the length, width, and desired depth of your bed, then enter these into the calculator. A typical garden bed at 6–8 inches deep needs approximately 0.15–0.20 cubic yards per 10 square feet. For example, a 10×4 ft bed at 8″ deep needs 2.67 ft³ × (10×4÷10) = 26.7 ft³ = 0.99 yd³.
How do I calculate soil volume?
Multiply length × width × depth (all in the same unit). For a 10 ft × 5 ft bed that’s 6 inches (0.5 ft) deep: 10 × 5 × 0.5 = 25 cubic feet. Divide by 27 to get cubic yards: 25 ÷ 27 = 0.93 yd³. The calculator performs these conversions automatically from any input unit.
How many bags of soil do I need?
Divide the total cubic feet by the bag size. For 25 ft³ of soil: 25 ÷ 2 ft³/bag = 13 bags (for standard 2 ft³ bags). The calculator shows bag counts for 1.5, 2, and 3 ft³ bags. Add 10% for waste and settling.
What is a cubic yard of soil?
A cubic yard is a volume measuring 3 feet × 3 feet × 3 feet = 27 cubic feet. It’s the standard bulk ordering unit for soil, mulch, gravel, and sand. One cubic yard of topsoil weighs approximately 2,000–2,700 lbs (1–1.35 tons) and covers approximately 108 square feet at 3 inches deep.
How much does soil weigh?
It depends on the type. Topsoil: ~2,700 lbs/yd³ (100 lbs/ft³). Fill dirt: ~2,970 lbs/yd³ (110 lbs/ft³). Garden soil: ~2,430 lbs/yd³ (90 lbs/ft³). Mulch: ~1,215 lbs/yd³ (45 lbs/ft³). Compost: ~1,485 lbs/yd³ (55 lbs/ft³). These are dry averages — wet soil weighs 20–40% more.
How deep should garden soil be?
2 inches for lawn topdressing. 6 inches for shallow-rooted annuals, herbs, and lettuce. 8–10 inches for most vegetables and perennials. 12+ inches for raised beds (the deeper the better for root development). 18–24 inches for tree planting holes. The calculator accepts any depth in inches, feet, or centimeters.
How many cubic feet are in a cubic yard?
27 cubic feet = 1 cubic yard. A cubic yard is 3 ft × 3 ft × 3 ft = 27 ft³. This is the key conversion for soil ordering: bulk suppliers sell by the cubic yard, while bag sizes are in cubic feet. The calculator converts automatically.
Do I need more soil after compaction?
Yes — loose soil settles 10–20% after placement and watering. For a raised bed that should remain 12 inches deep after settling, fill to 13–14 inches initially, or order 10–15% more than the calculated volume. The calculator shows the theoretical (pre-settling) volume; add your preferred margin manually.
Is mulch calculated the same way?
Yes — mulch volume uses the same Length × Width × Depth formula. The only difference is density (mulch weighs about half as much as topsoil per cubic foot) and typical depth (2–4 inches for mulch vs 6–12 inches for soil). Select “Mulch” from the soil type dropdown for accurate weight estimation.
How accurate is this calculator?
The volume calculation (L × W × D) is mathematically exact. Weight estimates use average density values that are accurate to ±10–20% depending on moisture content, compaction, and exact soil composition. The calculator assumes a rectangular area; irregular shapes require breaking the area into rectangular sections and summing. Always order 10–15% extra for waste and settling.

Soil Density by Type: A Detailed Guide

Understanding soil density is essential for accurate weight estimation, delivery planning, and structural considerations. The calculator uses eight soil-type presets, each with a characteristic density that reflects the material’s composition, particle size, and moisture content.

Topsoil (100 lbs/ft³ / 1,600 kg/m³) is the uppermost layer of natural earth, typically 2–8 inches deep in undisturbed areas. It contains a mixture of mineral particles (sand, silt, clay), organic matter (decomposed plant material), air pockets, and moisture. Its moderate density reflects this mixed composition. Garden soil (90 lbs/ft³) is lighter because it’s been amended with compost or peat moss, increasing organic content and reducing mineral density. Fill dirt (110 lbs/ft³) is heavier because it’s subsoil — deeper earth with higher clay and mineral content and less organic matter and air space. Clay soil (120 lbs/ft³) is the densest garden soil type because its tiny, flat particles pack tightly together with minimal air space.

Compost (55 lbs/ft³) is mostly decomposed organic matter — much lighter than mineral soil because organic material has lower density than rock particles. Mulch (45 lbs/ft³) is the lightest material in the calculator because it’s shredded wood with large air gaps between pieces. Sand (100 lbs/ft³) matches topsoil density because its round particles pack efficiently, but lacks organic matter. Loam (95 lbs/ft³) — the ideal garden soil — balances sand, silt, clay, and organic matter at a moderate density that reflects its well-proportioned composition.

Construction Fill and Grading Applications

Beyond gardening, the soil calculator serves construction professionals who need fill dirt volumes for site grading, foundation preparation, and drainage projects. Site grading — levelling a property before construction — may require hundreds of cubic yards of fill dirt moved across the site. A 50×100 ft lot that needs 6 inches of fill across the entire surface requires 50 × 100 × 0.5 = 2,500 ft³ = 92.6 yd³ of fill dirt — approximately 9–10 dump truck loads. The calculator handles these large-scale calculations with the same formula used for garden beds.

Foundation backfill — filling the gap between a poured foundation wall and the excavation edge — requires calculating the volume of the trench around the foundation perimeter. A typical residential foundation with a 4-foot-deep, 2-foot-wide trench around a 40×60 ft perimeter needs 2 × (40+40+60+60) × 4 = 1,600 ft³ = 59.3 yd³ of backfill. French drains require gravel fill in a trench (typically 12–18 inches wide and 18–24 inches deep) along the drainage path — calculated as a long, narrow rectangular volume. The calculator works for any of these by entering the appropriate length, width, and depth.

Vegetable Garden Soil Requirements

Vegetable gardens have specific soil requirements that affect both the depth calculation and the soil type selection. Root vegetables (carrots, potatoes, parsnips) need 12–18 inches of loose, uncompacted soil for proper root development. Leafy greens (lettuce, spinach, kale) need only 6–8 inches because their root systems are shallow. Fruiting vegetables (tomatoes, peppers, squash) need 10–12 inches for adequate root anchoring and nutrient access. Herbs generally need 6–8 inches. For a mixed vegetable garden, 10–12 inches is a good compromise depth that accommodates most crops.

The ideal vegetable garden soil is a 50/50 or 60/40 mix of topsoil and compost. Calculate the total volume using the calculator, then split the order between topsoil and compost. A 4×8 ft raised bed at 12 inches deep needs 32 ft³ total — order 19 ft³ (0.70 yd³) of topsoil and 13 ft³ (0.48 yd³) of compost. This mix provides the nutrient density, drainage, and moisture retention that vegetables need for maximum yield. For existing beds that need refreshing, topdress with 2–3 inches of compost (calculated as a separate shallow-depth project).

Landscaping Fabric and Soil Layers

Many landscaping projects involve layered installations that require separate soil calculations for each layer. A typical raised bed with drainage might use: 2 inches of gravel at the bottom (for drainage), landscape fabric (no volume), 10 inches of garden soil on top. Calculate each layer separately: the gravel layer (8 × 4 × 2/12 = 5.3 ft³) and the soil layer (8 × 4 × 10/12 = 26.7 ft³). The calculator handles each layer as a separate calculation — run it once for gravel (using the sand density preset for weight estimation) and once for soil.

A pathway installation similarly requires multiple layers: 4 inches of compacted gravel base, 1 inch of sand levelling layer, and pavers on top (no fill needed). A 30 ft × 4 ft pathway needs 30 × 4 × 4/12 = 40 ft³ of gravel (1.48 yd³) and 30 × 4 × 1/12 = 10 ft³ of sand (0.37 yd³). Each material has a different density and cost — the calculator’s soil type selector adjusts the weight estimate accordingly.

Container and Planter Box Calculations

Planter boxes, window boxes, and large containers use the same volume formula but at smaller scales. A 24-inch-long × 8-inch-wide × 8-inch-deep window box needs 24 × 8 × 8 = 1,536 cubic inches = 0.89 cubic feet — less than one bag of potting mix. A large 36-inch diameter round planter, 18 inches deep, requires the circle formula: π × 18² × 18 = 18,322 in³ = 10.6 ft³ — about 5 bags of soil. For round containers, calculate the rectangular equivalent (diameter × diameter × depth) and multiply by 0.785 (π/4) for the circular cross-section. The calculator handles rectangular planters directly; for round ones, enter the diameter as both length and width, then multiply the result by 0.785.

Seasonal Soil Projects Calendar

Soil projects follow a seasonal rhythm that affects both when to order and how much to order. Spring (March–May) is peak season for garden bed preparation, raised bed filling, and lawn renovation — demand is highest and bulk soil suppliers may have waiting lists for delivery. Order 2–3 weeks ahead of your project date. Summer (June–August) is ideal for mulching (to retain moisture during hot weather) and topdressing established lawns. Fall (September–November) is the best time for major soil amendments — adding compost, turning beds, and preparing for next year’s growing season. Winter (December–February) is construction fill season in mild climates and planning season everywhere — calculate your spring soil needs during winter when suppliers offer off-season pricing (often 10–20% less than spring rates).

Soil Delivery: What to Expect

Bulk soil delivery typically arrives in a dump truck that deposits the soil in your driveway or on a designated area of your property. A standard dump truck holds 10–14 cubic yards (27,000–37,800 lbs of topsoil — approximately 13–19 tons). A small dump truck or “pup” trailer holds 5–8 cubic yards. The truck needs a clear path at least 10 feet wide and adequate clearance for overhead obstacles (power lines, tree branches). Delivery drivers typically cannot dump soil in your backyard — they deposit at the nearest accessible point, and you wheelbarrow or shovel the soil to its final location.

Plan for the labour of moving bulk soil: one cubic yard takes an experienced person with a wheelbarrow approximately 45–60 minutes to move 50 feet. For a 5 yd³ delivery, budget 4–5 hours of manual labour. Alternatively, hire a Bobcat operator ($200–$400 for a few hours) to distribute the soil mechanically — worthwhile for projects above 3–4 cubic yards where the labour savings exceed the equipment rental cost. The calculator’s truckload estimate helps determine whether a single delivery is sufficient or multiple trips are needed.

Soil Testing and Amendment

Before ordering soil, a soil test ($15–$30 through your local county extension office) reveals your existing soil’s pH, nutrient levels, and organic matter content. The test results determine how much amendment is needed — and therefore how much additional soil or compost to order. A soil test showing low organic matter might recommend adding 2–3 inches of compost across the garden (calculated using the calculator with “Compost” selected). A test showing acidic soil might recommend lime application at a specific rate per 1,000 ft² — a different calculation but one that starts with the same area measurement the calculator uses.

Environmental and Sustainability Considerations

Soil sourcing has environmental implications that responsible gardeners and landscapers should consider. Topsoil removal from farmland or natural areas degrades the source site — it takes nature approximately 500 years to form one inch of topsoil through natural weathering and organic decomposition. Whenever possible, source topsoil from construction sites where excavation would remove it regardless (road building, foundation digging), and supplement with compost rather than importing large quantities of virgin topsoil. The calculator helps minimise waste by providing precise volume calculations — ordering exactly what you need (plus a 10–15% margin) avoids both shortages and leftover piles.

Composting reduces the amount of purchased soil needed by producing amendment from kitchen and yard waste. A household producing 5 cubic feet of finished compost per year can reduce their garden soil purchase by 5 ft³ annually — modest for a single bed but significant over multiple years and across a community. The calculator’s compost density preset (55 lbs/ft³) helps gardeners estimate how much homemade compost weighs for transport and application planning. Municipal composting programmes that sell finished compost back to residents at $20–$30/yd³ provide a cost-effective, environmentally positive alternative to mined topsoil — and the calculator determines exactly how many cubic yards to order from these programmes.

Calculate your soil needs

Volume, weight, bags, truckloads, cost — enter your dimensions for instant results with 3D visualization.

Calculate soil ↑