Pea Gravel Calculator
Estimate pea gravel for walkways, patios and play areas.
Coming soonUse this topsoil calculator to work out how much topsoil or garden soil you need for a lawn, a garden bed or a raised bed. Pick the shape of the area, enter its measurements and the depth of soil, then press Calculate. You will see the volume in cubic yards and cubic feet, plus a suggested order amount or the number of bags, and the results update as you change values. For a raised bed, the depth is the height of soil in the bed. Results are estimates for planning.
Enter the measurements and depth, then press Calculate to see your results.
Volume needed
Recommended order amount
cubic yards ( cubic meters)
Rounded up to the next 0.25 cubic yard.
Estimated bulk cost:
Bags needed
bags
Rounded up to whole bags.
Estimated bag cost:
Start with the area of the shape. US mode uses feet and square feet; Metric mode uses meters and square meters.
US: cubic feet = area × depth in inches ÷ 12 × quantity × (1 + extra ÷ 100)
Metric: cubic meters = area × depth in cm ÷ 100 × quantity × (1 + extra ÷ 100)
A depth entered in feet is converted to inches first (× 12), and a depth in meters to centimeters (× 100).
Cubic yards = cubic feet ÷ 27, and 1 cubic foot ≈ 0.0283168 cubic meters (exactly 0.3048³ m³).
Bags = cubic feet ÷ bag size in cubic feet, rounded up to a whole bag
The order amount is the cubic yards rounded up to the next quarter yard. We divide by 27 because one cubic yard is 3 ft × 3 ft × 3 ft.
A raised bed. A bed measures 8 ft × 4 ft inside and will be filled with soil 12 inches (1 ft) high. (12 inches is just an example.)
A lawn area. A lawn area measures 30 ft × 20 ft and will get a 4 inch layer of soil. (4 inches is just an example.)
The deeper you spread soil, the less ground it covers. This table shows the area covered by one cubic yard and by one bag of each size at each depth.
| Depth | Per yd³ | 0.75 cu ft bag | 1 cu ft bag | 1.5 cu ft bag |
|---|---|---|---|---|
| 1 in | 324 | 9.0 | 12.0 | 18.0 |
| 2 in | 162 | 4.5 | 6.0 | 9.0 |
| 3 in | 108 | 3.0 | 4.0 | 6.0 |
| 4 in | 81 | 2.3 | 3.0 | 4.5 |
| 6 in | 54 | 1.5 | 2.0 | 3.0 |
| 8 in | 41 | 1.1 | 1.5 | 2.3 |
| 12 in | 27 | 0.8 | 1.0 | 1.5 |
These depths come from university extension publications. Enter the one you choose into the calculator above. We have not listed depths for garden beds in the ground or for top-dressing an established lawn, because we could not confirm them from a source we can read and name. Check with your local extension office for those.
| Use | Depth | Source |
|---|---|---|
| New lawn (topsoil) | A minimum of 4 to 6 inches, firmed or settled depth | Penn State Extension, Lawn Establishment (updated September 2025) |
| Covering sown grass seed | Only about ¼ to ½ inch of topsoil or good-quality finished compost | University of Maryland Extension, Starting a New Lawn (updated March 2026) |
| Raised bed on a hard surface | At least 8 inches deep for leafy greens, beans and cucumbers; 12 to 24 inches deep for peppers, tomatoes and squash | University of Maryland Extension, Growing Vegetables in Raised Beds (updated March 2026) |
| Raised bed (most vegetables) | A soil-and-organic mix about 8 inches deep is described as sufficient for adequate rooting of most vegetable plants | Oregon State University Extension, Raised bed gardening (FS 270, reviewed 2024) |
For a raised bed, remember that the depth you enter is the height of soil in the bed. A bed with 12 inch sides filled to the top has a depth of 12 inches (1 ft), but a bed filled only partway has a smaller depth.
Topsoil and garden soil are commonly sold in 0.75, 1 and 1.5 cubic foot bags. We read these sizes on product pages, for example theScotts Premium Topsoil 0.75 cu. ft., theMiracle-Gro Garden Soil All Purpose 1 cu. ft.and theMiracle-Gro Organic Raised Bed & Garden Soil 1.5 cu. ft.Sizes vary by brand and store, so check the bag you are buying.
Enter the height of soil you want in the bed, measured from the bottom of the bed to the top of the soil. Depth in feet is handy here: a bed filled to 1 foot deep is 1 ft. Pick the shape of the bed (usually Rectangle), enter its inside length and width, and enter the soil height as the depth.
A cubic yard is 27 cubic feet, so it takes 36 bags of 0.75 cubic foot, 27 bags of 1 cubic foot or 18 bags of 1.5 cubic foot soil. Check the size printed on the bag, because it varies by brand and product.
Penn State Extension says a new lawn typically needs a minimum of 4 to 6 inches (firmed or settled depth) of good-quality topsoil. For a 1,000 square foot lawn that is about 12.3 to 18.5 cubic yards if the whole depth has to be brought in. Enter your lawn's area and the depth you choose in the calculator above.
It depends on the crop and on what is under the bed. University of Maryland Extension says raised beds placed on hard surfaces are fine if they are at least 8 inches deep for leafy greens, beans and cucumbers, and 12 to 24 inches deep for peppers, tomatoes and squash. Oregon State Extension describes a soil-and-organic mix about 8 inches deep as sufficient for adequate rooting of most vegetable plants.
University of Maryland Extension (Building Raised Beds for Vegetable Gardening, updated November 2023) says to fill the bed with a mixture of compost and garden soil, or purchased topsoil, in a 1:2 or 1:1 ratio. This calculator works out the total volume that fills the bed, so use it for the whole mix and then split that volume between compost and soil using the ratio you choose.
This calculator gives volume in cubic yards, not weight. Soil weight per cubic yard varies with the type of soil and how wet it is, and we do not have a reliable published figure to offer. Ask your supplier for their weight per cubic yard, then multiply it by the order amount.
Loose soil settles after it is placed and watered. Penn State Extension states its new-lawn depth as firmed or settled depth. The extra material allowance, under More options, adds whatever percentage you choose. We do not suggest a specific figure.