MB Calculator
Biology May 15, 2026 25 views

Soil Calculator: How Much Soil Do You Need?

Use our soil calculator to find exactly how much topsoil, compost, or fill dirt you need. Includes tips, soil depth guides, and cost-saving advice.

Calculator Tool

Interactive Tool

Soil Calculator

•••

How much soil do you need?

How much will the soil cost you?

/
/

Quick Result Guide

Enter length, width, depth, density, and price. The calculator will automatically show area, volume, weight, and total soil cost.

Status

Calculated

Area

-

Volume needed

-

Weight needed

-

Price per unit volume

-

Total cost

-

Method & Formulas

Area = Length × Width

Volume = Area × Depth

Weight = Volume × Density

Total Cost = Weight × Price per unit mass

How it works

The calculator converts all values into standard units first. Then it calculates soil area, volume, weight, and final cost automatically.

Soil Calculator: How Much Soil Do You Need?

Whether you are filling a raised garden bed, topping up your lawn, or potting a new plant, getting the soil amount right saves you time, money, and frustration. This guide walks you through exactly how to use a soil calculator, what the results mean, and smart tips no one else tells you — so you never over-order or run short again.

1. What Is a Soil Calculator?

A soil calculator is a tool that estimates the volume (and optionally the weight and cost) of soil you need to fill a specific area to a desired depth. You input three measurements — length, width, and depth — and the calculator does the math for you.

It works for any type of growing medium: topsoil, compost, potting mix, fill dirt, mulch, or garden soil blends. The underlying calculation is the same regardless of the material.

Think of it as your garden's personal quantity surveyor — accurate, fast, and free.

2. How to Use the Soil Calculator (Step-by-Step)

Follow these four simple steps to get your soil estimate:

  1. Measure the length of the area you want to fill. Use a tape measure and record it in feet, yards, or meters.
  2. Measure the width of the area in the same unit.
  3. Decide on the depth you need. This is often the trickiest part — see the depth guide in Section 4 if you are unsure.
  4. Enter the values into the calculator and read your result in cubic feet, cubic yards, or litres — whichever unit matches how soil is sold in your area.

Irregular or Odd-Shaped Areas

Not every garden bed is a perfect rectangle. Here is how to handle common shapes:

  • Circle: Measure the diameter, divide by 2 to get the radius (r), then calculate area = π × r². (π ≈ 3.14159)
  • Triangle: Area = ½ × base × height.
  • L-shape or U-shape: Break the area into two or more rectangles, calculate each separately, then add them together.
  • Irregular border: Divide into small rectangles, calculate each, and add.

Once you have the total area, multiply it by the desired depth — the calculator handles the rest.

3. The Soil Calculation Formula Explained

The core formula is straightforward:

Volume = Length × Width × Depth

All three dimensions must be in the same unit before you multiply. Here is a quick reference for unit conversions:

Common Unit Conversions for Soil Calculations

From To Inches To Feet To Yards
1 inch 1 0.0833 0.0278
1 foot 12 1 0.333
1 yard 36 3 1
1 meter 39.37 3.281 1.094

Worked Example

Say you have a raised bed that is 8 feet long × 4 feet wide, and you want to fill it to a depth of 12 inches (1 foot):

  • Volume = 8 × 4 × 1 = 32 cubic feet
  • Convert to cubic yards: 32 ÷ 27 = 1.19 cubic yards
  • Convert to litres: 32 × 28.317 = ~906 litres

A standard 40-litre bag of potting mix would give you about 22–23 bags for this bed. A standard 1-cubic-foot bag would need 32 bags.

4. Recommended Soil Depth by Plant or Project Type

This is one of the most overlooked parts of soil planning — and something most competitor calculators do not explain. The depth you need depends entirely on what you are growing or building.

Soil Depth Guide by Plant or Use Case

Plant / Use Minimum Depth Ideal Depth Notes
Lawn / Turf grass 4 inches (10 cm) 6 inches (15 cm) Top-dressing uses only 0.5–1 inch
Annual flowers 6 inches (15 cm) 8 inches (20 cm) Shallow roots, tolerates less
Perennial flowers 8 inches (20 cm) 12 inches (30 cm) Deeper roots return every year
Salad greens & herbs 6 inches (15 cm) 8 inches (20 cm) Great for shallow raised beds
Root vegetables (carrots, radish) 12 inches (30 cm) 18 inches (45 cm) Need loose, deep, stone-free soil
Tomatoes & peppers 12 inches (30 cm) 18 inches (45 cm) Deep roots need room to anchor
Shrubs 18 inches (45 cm) 24 inches (60 cm) Mix with native soil below
Trees (planting hole) Equal to root ball depth 2× root ball width Do not add soil on top of root flare
Raised bed (general) 8 inches (20 cm) 12–18 inches (30–45 cm) Deeper is better for most crops
Pots / containers Full container depth Leave 1–2 inches at top See container section below

Pro tip: When in doubt, go deeper. Plants with more root room consistently outperform those constrained by shallow soil — they handle drought better and produce more.

5. Bags vs. Bulk Soil: Which Should You Buy?

Once you know how much soil you need, your next decision is whether to buy it in bags or order it in bulk (by the cubic yard). Here is a clear breakdown most competitors skip:

Buy Bagged Soil When…

  • You need less than 1–2 cubic yards (27–54 cubic feet).
  • You are filling containers, small raised beds, or patching areas.
  • You need a specific mix (e.g., cactus mix, seed-starting mix, orchid bark).
  • You do not have vehicle access or space for a bulk delivery drop.
  • The project is spontaneous and you need soil today.

Buy Bulk Soil When…

  • You need more than 2 cubic yards — bulk is almost always cheaper.
  • You are filling a large raised bed, landscaping a lawn, or grading a yard.
  • You can accept a delivery window and have somewhere to put the pile.
  • You want to blend your own mix by combining topsoil, compost, and sand.

Cost Comparison: Bags vs. Bulk

Average Soil Cost by Purchase Method 

Purchase Type Typical Price Cost per Cubic Yard (approx.)
40-lb bag of topsoil $3–$7 per bag $40–$100
40-litre bag of potting mix $8–$20 per bag $90–$220
Bulk topsoil (delivered) $15–$50 per cubic yard $15–$50
Bulk compost (delivered) $25–$75 per cubic yard $25–$75

The takeaway: For projects over 2 cubic yards, bulk delivery typically costs 50–80% less per unit than bagged equivalents. Always get at least two delivery quotes, as local prices vary widely.

6. The Compaction Factor: Why You Should Always Order Extra

This is one of the most important things most soil guides leave out: soil compacts after you add it. Fresh, loose soil contains a lot of air pockets. Once it settles from watering, foot traffic, and its own weight, you can lose 10–25% of the volume.

Compaction Rules of Thumb

  • Topsoil (loose): Expect 15–20% compaction after settling. Add ~20% extra to your order.
  • Compost: Compacts faster and more — up to 25–30% over a season. Plan accordingly if using pure compost.
  • Potting mix: Usually pre-fluffed; still expect 10–15% settling after first watering.
  • Fill dirt: May need mechanical compaction; add 20–25% to your calculated volume.

Simple Formula with Compaction Buffer

Adjusted Volume = Calculated Volume ÷ (1 − Compaction Rate)

Example: You need 10 cubic yards and expect 20% compaction.
Adjusted Volume = 10 ÷ (1 − 0.20) = 10 ÷ 0.80 = 12.5 cubic yards

Always round up, not down, when ordering. Most suppliers sell in increments anyway, and leftover soil can always be used for top-dressing or stored.

7. Types of Soil and Which One You Actually Need

Walk into any garden centre and the range of soil products can be overwhelming. Here is a plain-English guide to what is what:

Topsoil
The top 2–8 inches of earth. It is the most nutrient-rich layer of natural soil. Bagged topsoil is ideal for filling low spots in lawns, creating new planting beds, and general landscaping. Quality varies widely — always check for weed seeds and debris.
Garden Soil
A blend of topsoil, compost, and other organic materials, formulated for in-ground planting. Richer than plain topsoil. Use it to improve existing beds or fill new ones. Do not use pure garden soil in containers — it compacts too much.
Potting Mix (Potting Soil)
A lightweight, soilless blend of peat or coir, perlite, and bark, designed for containers. It drains well and stays airy — essential for pot plants. Never use topsoil or garden soil in pots.
Compost
Decomposed organic matter — the single best soil amendment you can add. It improves drainage in clay soils, water retention in sandy soils, and adds nutrients to both. Use it as an amendment (mixed in) rather than a standalone planting medium.
Fill Dirt
Subsoil with no organic matter, used to raise grade levels, fill holes, or provide structural support under patios and foundations. It has no planting value on its own and must be topped with at least 6 inches of topsoil for plants to grow.
Raised Bed Mix
A blend of topsoil, compost, and coarse material (perlite or bark) balanced for great drainage and nutrition in raised beds. The most convenient all-in-one option if budget allows.
Mulch
Not technically a soil, but often confused with one. Mulch goes on top of the soil surface to retain moisture, suppress weeds, and regulate temperature. It breaks down into the soil over time.

8. Soil Amendments: When Buying More Soil Isn't the Answer

Sometimes the real problem isn't the quantity of soil — it is the quality. Before you order a truck of topsoil, ask yourself: is my existing soil actually bad, or does it just need some help?

Amending existing soil is often cheaper, more sustainable, and better for long-term plant health than simply adding more.

Common Amendments and What They Fix

Soil Amendments at a Glance

Amendment Problem It Solves Typical Application Rate
Compost Poor fertility, drainage, or structure 2–4 inches mixed into top 12 inches
Perlite / Coarse sand Waterlogged or compacted clay soil 20–30% by volume
Peat moss / Coco coir Sandy soil with poor water retention 2–3 inches mixed in
Lime (calcium carbonate) Acidic soil (pH below 6.0) 5–10 lbs per 100 sq ft — test first
Sulfur Alkaline soil (pH above 7.5) 1–2 lbs per 100 sq ft — test first
Aged manure Nutrient-poor soil 1–2 inches worked in annually
Biochar Water retention & long-term fertility 5–10% by volume

Test Your Soil Before You Buy Anything

A simple soil test kit (available at most garden centres for $10–$20) tells you your soil's pH, nitrogen, phosphorus, and potassium levels in minutes. Many county extension offices offer more detailed lab tests for under $20. This step alone can save you from buying soil or amendments you do not actually need.

9. Soil Calculator for Raised Garden Beds

Raised beds are entirely filled with purchased soil, so getting the calculation right here has a direct impact on your wallet.

Step 1: Calculate Your Raised Bed Volume

Use the standard formula:

Volume (cubic feet) = Length (ft) × Width (ft) × Depth (ft)

Step 2: Choose the Right Depth

  • 6–8 inches: Herbs, lettuce, spinach, radishes.
  • 10–12 inches: Most vegetables — tomatoes, peppers, beans, squash.
  • 18 inches: Root crops like carrots, parsnips, and potatoes.

Step 3: Pick Your Soil Mix

The most popular and proven recipe for raised bed soil is the "Mel's Mix" (from the book Square Foot Gardening):

  • 1/3 compost (blended from various sources)
  • 1/3 peat moss or coco coir
  • 1/3 coarse perlite or vermiculite

This mix drains well, never compacts, and is reusable year after year with a top-dressing of compost each spring.

Raised Bed Volume Quick Reference

Common Raised Bed Sizes and Soil Needed

Bed Size (L × W) Depth 8 in. Depth 12 in. Depth 18 in.
4 ft × 4 ft 10.7 cu ft 16 cu ft 24 cu ft
4 ft × 8 ft 21.3 cu ft 32 cu ft 48 cu ft
4 ft × 12 ft 32 cu ft 48 cu ft 72 cu ft
6 ft × 8 ft 32 cu ft 48 cu ft 72 cu ft
4 ft × 16 ft 42.7 cu ft 64 cu ft 96 cu ft

Note: Add 15–20% to these figures to account for settling (the compaction factor).

10. Soil Calculator for Pots and Containers

Container volumes are measured differently depending on shape. Most competitor calculators only handle rectangles — here is how to handle the most common pot shapes:

Rectangular / Square Pot

Volume = Length × Width × Height

Fill to about 1–2 inches below the rim to prevent overflow when watering.

Round / Cylindrical Pot

Volume = π × radius² × height   (radius = diameter ÷ 2)

Tapered / Nursery Pot (approximate)

Use the average of the top and bottom diameters to calculate an approximate radius, then apply the cylinder formula. This underestimates slightly — add 10%.

Common Pot Sizes and Soil Volume

Potting Soil Needed by Container Size

Pot Size Volume (approx.) Litres Needed
4-inch pot (small seedling) 0.1 quart ~0.5 L
6-inch pot 1–2 quarts ~1–2 L
1-gallon pot 1 gallon ~3.8 L
5-gallon pot 5 gallons ~19 L
10-gallon pot 10 gallons ~38 L
15-gallon pot 15 gallons ~57 L
Half wine barrel (25 gal) 25 gallons ~95 L
Window box (24 in) ~1 cu ft ~28 L

Important: Never Use Garden Soil in Pots

Garden soil and topsoil compact heavily inside containers, blocking drainage and suffocating roots. Always use a quality potting mix or container mix in any pot or planter.

11. Soil Calculator for Lawns and Top-Dressing

Top-dressing a lawn means spreading a thin, even layer of soil or compost over the surface to level out bumps, improve soil quality, and encourage thicker turf — without digging up the lawn.

How Much Soil for Top-Dressing?

A typical top-dressing depth is ¼ inch to ½ inch (0.6–1.25 cm). Going deeper smothers the grass. Use the same volume formula, but input the depth as a fraction of a foot:

  • ¼ inch = 0.0208 feet
  • ½ inch = 0.0417 feet
  • 1 inch = 0.0833 feet

Top-Dressing Quick Reference

Topsoil / Compost Needed for Lawn Top-Dressing

Lawn Area ¼-inch depth ½-inch depth 1-inch depth
500 sq ft 0.4 cu yd 0.8 cu yd 1.5 cu yd
1,000 sq ft 0.8 cu yd 1.5 cu yd 3.1 cu yd
2,500 sq ft 1.9 cu yd 3.9 cu yd 7.7 cu yd
5,000 sq ft 3.9 cu yd 7.7 cu yd 15.4 cu yd

Best practice: Top-dress in autumn after aerating, using a 70/30 mix of topsoil and compost. This gives your lawn the best spring growth.

12. How Much Does Soil Cost? (And How to Save)

Soil prices vary by region, soil quality, and delivery method. Here is a general guide to help you budget:

Average Costs by Soil Type (US Market)

Soil Cost Estimates (2024–2025)

Soil Type Bagged (per bag) Bulk (per cubic yard)
Topsoil $3–$7 (40 lb) $12–$55
Garden soil blend $8–$15 (40 lb) $30–$70
Compost $8–$20 (40 lb) $25–$80
Potting mix $8–$20 (2 cu ft) $90–$200 (est.)
Fill dirt Rarely sold in bags $5–$25
Raised bed mix $15–$35 (1.5 cu ft) $50–$150

5 Ways to Reduce Your Soil Costs

  1. Make your own compost. A backyard compost bin turns kitchen scraps and garden waste into free, rich soil amendment within 3–6 months.
  2. Mix topsoil with compost. A 60/40 topsoil-to-compost blend is nearly as good as premium garden soil at a fraction of the cost.
  3. Check your municipality. Many cities offer free or heavily discounted compost and mulch to residents — search "[your city] free compost."
  4. Buy in bulk and share with neighbours. Most bulk suppliers have a 1–3 cubic yard minimum delivery. Split a larger order with a neighbour and both save.
  5. Buy at the end of the season. Garden centres discount bagged soil in autumn. Stock up for the following spring.

13. 7 Common Soil Estimation Mistakes to Avoid

Even experienced gardeners make these errors. Avoiding them can save you a second trip to the store, an extra delivery fee, or a failed garden.

  1. Forgetting to convert units. Mixing feet and inches without converting first is the most common error. Always confirm that all three dimensions are in the same unit before multiplying.
  2. Ignoring compaction and settling. Fresh soil shrinks 10–25% after watering. Always add a buffer — see Section 6.
  3. Underestimating the depth needed. Many first-time gardeners use 4–5 inches when the plants need 12. Check the depth guide in Section 4 before ordering.
  4. Using garden soil in pots. It always compacts and rots roots. Use potting mix in containers, full stop.
  5. Buying by weight without understanding density. A cubic yard of dry topsoil weighs ~1,400 lbs. Wet compost can exceed 1,700 lbs per cubic yard. If your vehicle has a weight limit, calculate the weight before loading.
  6. Not accounting for obstacles. If your bed has posts, rocks, or other objects, subtract their volume from your total — it is a small but honest saving.
  7. Ordering the wrong soil type. Buying fill dirt when you need topsoil, or potting mix when the project calls for garden soil, wastes money and stunts plant growth. Re-read Section 7 if in doubt.

14. Frequently Asked Questions

How many bags of soil do I need for a 4×8 raised bed?

A 4×8 ft bed filled to 12 inches deep needs 32 cubic feet of soil. Standard 1.5 cu ft bags require about 21–22 bags. Standard 2 cu ft bags require about 16 bags. Add 15–20% extra for settling.

How many cubic yards of soil do I need?

Divide your cubic footage by 27 (since 1 cubic yard = 27 cubic feet). For example, 54 cubic feet ÷ 27 = 2 cubic yards.

What is the difference between topsoil and potting soil?

Topsoil is the naturally occurring upper layer of earth, used for in-ground planting and landscaping. Potting soil (or potting mix) is a manufactured, soilless blend designed for containers — it is lighter and drains much better than topsoil.

How much does a cubic yard of soil weigh?

It depends on the type:

  • Dry topsoil: ~1,400 lbs (635 kg)
  • Moist topsoil: ~1,700–2,000 lbs (770–900 kg)
  • Compost: ~1,000–1,400 lbs (450–635 kg)
  • Potting mix: ~400–800 lbs (180–360 kg)
Can I use too much topsoil?

Yes. Piling topsoil too deep over an existing lawn or around tree trunks can smother roots, disrupt drainage, and create anaerobic (oxygen-free) conditions that rot plant tissue. For lawn topdressing, stay under 1 inch per application. For trees, never add soil over the root flare.

How long does bagged soil last if unopened?

Unopened bagged soil stores well for 1–2 years if kept dry and out of direct sunlight. Opened bags degrade faster, as moisture and UV exposure break down the organic matter. Use opened bags within one season.

Is topsoil the same as dirt?

Informally, people use the words interchangeably. Technically, "dirt" often refers to displaced, compacted, or nutrient-poor soil that does not support plant growth well. Good-quality topsoil contains organic matter, microorganisms, and nutrients — "dirt" generally does not.

How do I calculate soil for a slope or hill?

Calculate the area as a flat projection (length × width from above), then multiply by the average soil depth you want on the slope. For steep slopes, you may need retaining structures before adding soil — otherwise it will wash away in rain.

When is the best time to add soil to a garden?

Spring (before planting) and autumn (after harvest) are ideal. Autumn additions give the soil time to settle and integrate before spring planting. Avoid working soil when it is waterlogged or frozen, as this destroys its structure.

15. Soil Calculator Glossary

New to gardening? Here are the key terms you will encounter when ordering or calculating soil:

Cubic Foot (cu ft)
A volume equal to 1 ft × 1 ft × 1 ft. Most bagged soils are sold in cubic feet.
Cubic Yard (cu yd)
27 cubic feet. The standard unit for bulk soil, mulch, and compost deliveries in the US.
Compaction
The reduction in soil volume caused by the weight of the soil itself, watering, and external pressure. Can reduce volume by 10–25%.
Amendment
Any material added to soil to improve its physical or chemical properties — e.g., compost, perlite, lime, sulfur.
pH
A scale from 0–14 measuring soil acidity or alkalinity. Most vegetables and flowers thrive at pH 6.0–7.0 (slightly acidic to neutral).
Bulk Density
The weight of soil per unit volume, typically expressed in lbs per cubic foot or kg per cubic meter. Used to estimate how much soil weighs for transport.
Top-Dressing
The practice of spreading a thin layer (usually ¼–1 inch) of soil or compost over an existing lawn or bed without tilling.
Loam
An ideal soil texture that is a roughly equal blend of sand, silt, and clay. It drains well, holds moisture, and supports plant roots — the gold standard for gardening.
Perlite
Lightweight volcanic glass granules added to soil to improve aeration and drainage. Common in potting mixes and raised bed blends.
Coco Coir
A sustainable alternative to peat moss, made from coconut husk fibre. It retains moisture while still allowing good drainage.