Soil calculator
Bag size from the package label.
Estimate material cost (optional)
Changing the pricing unit clears the unit price. Enter a quote for the newly selected unit.
Compare bulk delivery with bags
Enter both supplier quotes, any bulk minimum and the quantity increment sold. The bulk total includes delivery; the bag total uses the whole-bag result above.
The minimum is applied first, then the payable quantity rounds up to a whole increment measured from zero. For example, 1.1 yd³ needed, a 2 yd³ minimum and 0.5 yd³ increments gives 2 yd³ to buy. If your supplier uses a different ordering rule, confirm the payable quantity directly.
Compare pickup time, unloading, minimum order quantities and unused material before choosing. Tax, labor and other fees are not included.
USD material estimate only; excludes tax, delivery, labor, other project materials and supplier minimums or delivery fees not entered in the comparison above. For bags or boards, match the size in Options. Seed priced per pound does not round up to full packages.
How to use this soil calculator
Multiply length and width in feet by depth in inches, then divide by 12 for cubic feet or 324 for cubic yards.
Round areas: use diameter, not radius
Choose Circle above for a round bed or area. Measure all the way across its center in feet, then enter depth in inches. Cubic yards = π × (diameter ÷ 2)² × depth ÷ 324. For example, a 10 ft diameter circle at 3 inches deep needs about 0.73 cubic yards before extra allowance. Circle covers a full disk. For an empty center, choose Ring and enter both diameters; inside diameter must be smaller than outside diameter. Zero inside diameter gives a full circle.
Under Options, add separate areas to combine circles and rectangles. Measure non-overlapping sections; each can have its own depth. The calculator adds their volumes before applying extra material and rounding bags up.
Example estimate
A 20 × 10 ft area filled 6 inches deep needs 100 cubic feet, or 3.70 cubic yards. At 1 cubic foot per bag, that is 100 bags before extra allowance.
Before you order
Measure the interior space of a raised bed. Soil can settle; ask your supplier about the product and choose an extra allowance that fits the job. Use Options to add areas or adjust extra material.
Refilling raised beds: measure the empty space, not the frame height
Measure inside the bed walls. Choose your intended soil level, allowing for any headspace you want below the rim, then measure down to the existing soil that will remain. That remaining gap is the Depth input above. If you measure target and existing soil heights from the same bottom reference, new fill depth = target height − existing height.
For a reasonably level rectangular bed, cubic feet to add = inside length × inside width × remaining fill depth ÷ 12, with length and width in feet and depth in inches. If the surface is uneven, measure at several points and use a representative depth, or split the bed into sections with different depths. Material you plan to remove does not count as existing fill.
| Bed / inside size | Target / existing | Depth to add | New volume |
|---|---|---|---|
| A: 4 × 8 ft | 12 / 3 in | 9 in | 24 ft³ |
| B: 3 × 6 ft | 10 / 4 in | 6 in | 9 ft³ |
Enter a 4 × 8 ft rectangle at 9 in depth. Under Options, add a 3 × 6 ft rectangle at 6 in depth. Together they need 33 ft³, or about 1.22 yd³, before allowance. Ordering as though both beds were empty would give 47 ft³ and count the existing 14 ft³ again.
If you choose 10% extra, the requirement becomes 36.3 ft³. Set Bag size to 0.75 ft³ for that package: the combined order rounds up to 49 bags, providing 36.75 ft³. Add the allowance once to the combined volume, then round bags up. If a bed already meets its target level, omit it rather than entering a zero-depth area.
These heights and the 10% allowance illustrate arithmetic, not planting depths or a settling factor. Select the soil product and final level for your plants and bed conditions. The volume method and the reason beds may need refreshing are described in University of Illinois Extension's raised-bed gardening guide.
Planning a surface mulch layer too? Use its own footprint and depth in the mulch calculator; do not include that layer in the soil fill twice.
Calculate topsoil for patches with different fill depths
Measure the length, width and actual fill depth of each patch separately. In Options, use Add area for each non-overlapping rectangle. Use the average depth within each patch if it is reasonably even; split an irregular patch into smaller rectangles if the depth varies substantially.
| Patch | Dimensions | Fill volume |
|---|---|---|
| A | 12 × 5 ft at 1 in | 5 ft³ |
| B | 4 × 3 ft at 3 in | 3 ft³ |
The total is 8 ft³, or about 0.30 yd³. If you choose 10% extra, that becomes 8.8 ft³. At 0.75 ft³ per bag, buy 12 bags. An average of 1 and 3 inches across both patches would incorrectly give 12 ft³ before allowance because the patches have different areas.
These depths illustrate the math. Soil uses area and depth; seed uses area and the product label rate. If both patches will be seeded, enter the two rectangles in the grass seed calculator. It uses their combined 72 ft² without the fill depths.
Common soil questions
How much soil fills a 4 by 8 raised bed?
A 4 by 8 foot bed filled 12 inches deep needs 32 cubic feet, or about 1.19 cubic yards. That is 32 one-cubic-foot bags before any settling allowance. Use the inside dimensions and actual fill depth.
How do I convert cubic feet of soil to cubic yards?
Divide cubic feet by 27. For example, 54 cubic feet equals 2 cubic yards. A square-foot measurement alone is not enough: the fill depth is also needed.
Estimate mulch for the surface of your bed separately.