DIY Cost Tools
Compost Calculator
Garden Material Calculator
Compost Calculator
Estimate compost for garden beds or lawn topdressing in cubic feet, cubic yards, whole bags, and half-yard bulk-order increments.
Estimate compost volume
How to use the compost calculator
Measure the length and width of the area, then enter the finished compost depth in inches. Use a shallow value for topdressing or a deeper value when incorporating compost into a new bed. Add an allowance for uneven ground and handling loss. The calculator compares exact volume with whole bags and a bulk order rounded up to a half cubic yard.
Compost volume formula
Cubic feet of compost = length x width x (depth in inches / 12) x allowance factor
Cubic yards equal cubic feet divided by 27. Whole bags are rounded up based on the bag volume. Because many landscape suppliers sell in half-yard increments, the suggested bulk order rounds up to the next 0.5 cubic yard; confirm the actual increment before ordering.
Worked example
A 30-foot by 20-foot garden covers 600 square feet. A 1-inch layer is 50 cubic feet. Adding 10 percent produces 55 cubic feet, or about 2.04 cubic yards. That equals 55 one-cubic-foot bags, while a half-yard supplier increment produces a suggested bulk order of 2.5 cubic yards.
How deep should compost be?
The right depth depends on the soil, crop, compost analysis, and whether the material is used as a surface topdressing or mixed into the soil. University of Minnesota Extension notes that flowers and vegetables may use 1 to 2 inches of compost incorporated into 6 to 8 inches of soil, while lawn topdressing can be much shallower. More is not automatically better; excessive compost can raise phosphorus and salt levels. A soil test is the best starting point.
Accuracy and assumptions
- The area is rectangular; calculate irregular sections separately and add them.
- Depth is treated as uniform across the entire area.
- The extra percentage is applied before purchase quantities are rounded.
- The half-yard result is a purchasing convenience, not a universal supplier rule.
- Compost composition and moisture affect weight, but this calculator estimates volume only.
Frequently asked questions
How many cubic feet are in a cubic yard?
One cubic yard contains 27 cubic feet. A pile 3 feet long, 3 feet wide, and 3 feet high has that volume.
Can I convert compost volume directly to weight?
Not accurately without a measured bulk density. Moisture, feedstock, screening, and compaction can change the weight of the same volume.
Should I round up bagged compost?
Yes. Bags are sold as whole units, so the calculator rounds the count up. Keep the receipt and supplier return policy in mind if you expect unopened leftovers.
Related calculators
Sources and review
Depth guidance and cautions were checked against University of Minnesota Extension resources on compost in garden soil and excess compost and manure. Calculator logic and examples were reviewed by the DIY Cost Tools editorial team on September 28, 2026.
Affiliate disclosure: If you need a wheelbarrow, shovel, or soil test kit, you can compare compost tools on Amazon. We may earn a commission from qualifying purchases at no extra cost to you.