Topsoil Calculator
A topsoil calculator is a gardening and landscaping tool that determines the amount of topsoil needed to fill a garden bed or cover a lawn. It takes the length and width of a rectangular area in feet, along with a depth entered in either inches or feet, and multiplies them to give the volume in cubic feet and cubic yards. It also estimates the equivalent weight and a bagged count from the volume. Gardeners, landscapers, and homeowners use this tool to budget material costs and coordinate delivery of soil bags or bulk trucks. The result is an order estimate rather than a measurement, because delivered soil settles and compacts.
Pick a project preset (or set a custom depth), enter the area, and the calculator returns cubic yards, an approximate weight, the number of bags, and a side-by-side cost comparison for bag and bulk delivery.
Quick Answer
Calculate the volume and weight of topsoil needed for lawns, gardens, and raised beds. Enter area dimensions and depth to get instant estimates.
Project preset
Mixed flower/vegetable bed: about 8 inches of topsoil.
Area and depth
Depth unit
Bag vs bulk
Common bagged topsoil is 0.75 ft³.
Density assumption
Assumed, not measured. Defaults to 75; blank falls back to it.
Notes
- Weight uses the density above. It is this tool's assumption rather than a measured figure, and the pounds and tons scale directly with it, so a supplier's own number is the better one to enter.
- Bag count is volume based: it divides the cubic feet by the bag size, so the density does not change it. One cubic yard is 27 ft³, which is 36 bags at 0.75 ft³.
- Cubic yards is what bulk soil is quoted in. Suppliers saying "yards" mean cubic yards, not length and not square yards.
This is an order estimate, not a measurement. Delivered soil settles and compacts, so the volume that arrives is not the volume that stays.
Topsoil needed
0.99 yd³
26.67 ft³; about 1 ton
Bag count is rounded up to the next whole bag. Bag cost and bulk cost are shown when both prices are entered so you can pick the cheaper delivery option.
Examples
10 x 4 ft garden bed, 8 in deep
26.67 ft³ · 0.99 yd³ · 36 bags
12 x 4 ft raised bed, 12 in deep
48 ft³ · 1.78 yd³ · 64 bags
20 x 20 ft lawn, 4 in deep
133.33 ft³ · 4.94 yd³ · 178 bags
10 x 4 ft bed, 0.25 in topdress
0.83 ft³ · 0.03 yd³ · 2 bags
How it works
Formula · cubic yards = (length ft x width ft x depth ft) / 27, with a depth given in inches divided by 12 first
Topsoil is a depth-driven calculation. Pick the right depth for your project and the calculator converts area and depth to cubic feet, cubic yards, and weight.
Volume · ft³ = L x W x D
Yardage · yd³ = ft³ / 27
Weight ≈ V (ft³) x 75 lb/ft³. Bag count is ceil(V / bag size).
Working it out by hand
Take one bed and follow it all the way through: 10 feet long, 4 feet wide, 8 inches deep. That is the calculator's own garden bed preset, so you can enter it above and watch every number below appear.
- 1. Put the depth in feet. Length and width are already in feet; the depth is not. Eight inches divided by 12 is 0.667 ft. This single step is where the arithmetic usually goes wrong.
- 2. Multiply for cubic feet. 10 x 4 x 0.667 = 26.67 ft³.
- 3. Divide by 27 for cubic yards. 26.67 / 27 = 0.99 yd³. Bulk soil is sold this way, so this is the number you order with. A bed this size is just under one yard.
- 4. Weight, if you want it. 26.67 x 75 = 2,000 lb, which is 1 ton. The 75 lb per cubic foot is the density field's starting value, an assumption rather than your soil, and the weight moves with whatever you put there.
- 5. Or count bags. At the common 0.75 cubic foot bag, 26.67 / 0.75 = 35.6, rounded up to 36 bags. You cannot buy part of a bag, so the count always rounds up.
Every preset works the same way. Lawn topdressing at 0.25 inches over the same bed is 0.83 cubic feet, a rounding error next to the 8 inch version. The 12 inch raised bed preset is 40 cubic feet, or 1.48 cubic yards. The depth is doing almost all of the work.
The one field with its own unit
Length and width are always in feet on this page. Depth is not, and that asymmetry is the whole trap.
The diagram shows a rectangular garden bed drawn as a box with three labelled measurements. The length runs along the front edge of the bed and is measured in feet. The width runs back from the front edge and is also measured in feet. The depth is marked down the near side of the box and is highlighted, because it is the only measurement on this page that can be entered in either inches or feet. Length and width are always in feet.
- length
- Always feet
- width
- Always feet
- depth
- Inches or feet, your choice
Edge cases, and exactly what this tool does
- Getting the depth unit wrong costs exactly 12x
- Take the same 10 by 4 foot bed. Entered as 8 with the button on inches, it needs 26.67 ft³, which is 0.99 yd³. Entered as 8 with the button on feet, it needs 320 ft³, which is 11.85 yd³. Same typing, twelve times the soil, and a delivery you would be looking at for a long time. If a result seems roughly a dozen times off, check this button first.
- Yards means cubic yards
- Suppliers say three yards of topsoil and mean three cubic yards, a volume. It is not a length and it is not square yards of coverage. The calculator labels its output yd³ for that reason.
- Bags round up, and only up
- The bag count is the volume divided by the bag size, rounded up to the next whole bag. The worked bed above needs 35.6 bags of 0.75 cubic feet, so the calculator says 36. Bag cost follows the rounded count, because that is what you would actually pay, while bulk cost follows the unrounded cubic yards.
- Rectangles only
- The tool multiplies length by width, so it models a rectangle and nothing else. An L-shape can be split into rectangles and added up. A curved border, a circle or a genuinely irregular bed is outside what this estimate covers, and enclosing it in a rectangle will over-order rather than approximate it.
- Empty or non-positive input
- Length, width and depth must each be a positive number. Leave one blank, or enter 0 or a negative, and the result panel reads Cannot compute with the reason Length, width, and depth must be positive. rather than quietly treating the gap as zero and returning a total.
Bags or bulk, as arithmetic
The calculator will compare the two for you if you give it both prices, but the shape of the answer is easy to see. One cubic yard is 27 cubic feet, so at the common 0.75 cubic foot bag that is 27 / 0.75 = 36 bags to make a single yard.
Once a job is a few yards, that is a lot of bags to lift, open and dispose of, which is why bulk delivery tends to take over. Below about a yard the calculation often goes the other way, because a bulk load usually carries a delivery charge and needs somewhere to be tipped. Enter a price in both fields and the page shows the two totals next to each other rather than guessing which you meant.
An order is an estimate, not a measurement
The arithmetic on this page is exact: a box of those dimensions holds that many cubic feet, and you can check every step above by hand. What the arithmetic cannot tell you is how much soil your bed will take once it is real.
Loose soil carries air. It settles, it compacts under watering and foot traffic, and it moves with moisture, so the volume that arrives is not the volume that stays. Ground that looks flat has low spots that only show up once you start spreading. This page deliberately puts no percentage on any of that: the honest range depends on the soil, the site and the handling, and a figure invented here would read as far more precise than it is.
Use the number as what it is, a good starting quantity for an order. Your supplier delivers the same soil in the same conditions every week and can tell you what it usually does.
Your measurements stay in the page
The dimensions and prices you enter are processed by this page in your browser. They are not sent to a server, not stored after you close the tab, and not visible to anyone else. There is no account and nothing to sign up for.
Related bulk-material calculators
- Cubic yard calculator for generic yardage without soil-specific presets.
- Mulch calculator for the layer that goes over the top of a finished bed.
- Sand calculator for the sand cousin, with its own densities and presets.
- Gravel calculator for paths and driveways, where the material is heavier.
- How many cubic feet in a cubic yard for the divide-by-27 step on its own.
- Grass seed calculator for the seeding step after the topsoil is in place.
- All home calculators.
Related Calculators
More tools from Home



