Skip to main content

Garden Soil Calculator: Cubic Yards, Bags and Weight

Calculates garden soil or topsoil volume in cubic yards, the number of 40-liter bags and the total weight, with an optional cost estimate.

**A garden bed 7 feet by 10 feet, filled 8 inches deep, needs about 1.7 cubic yards of topsoil.** That is 34 bags of 40 liters, each holding about 1.4 cubic feet. Universal garden soil fills the same volume, but the total weight of the delivery depends on the density of the soil you choose, so the same volume can mean very different loads.

Converting between cubic yards and bags is straightforward: one cubic yard is about 19 bags of 40 liters. Weight is the part people underestimate. Topsoil is the heaviest of the common options, universal garden soil is lighter, and peat is lighter still. A family car can carry less than one cubic yard of topsoil in a single load, so a bulk order usually means a truck delivery, not a few trips.

Bagged soil suits small jobs because you can carry it, store the leftovers and work at your own pace. You can also finish one bed before opening the next bag, which keeps a small project tidy.Bulk delivery costs less per cubic yard once the order reaches a few cubic yards, but it needs clear access for a dump truck and a spot to drop the pile, which is often the real constraint.

Enter the length and width of the area in feet, the layer depth in inches and the soil type. The calculator shows the volume in cubic yards, the number of 40-liter bags and the total weight. If you also enter your supplier's price per cubic yard, it adds a cost estimate; leave the price at 0 to skip it.

The explanation below uses US units; the calculator works in either system.

The result updates automatically.

For irregular beds, use the maximum dimension and adjust the width proportionally.

Measure in a straight line, edge to edge.

Lawn: 4–6 in (about 10–15 cm) · Beds and shrubs: 8–12 in (about 20–30 cm) · Vegetable garden: 12–16 in (about 30–40 cm) · Trees: 16–24 in (about 40–60 cm)

Affects total weight and reference price. All-purpose substrate is the most common choice for home gardens.

Reference value by substrate type. Adjust to the quote you received. Enter 0 to skip the cost.

Soil volume needed

5.22cu yd

Area: 214.84 sq ft

Equivalent in 40 L bags

100bags

Approx. total weight: 2.86 short ton

Estimated material cost

$319.37

For 5.22 cu yd at $61.20/cu yd

Area
214.84 sq ft
Soil volume
5.218 cu yd
40 L bags needed
100 bags
Estimated total weight
2.86 short ton
Share

How it works

1

Enter the length and width of the area to fill, in feet.

2

Set the layer depth to match the planting: shallower for lawns, deeper for vegetable beds and shrubs.

3

Choose the soil type. It changes the total weight and the reference density.

Formula

V = C × L × (P ÷ 100) | S = ⌈V × 25⌉ | M = V × d
V — Soil volume, in cubic meters (m³) (1 m³ ≈ 35.3 cubic feet ≈ 1.31 cubic yards)
C — Length of the area, in meters (m) (1 m ≈ 3.28 ft)
L — Width of the area, in meters (m) (1 m ≈ 3.28 ft)
P — Layer depth, in centimeters (cm) (1 cm ≈ 0.39 in)
S — Number of 40-liter bags (40 L ≈ 1.41 cubic feet each), rounded up
M — Total mass, in metric tons (t) (1 t ≈ 2,205 lb): volume × soil density
d — Density in metric tons per cubic meter (t/m³): topsoil ≈ 1.1, universal garden soil ≈ 0.65, peat ≈ 0.45 (1 t/m³ ≈ 1,686 lb per cubic yard)
⌈⌉ — Round up: whole bags are always ordered

How the calculation works

How to calculate garden soil: volume, bags and weight

Filling a garden bed starts with a volume calculation, and the most expensive mistake is underestimating it, especially with bulk topsoil. A second delivery costs as much as the first, and sometimes more, once you add a second delivery charge and the time spent moving the pile twice.

The formula: simple, with one detail that matters

The volume of soil comes from three measurements: length, width and the depth of the layer you are adding. A vegetable bed 16 feet long and 13 feet wide, filled 12 inches deep, needs 16 × 13 × 1 = 208 cubic feet, or about 7.7 cubic yards. Divided into 40-liter bags (about 1.4 cubic feet each), that is about 148 bags.

The calculator's formula is written in metric units (meters, centimeters and metric tons), and the calculator converts feet and inches automatically, so you can enter imperial values directly. The weight follows from the volume and the density of the soil type you select. Heavier soils give a larger total weight for the same volume, which matters when you plan transport and check what your vehicle or site can handle.

The detail most people miss is settling. Loose soil takes up more space than it will after a few rains and a few weeks of use. For bulk topsoil, order a little more than the calculated volume to cover settling. Universal garden soil in bags compacts less, so a small overage is usually enough. Bag counts are always rounded up, because you buy whole bags, and the calculator does the same.

Bags or bulk delivery: which costs less?

The choice depends mostly on volume and site access. For small volumes, bags are the more practical option. They fit in a car or pickup, you can store the leftovers, and you do not need truck access. The cost per cubic yard is higher, though.

As the volume grows, bulk delivery starts to make economic sense. Topsoil from landscape supply yards, quarries and sand and gravel producers arrives by dump truck, and the price per cubic yard is usually well below the bagged equivalent, even after adding the delivery charge. For the vegetable bed above, which needs about 7.7 cubic yards, the difference in cost can be large. Some regional nurseries also sell bulk soil, and some municipalities make excavation fill available to residents who haul it themselves with a trailer or pickup. Before you haul anything, ask your local government whether a permit or rules apply.

Soil types and what to choose

Three categories cover most products sold for home gardens.

Topsoil is taken from natural ground, screened and sometimes enriched with compost. It is the heaviest of the three and usually the cheapest in bulk. It suits large fills, leveling and preparing vegetable plots. Its pH depends on its origin and on the local geology, so test it before planting intensive vegetable beds. A local Cooperative Extension office can advise on soil testing, and ISO 10390 is the international method for measuring soil pH.

Universal garden soil is a blend of peat, perlite, compost and slow-release fertilizer. It is lighter than topsoil, porous and good at holding moisture. It is the most common product for home flower beds, herbs and containers, and the most balanced choice for mixed plantings.

Peat-rich or premium mixes contain more peat and added micronutrients, which makes them the usual choice for acid-loving plants such as blueberries, azaleas and rhododendrons, and for high-yield container growing. For an ordinary garden, the performance gain over universal soil rarely justifies the extra cost. Product names differ between regions, so compare the data sheet (density, pH and nutrient content) rather than the brand.

Depth by planting type

The depth of new soil sets the order quantity directly, so match the layer to what you plant.

  • Seeded lawns: a shallow layer of prepared soil over loosened ground is usually enough. Rolled sod needs a level layer of similar shallow depth.
  • Flower beds, annuals and perennials: a moderate layer gives roots room to grow without reaching compacted native ground.
  • Vegetables: deeper layers, with the most depth for root crops, which need loose soil to develop properly.
  • Shrubs and hedges, such as privet or boxwood: a deep layer of good soil at planting prevents root problems in the first years, especially in heavy clay.

For the specific crops and plants you intend to grow, check depth recommendations with your local Cooperative Extension office.

Urban sites bring a different problem. Brownstone yards in Brooklyn or rowhouse lots in Philadelphia can sit on construction fill, rubble or compacted ground. In those cases, raised beds with wood or block edges are often easier than digging out the base, and a soil test for contaminants is a sensible step before growing food.

Drainage and compaction: what the tables leave out

New soil over existing ground settles over the first months, which is normal. The problem appears when the base does not drain: water collects where the new layer meets the old soil, causing waterlogging and root rot.

On heavy clay, loosen the base with a garden fork or broadfork before adding new soil. You can also mix in coarse construction sand to improve drainage, but use sand from a construction supplier rather than beach sand, which carries salt. On formal beds or sloped ground, geotextile fabric laid on the base keeps the two soils from mixing while still letting water through.

Common mistakes

  • Ordering exactly the calculated volume and running short halfway through the job.
  • Mixing units. Bags are sold by liters or cubic feet, bulk soil is quoted by the cubic yard, and some suppliers quote by weight. Convert everything to one unit before comparing prices.
  • Ignoring weight when planning transport. Topsoil is heavy, and a family car cannot carry a cubic yard of it in one load.
  • Filling deeper than the plants need. Extra depth adds cost and rarely helps shallow-rooted plants.
  • Using beach sand to improve drainage.

When this calculator is not enough

This calculator sizes the material; it does not design the garden. For large projects, steep slopes, automatic irrigation or built-in paving and retaining structures, a licensed landscape architect is often the more economical route over the long term. Ask for proof of licensing before you hire.

The calculator also does not check soil contamination or the load capacity of a balcony, deck or rooftop. Soil is heavy: a raised bed on an elevated surface can exceed the design load, so check with a structural professional before adding significant volume to an elevated surface.

Frequently asked questions

How many 40-liter bags of soil do I need per 100 square feet?

It depends on the depth. For a flower bed 8 inches deep, 100 square feet needs about 2.5 cubic yards, which is roughly 48 bags of 40 liters. At 12 inches, as for a vegetable garden, the same area needs about 3.7 cubic yards, or about 71 bags. Bag counts are rounded up to whole bags. Enter your exact length, width and depth in the calculator to get the figure for your own bed.

What is the difference between topsoil and universal garden soil?

Topsoil is taken from natural ground and sold mostly in bulk. It is the heavier of the two, and it is the cheaper option for large fills, leveling and vegetable plots. Universal garden soil is a blended mix with peat, perlite, compost and slow-release fertilizer. It is lighter, drains more evenly and holds moisture well, which suits flower beds, herbs and containers. For new flower beds, universal soil usually gives faster results. For large lawn or vegetable areas, bulk topsoil is usually the more economical choice.

How much does garden soil cost?

Bulk topsoil delivered by truck is usually cheaper per cubic yard than bagged soil, and the gap tends to grow with volume. Bags are easier to handle and make sense for small beds. Bulk delivery usually becomes the better value as the order grows, even after the delivery charge. Prices vary by region and supplier, so enter the quote you receive from a local landscape supply yard in the price field. The calculator uses only the figure you enter, which keeps the estimate tied to your actual quote.

How deep should soil be for grass seed?

For grass seed, a shallow layer of prepared soil over loosened ground is usually enough, shallower than the layer used for beds or vegetables. Rolled sod needs a level layer of similar shallow depth. On heavy clay or very sandy ground, mix compost into the base soil before adding the final layer. Your local Cooperative Extension office can recommend seeding rates and depths for your region, and the calculator will size the volume once you enter the depth.

Is it better to order bulk soil or buy bags?

For small volumes, bags are easier: they fit in a car or pickup, leftovers keep without fuss, and you do not need truck access. As the volume grows, bulk delivery usually costs less per cubic yard. The main requirement is enough access for a dump truck and a place to drop the pile. Plan that spot before the delivery, since a pile that blocks a driveway or sits on a lawn for days is hard to move.

When should I hire a landscape architect for a garden project?

For simple jobs, such as filling a bed, preparing a vegetable garden or seeding a lawn, this calculator and some research are enough. A licensed landscape architect is worth considering when the project involves grading slopes, automatic irrigation, integrated paving or a large area. A professional helps avoid drainage mistakes, poor plant choices for the climate and long-term maintenance problems. Ask for proof of licensing before you hire.

See all Garden, Outdoor & Water calculators →

By RivoCalc · Reviewed under our editorial methodology · Updated June 11, 2026

These results are planning estimates. Actual volume depends on settling and compaction, and actual weight depends on moisture and the exact product. Confirm density, price and load limits with your supplier before ordering, and never overload a vehicle or a raised surface.