Calculator for Soil Yardage
Calculate soil cubic yards, cubic feet, bag count, and estimated cost for raised beds, topsoil, compost, mulch, and landscaping fill.
What does soil yardage mean?
Soil yardage is the volume of soil measured in cubic yards. Bulk soil, compost, mulch, topsoil, and fill are often sold by the cubic yard because landscaping projects can need much more material than a few small bags. One cubic yard is 27 cubic feet. North Dakota State University Extension uses the same conversion in its material calculations under cubic yard. This calculator turns bed size and depth into cubic feet, cubic yards, and bag counts.
The calculation starts with area. For a rectangle, area is length times width. For a circle, area is π times radius squared. Then the calculator multiplies the area by the fill depth. Because depth is often measured in inches, the calculator converts inches to feet before finding cubic feet. Finally, cubic feet are divided by 27 to get cubic yards.
Extra percentage matters because soil settles, spreads unevenly, and can be lost during delivery or installation. Raised beds may need topping up after watering. Topsoil can compact. Compost can settle as it breaks down. Mulch can look thinner after a few weeks. A small extra allowance helps avoid a second trip or a small patch left unfinished.
Formula and worked example
| Rectangular area | Length × width |
|---|---|
| Volume ft³ | Area × depth in feet |
| Volume yd³ | Cubic feet ÷ 27 |
| Bags | Cubic feet ÷ bag size, rounded up |
| Bed size | 12 ft × 4 ft |
| Depth | 6 inches |
| Extra | 10% |
| Bag size | 1.5 ft³ |
- Area = 12 × 4 = 48 ft².
- Depth = 6 ÷ 12 = 0.5 ft.
- Base volume = 48 × 0.5 = 24 ft³.
- With 10% extra = 26.4 ft³.
- Cubic yards = 26.4 ÷ 27 = 0.98 yd³.
Common mistakes and practical use
The most common mistake is forgetting to convert inches to feet. Six inches is not 6 feet; it is 0.5 feet. Another mistake is measuring the outside of a raised bed without subtracting thick walls or dividers. For large beds, that difference can matter. Uneven ground, slopes, and irregular shapes can also change the real volume.
Use this calculator for raised beds, lawn leveling, garden soil, compost layers, mulch depth, gravel base, fill dirt, and planter boxes. The limitation is that volume does not tell you weight. Wet soil can be much heavier than dry soil, and delivery trucks have weight limits. If you are loading a vehicle or planning delivery access, ask the supplier about weight and moisture conditions.
Limitations and assumptions
This soil yardage estimate assumes an even depth across a simple bed shape. Real ground can be low in one corner, higher in another, or shaped around roots, stones, drains, and edging. Soil also settles after watering, especially in raised beds with compost or loose mixes. If you are filling a deep bed, consider whether you need pure topsoil, compost blend, drainage material, or a layered mix instead of one material throughout.
Buying and delivery notes
For small jobs, bagged soil is easy to move and store, but it usually costs more per cubic foot. For larger beds and landscaping, bulk delivery is often cheaper, but you need a place where the truck can safely unload. Check gate width, driveway strength, overhead wires, and cleanup before ordering. If the supplier sells only half-yard or full-yard amounts, round the calculator result up to the next available delivery size.
Common questions
-
This calculator turns everyday measurements into a useful planning number. It shows the formula, the units used, and a simple result breakdown so you can understand the answer instead of only copying a number. It is best for early planning, shopping, estimating, and checking your manual calculation.
-
Yes, but you should add a sensible allowance before buying. Real projects often need extra material because of trimming, waste, breakage, rounding to package sizes, site changes, or simple measuring mistakes. The calculator gives a clean estimate, then the final order should follow the package size, supplier rule, or installer recommendation.
-
Rounding matters because many everyday items are not sold in exact decimal amounts. Fabric is often bought by the yard, soil by the bag or cubic yard, drinks by the bottle or case, and trim by stock length. The safe approach is usually to round up to the next practical purchase size instead of trying to buy the exact mathematical amount.
-
The most common mistake is mixing units. For example, people enter inches where the calculator expects feet, count only one side when both sides need margin, or forget that a package count is different from a usable count. Always read each label and check whether the input is a length, area, volume, quantity, percentage, or price.
-
A real result can be different because the calculator uses a clear formula and normal assumptions. Your actual result may change because of product size, waste, personal preference, local practice, room shape, manufacturer rules, or the way the work is installed. Use the result as a planning estimate, not as a guarantee.
-
Enter the best measurements you have. If you are measuring a room, wall, quilt, tank, garden bed, or project piece, use a tape measure and write the numbers down before using the calculator. A small measuring error can become a larger buying error when it is multiplied across many pieces or a large surface.
-
The calculator uses feet for length and width, inches or feet for depth, cubic feet, cubic yards, and bag sizes in cubic feet.
-
It can be useful for professionals as a quick check, but it is written for simple everyday planning. A professional may still need job-specific standards, supplier data, code rules, contracts, or client preferences. The value of the calculator is that it makes the formula visible and helps catch obvious mistakes early.