A garden topsoil calculator works out the volume of topsoil you need to cover a given area to a chosen depth. You enter the length and width of your garden bed or lawn in feet (or meters) and the depth you want in inches (or centimeters), and it returns the volume in cubic yards and cubic feet (or cubic meters). This lets you order the right amount of soil in one go, avoiding both shortfalls and costly surplus.
Formula
The calculator uses the basic volume formula for a rectangular prism:
Volume (yd³) = (Length × Width × Depth) / 324
Where:
- Length (l) – the length of the area in feet
- Width (w) – the width of the area in feet
- Depth (d) – how deep you want the topsoil layer in inches
The divisor 324 converts cubic feet to cubic yards. Since there are 27 cubic feet in a cubic yard and you are measuring depth in inches (12 inches per foot), the math is: 27 × 12 = 324. So the formula in words is: multiply the three dimensions, then divide by 324 to get cubic yards.
For cubic feet, the formula is simply Length × Width × Depth ÷ 12, because you are converting inches to feet.
Worked Example
Using the default values from the calculator: a lawn 40 feet long, 25 feet wide, and a topsoil depth of 3 inches.
- First, find the area: 40 ft × 25 ft = 1,000 ft²
- Convert depth to feet: 3 in ÷ 12 = 0.25 ft
- Volume in cubic feet: 1,000 ft² × 0.25 ft = 250 ft³
- Convert to cubic yards: 250 ft³ ÷ 27 = 9.26 yd³
The calculator rounds to two decimals, giving 9.26 cubic yards (and 250.0 cubic feet). This matches the output exactly.
When to Use a Topsoil Calculator
You need a topsoil calculator in several common situations:
- New garden beds – building a raised bed or converting a lawn area into a planting bed requires a measured layer of quality topsoil.
- Leveling a lawn – filling low spots or adding a thin layer over an existing lawn to smooth it out (often called topdressing).
- Laying new sod – sod needs a few inches of good soil underneath to root into.
- Vegetable gardens – most vegetables thrive in 6–12 inches of loose, fertile soil.
In all these cases, the calculator gives you the volume you need to order, whether you buy soil in bulk (by the cubic yard) or in bags (usually measured in cubic feet).
How to Choose the Right Depth
The depth you enter is the single most important factor. Here are typical depths for different uses:
- Topdressing an existing lawn: ¼ to ½ inch
- New grass seed over bare soil: 4–6 inches
- New sod: 4–6 inches (some sources say 6 inches for best results)
- Flower beds and shrubs: 6–12 inches
- Vegetable gardens: 8–12 inches, or more if using raised beds
If you are unsure, a 6-inch depth is a safe middle ground for most planting. But always check the specific needs of the plants you are growing. For a new lawn, 4 inches is often the minimum recommended.
Common Mistakes and How to Avoid Them
Several errors can throw off your calculation:
- Mixing units – If you measure length in feet but depth in inches, you must convert one to the other. The calculator does this automatically, but if you do it by hand, always convert inches to feet (divide by 12) before multiplying.
- Forgetting to convert to cubic yards – Suppliers often sell in cubic yards, so if you calculate in cubic feet, divide by 27.
- Ignoring compaction – Topsoil settles after being spread and watered. It is wise to order 10–15% extra to account for this, especially for deeper layers.
- Measuring irregular shapes incorrectly – For an L-shaped or curved bed, break it into rectangles and add the volumes, or use the average width and length for a rough estimate.
Also, remember that topsoil is sold by volume, not weight. A cubic yard of dry topsoil weighs about 2,000–2,700 pounds depending on moisture and composition, but you order by volume, so the calculator is correct.
Bulk vs. Bagged Topsoil
Once you have your volume, you need to decide how to buy. Bulk topsoil is delivered by truck and is the cheapest option for large areas. It is measured in cubic yards. Bagged topsoil is sold at garden centers in bags typically containing 0.75 or 1.0 cubic feet. If you are covering a small area, bags are convenient, but they cost much more per cubic foot.
To convert your cubic yard figure to bags: multiply by 27 to get cubic feet, then divide by the bag size. For example, 9.26 yd³ × 27 = 250 ft³. If using 1-cubic-foot bags, you need 250 bags. If using 0.75-cubic-foot bags, you need 250 ÷ 0.75 = 333.3 bags, so you would round up to 334. The calculator above gives you the cubic feet, so you can do this quickly.
Limitations of the Formula
This calculator assumes a perfectly rectangular area with a uniform depth. Real gardens have slopes, curves, and existing vegetation that affect the actual amount needed. For a sloped area, you may need more soil to achieve a level surface. For a bed with existing plants, you might only be filling around them, so you need less. The formula also does not account for soil compaction – fresh topsoil settles, so you will need more than the calculated volume to end up at the desired depth after watering. A common practice is to order 10–15% extra, or to spread the soil slightly higher than the target and let it settle.
Frequently Asked Questions
How deep should topsoil be for a new lawn?
For a new lawn from seed or sod, a depth of 4–6 inches is generally recommended. This gives grass roots enough room to establish and access nutrients and water. Less than 4 inches may cause the lawn to dry out quickly and struggle.
How many cubic feet are in a cubic yard of topsoil?
There are 27 cubic feet in one cubic yard (3 feet × 3 feet × 3 feet). This is the standard conversion used by suppliers and in the calculator formula.
Can I use topsoil to level my existing lawn?
Yes, but only a thin layer – about ½ inch or less – is safe to spread over an existing lawn without smothering the grass. For deeper leveling, it is better to remove the grass first or use a sand/soil mix that allows water and air to pass.
Should I order extra topsoil?
Yes, it is wise to order about 10% more than the calculated volume. Topsoil compacts when watered and settles over time, so you will likely need a bit extra to reach your target depth. It also covers measurement errors and irregular shapes.
What is the difference between topsoil and garden soil?
Topsoil is the natural upper layer of soil, often screened and sold in bulk. Garden soil is a blend of topsoil with compost or other organic matter, designed for planting beds. For filling large areas or leveling, plain topsoil is usually cheaper; for raised beds and containers, garden soil or a specific mix is better.
Related
Formula used
in l | Lawn length | ft | 40 | 0 | 100000 in w | Lawn width | ft | 25 | 0 | 100000 in d | Depth | in | 3 | 0 | 120 out yd | Volume | yd³ | l * w * d / 324 | 2 out ft3 | Volume | ft³ | l * w * d / 12 | 1
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More in this bed
- Calculate Mulch Coverage: Cubic Yards & Bags9.26 yd³
- Order Mulch Cubic Yard? How Much to Buy9.26 yd³
- Soil Ratio Succulent Plants: The Right Mix2.0 cups
- Paver Sand Calculator: How Much Sand Do You Need?9.26 yd³
- 50 lb Pea Gravel Coverage: Square Feet9.26 yd³
- How to Calculate Bags of Sand for a Patio Base166.7 ft³