Topsoil Calculator
Estimate topsoil volume, cubic yards, cubic feet, cubic meters, bag quantity, and optional material cost for garden beds, lawns, raised areas, and landscaping projects.
Results
Topsoil estimates are approximate. Actual needs can vary because of soil settling, compaction, grading, slope, uneven ground, existing soil level, bed shape, and supplier bag or bulk-yard fill accuracy.
Topsoil Calculator
The Topsoil Calculator estimates the volume of soil for a rectangular area or multiple same-size areas. Enter the length, width and added depth, then specify how many identical areas you have. You can also enter an optional extra allowance, bag size and price per bag.
Results include cubic yards, cubic feet and cubic meters, along with an estimated bag count and optional bag cost. Treat them as planning estimates, not guarantees of the delivered amount or finished grade. Measure the area that actually needs soil, then check the result against the product and supplier terms.
Table of Contents
What the calculator estimates
The tool is suited to rectangular areas such as a lawn section, garden bed or raised bed. It can also estimate several areas when they have the same dimensions and depth. Results include the area, volume before and after any extra allowance, bag count and the bag size used.
Length and width can be entered in feet or meters. Depth can be entered in inches, centimeters, feet or meters. Bag size can be entered in cubic feet, cubic yards or liters. The calculator displays volume in cubic yards, cubic feet and cubic meters.
The optional price field is for a price per bag. It is not a bulk-price calculator. The tool does not assess soil quality, plant suitability, delivery access, truck capacity or whether a proposed grade is appropriate.
How to use the Topsoil Calculator
Measure the part of the site that will receive soil. Enter its length and width, select the units, and enter the average additional depth. The depth should describe how much soil you plan to add, not the total depth of soil already in place.
If you have multiple areas with identical dimensions and depth, enter their number. If their sizes or depths differ, calculate them separately and add the volumes. A single average can conceal substantial differences between sections.
Enter an extra allowance only if you have a reason to include one, such as supplier advice or known site and handling conditions. Enter the volume of the bag you plan to buy. To request a bag-cost estimate, enter the price per bag; leave the field blank if you do not know the price or are buying in bulk.
Select Calculate to view the estimate. In testing, leaving the required length blank produced the message “Enter the area length.” Other validation cases were not tested. The Reset button is present, but its behavior was not tested.
Understand the volume calculation
The basic calculation is volume = area × added depth. For a rectangle, area = length × width. Make sure the units are compatible. For example, when length and width are in feet, convert the depth to feet before calculating cubic feet.
To convert a depth in inches to feet, divide by 12. Six inches is 6 ÷ 12 = 0.5 feet. Then multiply length × width × depth in feet to get volume in cubic feet.
To convert cubic feet to cubic yards, divide by 27. To convert cubic feet to cubic meters, divide by approximately 35.315. These conversions express the same volume in different units; they do not change how much soil the project needs.
Tested example: 20 feet by 8 feet at 6 inches deep
Suppose a rectangular bed is 20 feet long and 8 feet wide, and needs 6 inches of additional soil. Its area is 20 × 8 = 160 square feet. Convert the depth: 6 ÷ 12 = 0.5 feet. The base volume is 160 × 0.5 = 80 cubic feet.
In a live test, the calculator was set to one area, a 10% allowance and a 1.5-cubic-foot bag size. It displayed 80 cubic feet of base volume plus 8 cubic feet of extra volume, for 88 cubic feet total. It also showed 3.259 cubic yards, 2.492 cubic meters and 59 bags. Since no bag price was entered, the cost result was a dash.
| Calculation | Result |
|---|---|
| Area | 20 ft × 8 ft = 160 ft² |
| Depth | 6 in ÷ 12 = 0.5 ft |
| Base volume | 160 ft² × 0.5 ft = 80 ft³ |
| 10% allowance | 8 ft³ |
| Volume with allowance | 88 ft³, or 3.259 yd³ |
| Bags at 1.5 ft³ each | 59 bags displayed |
A tested metric example
The calculator was also tested with a 5-meter length, a 3-meter width and a 15.24-centimeter depth. The inputs included one area, a 10% allowance and a 1.5-cubic-foot bag size. It displayed a 15-square-meter area, a base volume of 80.729 cubic feet and 8.073 cubic feet of extra volume. The final results were 88.8 cubic feet, 3.289 cubic yards, 2.515 cubic meters and 60 bags.
When the length was changed from 5 meters to 10 meters and the other inputs were left unchanged, the displayed totals doubled to 177.6 cubic feet, 6.578 cubic yards and 5.029 cubic meters, with 119 bags. These are observed examples, not a test of every possible input, unit combination or rounding case.
Estimate bags and cost carefully
Bag count depends on the total volume and the volume stated on each bag, not its weight. The general calculation is total volume ÷ volume per bag. If the result is fractional and bags are sold individually, round up to the next whole bag. For example, 16.4 bags means you would need 17 complete bags.
In the tested example, 88 cubic feet ÷ 1.5 cubic feet per bag is about 58.7, and the calculator displayed 59 bags. The count can change with the package size, allowance and volume printed on the label. Two bags with the same weight do not necessarily contain the same volume, so check the package rather than estimating from weight.
The calculator has a price-per-bag field, but bag pricing was not tested. Any cost displayed after entering a price should be treated as an estimate based on that input. Delivery, taxes and other fees may need to be considered separately. For bulk material, use the volume estimate to request a supplier quote.
Choose an allowance based on the project
An extra allowance increases the base volume. In the tested example, a 10% allowance added 8 cubic feet to the 80-cubic-foot base volume. The calculator showed this additional amount separately from the base volume.
There is no single allowance that fits every project. Settling and handling depend on the material and how it is placed. Uneven ground or changing grades may call for separate measurements rather than a larger allowance applied to the whole area. Ask the supplier whether its guidance applies to the specific product and project.
Avoid adding extra material automatically. If the final elevation matters, measure carefully and ask the supplier how the material is expected to behave. An allowance cannot make up for an inaccurate depth estimate.
Handle irregular areas and changing depths
For an L-shaped bed, curved lawn or other irregular area, divide the space into simple sections, such as rectangles or triangles. Calculate each section and add the volumes. The calculator uses length-and-width inputs to represent rectangular areas, so using the longest overall dimensions for an irregular site may overestimate the amount.
If one part of a lawn needs 1 inch of soil and another needs 4 inches, calculate each zone separately. Applying the deeper measurement across the whole area can substantially overstate the order. When the depth changes significantly, separate calculations are more useful than one rough average.
For a raised bed, use the inside length and width because they describe the space to be filled. If another material occupies part of the bed, estimate only the volume that will contain topsoil or planting mix.
Volume is not weight, and soil products differ
The tested calculator results included volume, bag count and an optional bag-cost estimate; they did not include a weight result. Volume alone is not enough to determine soil weight. Density varies with the material, moisture and compaction. If weight affects delivery or cost, ask the supplier for information about the actual product and confirm any truck payload limits.
Products called screened topsoil, garden soil, compost blend, planting mix or fill dirt can differ in texture, organic matter, drainage and intended use. A volume estimate cannot determine which product is right for a lawn, garden or grading project. Check the product specifications and intended use rather than treating these materials as interchangeable.
A thin compost layer used as a surface amendment and soil used to fill a deep bed may be different materials for different purposes. Calculate them separately if they are distinct products or layers. For planting and grading, suitable material and depth matter as much as the volume calculation.
Check site conditions before ordering
A correct volume calculation does not guarantee the desired grade. Existing elevations, slopes and uneven ground can change how much soil is needed. Measure several points where appropriate, and seek grading advice for substantial or complex elevation work.
Adding soil can affect drainage and clearances around buildings, paved areas and retaining walls. Check that the planned level will not direct water toward a structure or cover important openings. Take particular care around established trees; substantial soil added near roots or the trunk flare may require site-specific guidance.
Plan where the soil will be unloaded and how it will reach the work area. For a large order, check truck access, the unloading location and the supplier’s delivery limits. These details are outside the calculator’s estimate, but they can affect the order and delivery plan.
Before you place the order
Use this checklist to review the estimate:
Confirm the measurements describe the area that needs soil, not the entire property.
Check that the depth is the additional depth required and that the units are correct.
Separate areas with different dimensions or depths, then add their volumes.
Confirm the bag volume from the package, or the bulk unit used by the supplier.
Use an allowance only when it is justified by the material, site conditions or supplier guidance.
Ask about product suitability, delivered volume, weight limits and delivery charges when relevant.
Treat the result as a planning estimate. Site variation and material handling can make the actual order differ.
Frequently asked questions
How do I calculate how much topsoil I need?
For a rectangle, multiply length by width to find the area, then multiply the area by the additional soil depth. Convert the depth to compatible units first. For dimensions in feet, convert inches to feet by dividing by 12.
How many cubic yards are in 88 cubic feet?
Divide cubic feet by 27: 88 ÷ 27 is about 3.259 cubic yards. That is the total shown in the tested example after its 10% allowance.
Does the calculator include extra soil for settling?
You can enter an extra allowance percentage, and the calculator displays additional volume. It does not determine what percentage is appropriate. Use project conditions and supplier advice rather than assuming one allowance works for every soil.
How does the calculator estimate the number of bags?
It compares the total volume with the bag volume entered. For a purchase, round a fractional result up to a whole bag. Check the product’s stated volume; bag weight alone does not reliably show how much space the soil occupies.
Can I use the calculator for an irregular garden?
The calculator represents an area using length and width, so it is suited to rectangular sections. Divide an irregular area into simpler sections, calculate each volume and add the results. Calculate areas with different depths separately.
Does the calculator tell me how much the soil weighs?
A weight result was not present in the tested outputs. Soil weight depends on the material, moisture and compaction. If weight matters for delivery or cost, ask the supplier about the specific product.
Can I calculate the cost of bulk topsoil?
The optional price input is for a price per bag. Bulk pricing was not tested, and the field is not described as a bulk-price input. Use the volume estimate to request a supplier quote, including delivery and other charges.
Is topsoil the same as garden soil or compost mix?
Not necessarily. Products can differ in composition, texture, drainage and intended use. The calculator estimates quantity; it does not determine whether a particular product is suitable for your project.
