Soil Calculator

Find out exactly how much topsoil, garden soil or compost you need, in cubic yards, cubic metres and bags. Includes a settling allowance and a bags vs. bulk cost comparison.

Units

Allowance & cost optional

10%

Soil compacts after watering. 10–15% is typical; use 20%+ for fluffy raised-bed mixes.

Delivery fees vary, so check with your local landscape supplier.

Understanding the tool

What Is a Soil Calculator?

A soil calculator is an online tool that converts garden bed dimensions into the exact volume of soil needed for a project — measured in cubic yards, cubic feet, cubic metres, and bags.

  • Simple 3-Input Process: Instead of guessing how much topsoil to buy, enter length, width, and depth — the calculator returns exact soil volume, approximate weight, and number of bags required.
  • Works for Any Garden Shape: Accurately calculates for rectangular raised beds, circular flower beds, triangular garden areas, and containers of any size using volume = area × depth.
  • Automatic Conversions & Settling: Handles unit conversions, settling allowance, and bag count automatically so you don't have to do the math yourself.
  • Industry Standards: Follows measurement standards used by the United States Department of Agriculture (USDA) and the Soil Science Society of America (SSSA) to avoid ordering too much or too little dirt.
What Is a Soil Calculator?INPUTLengthINPUTWidthINPUTDepthFORMULAvolume = area × depth+ settlingyd³Volume (yd³ / m³)🛍️Bags needed⚖️Weight (lb/kg)Works for rectangles, circles, triangles & known area

Step-by-step guide

How to Use the Soil Calculator

To use the soil calculator, follow 3 steps: measure the garden bed, enter the dimensions, and read the results. The entire process takes less than 30 seconds.

Measure the area of your garden bed

  • Length and width: Use a tape measure to record the dimensions of a rectangular raised bed or planter garden in feet or metres.
  • Round & irregular beds: For a round flower bed, measure straight across the center to get the diameter; split L-shaped beds and irregular shapes into simple rectangles or triangles.
  • Depth to fill: Measure the target depth in inches or centimetres — most garden beds use 6–12 in (15–30 cm) of soil depending on the plants.

The math

How Does the Soil Calculator Work?

The soil calculator uses a single core formula: volume = area × depth. The soil calculator formula changes slightly for each bed shape — rectangle, circle, or triangle — but the idea stays the same. Below is a live formula playground to see the calculations in action.

length × width × (depth ÷ 12)
10 × 6 × 0.667 = 40.00 ft³
1.48 Cubic Yards·1.13 Cubic Metres·27 Bags (1.5 ft³)

Units & conversion

Soil Calculator in Cubic Yards and Cubic Feet

1 ft
1 ft
1 ft

1 Cubic Foot

  • Volume: 1 ft³ (28.3 L / 0.028 m³)
  • Weight: ~75–100 lb (34–45 kg)
  • Dimensions: 12 × 12 × 12 inches
3 ft
3 ft
3 ft

1 Cubic Yard

  • Volume: 27 ft³ (764.6 L / 0.76 m³)
  • Weight: ~2,000 lb (907 kg) topsoil
  • Equal to: 18 bags (1.5 ft³ each)

Quick Soil Volume Conversion

Cubic Feet27.00
Cubic Yards1.00
Cubic Metres0.76
Litres764.55

Ordering guide

How Much Soil Should You Order?

The amount of soil to order depends on 2 factors: the project type and the fill depth. Below are 5 common gardening projects with recommended soil depth, soil type, and a worked calculation. Click each project to see the details.

1Raised Garden Bed (4×8 ft)10–12 in (25–30 cm)
Depth10–12 in (25–30 cm)
MaterialGarden soil / raised-bed mix (60% topsoil, 30% compost, 10% aeration)

4 ft × 8 ft × 1 ft (12 in) = 32 ft³ = 1.19 yd³ (0.91 m³). Adding 15% settling gives 1.37 yd³ (or 25 bags of 1.5 ft³).

💡 Don't fill raised beds with plain topsoil. It packs down too hard and drains poorly. Use a purpose-made raised-bed blend with plenty of organic matter.

Garden soil / raised-bedTopsoil
2Flower Bed / Border6–8 in (15–20 cm)
Depth6–8 in (15–20 cm)
Material50/50 topsoil and compost blend

A 20 ft × 3 ft border filled 6 in deep: 20 × 3 × 0.5 = 30 ft³ = 1.11 yd³ (0.85 m³). With 10% settling = 1.22 yd³ (22 bags of 1.5 ft³).

💡 If amending existing soil rather than filling an empty bed, spread 2–3 in of compost over the surface and till it in 6–8 in deep.

50/50 topsoil and composTopsoil
3Vegetable Garden Plot8–12 in (20–30 cm)
Depth8–12 in (20–30 cm)
MaterialQuality topsoil enriched with aged compost or manure

A 10 ft × 10 ft plot filled 8 in deep: 10 × 10 × 0.67 = 67 ft³ = 2.48 yd³ (1.90 m³). With 15% settling = 2.85 yd³.

💡 Root crops like carrots and parsnips need at least 12 in of loose, rock-free soil. Leafy greens and tomatoes produce well in 8 in.

Quality topsoil enrichedTopsoil
4Lawn Topdressing / Leveling¼–½ in (0.5–1.2 cm)
Depth¼–½ in (0.5–1.2 cm)
MaterialFine-screened topsoil or 70/30 topsoil-sand mix

A 1,000 sq ft lawn topdressed at ⅜ in: 1,000 × 0.031 = 31.25 ft³ = 1.16 yd³ (0.89 m³). Settling is minimal on established turf.

💡 Never apply more than ½ in of topsoil at one time to an established lawn. Applying too much at once smothers the grass crowns.

Fine-screened topsoil orTopsoil
5Potted Plants & ContainersVaries by pot size
DepthVaries by pot size
MaterialPotting mix (peat moss, perlite, vermiculite, bark)

A 14-inch round pot (approx. 5 gallons): volume = π × (0.58 ft)² × 0.9 ft = 0.95 ft³ (27 L) = approx. 1 bag of 0.75 or 1 ft³ potting mix.

💡 Never use garden topsoil in containers. It is too heavy, compacts quickly in pots, and suffocates roots. Always use lightweight potting mix.

Potting mix (peat moss, Topsoil

Soil types & weight

Basic Types of Soil

There are 6 basic types of soil used in gardening and landscaping projects. Each type has a different unit weight of soil, organic matter content, and best-use case. Use Compare Weights to see how heavy each one is per cubic yard.

  • Topsoil

  • Garden Soil (Raised-Bed Mix)

  • Compost

  • Potting Mix (Soilless)

  • Fill Dirt

  • Sand (Builder's / Masonry)

Job-specific tools

Soil Calculators for Every Job

The calculator at the top handles any bed. These six tools each answer one question:

  • What the soil will cost
  • How many bags to buy
  • How much dirt to order
  • The raw volume
  • How deep a garden bed should be
  • How much topsoil a lawn needs

Frequently Asked Questions

Quick answers to the questions gardeners and landscapers ask most when ordering soil.

How do I calculate how much soil I need for my garden?

Multiply the garden's length × width × depth to get the soil volume in cubic feet. Divide cubic feet by 27 to convert to cubic yards. A 10 ft × 8 ft (3 m × 2.4 m) garden filled 6 in (15 cm) deep needs 10 × 8 × 0.5 = 40 ft³, or about 1.48 cubic yards (1.13 m³). Add 10–15% for settling, and the final order is roughly 1.63 yd³.

How many cubic yards of soil do I need for a raised bed?

A standard 8 ft × 4 ft raised bed filled 12 in (30 cm) deep holds 32 cubic feet, which equals 1.19 cubic yards (0.91 m³). A 4 ft × 4 ft raised bed at the same depth holds 16 ft³, or 0.59 yd³ (0.45 m³). Add 10–20% for settling — fluffy raised-bed mixes compact more than screened topsoil.

How deep should soil be for a vegetable garden?

Vegetable gardens need 8–12 in (20–30 cm) of quality soil. Root vegetables such as carrots and potatoes grow best in 12 in (30 cm) or more. Leafy greens and herbs do well in 6–8 in (15–20 cm). The United States Department of Agriculture (USDA) recommends at least 8 in of topsoil for most food crops.

How do I calculate soil for a circular flower bed?

Use the formula π × radius² × depth. A 6 ft (1.8 m) diameter circular flower bed filled 8 in (20 cm) deep: radius = 3 ft, area = 3.1416 × 3 × 3 = 28.27 ft², volume = 28.27 × 0.667 = 18.85 ft³, or 0.70 cubic yards (0.53 m³).

How much does a cubic yard of soil weigh?

One cubic yard of dry topsoil weighs about 2,000 lb (907 kg). Wet topsoil weighs 2,500–2,700 lb (1,134–1,225 kg) per cubic yard. Garden soil and raised-bed mixes weigh 1,400–1,800 lb (635–816 kg) per cubic yard because compost and organic matter reduce soil bulk density. Check your vehicle's payload rating before hauling soil.

Should I account for soil settling when ordering?

Yes, loose soil compacts 10–20% after watering and as organic matter breaks down. Screened topsoil settles about 10%. Raised-bed mixes with high compost content settle 15–20%. Add the settling percentage to your calculated volume before placing the order. Ordering extra avoids a second delivery fee.

What is the difference between topsoil and garden soil?

Topsoil is screened native soil used for grading, leveling, and establishing new lawns. Garden soil is topsoil blended with compost, peat moss, or other soil amendments to increase organic matter, improve soil texture, and raise soil fertility. Topsoil costs less per cubic yard, but garden soil grows better plants in raised beds and flower beds.

How do I convert cubic feet of soil into cubic yards?

Divide cubic feet by 27. For example, 54 cubic feet ÷ 27 = 2 cubic yards. To convert cubic feet to cubic metres, multiply by 0.0283: 54 ft³ × 0.0283 = 1.53 m³. One cubic metre equals 1.31 cubic yards, 35.31 cubic feet, or 1,000 litres.

Can I use the Soil Calculator for uneven garden areas?

Yes, split uneven areas into simple shapes — rectangles, circles, or triangles — and calculate each shape separately. The soil calculator adds volumes from multiple beds automatically. For L-shaped gardens, divide the area into 2 rectangles. For sloped beds, use the average depth between the shallow end and the deep end.

How can I estimate the amount of soil needed for lawn leveling?

Lawn leveling (top-dressing) uses ¼–½ in (0.5–1 cm) of screened topsoil. Measure the lawn area in square feet and multiply by the depth in feet. A 2,000 ft² (186 m²) lawn top-dressed at ½ in deep: 2,000 × 0.042 = 84 ft³, or 3.1 cubic yards (2.4 m³). For new lawns and sod installation, use 4–6 in (10–15 cm) of topsoil.