Soil & Yard Free 2027 Kit

Compost Calculator

Find out how much compost you need for a raised bed, a vegetable garden or a top-dressing, in cubic yards or meters, cubic feet and 1 cu ft bags. See a bulk versus bagged cost estimate based on typical US prices.

Depth (inches)

Compost for 8 × 4 ft at 2 in

Cubic yards0.22includes 10% settling and waste
Cubic feet5.87
1 cu ft (40 lb) bags6
Bulk cost (materials)$4–$11$20–$50 per cubic yard, delivery extra
Bagged cost$18–$60$3–$10 per bag

Typical US prices from HomeGuide. Local compost yards and municipal sites are often cheaper.

Embed Compost Calculator

100% neutral, ad-free, and free of retailer links. Paste into your site and keep the attribution link below the iframe. See all widgets.

Compost Needed per 100 Square Feet

DepthCubic feetCubic yards1 cu ft bags
1 inch8.30.319
2 inches16.70.6217
3 inches250.9325
4 inches33.31.2334
Compost volume is bed length times width times the depth of the layer you spread, converted from inches to feet.
Compost volume is bed length times width times the depth of the layer you spread, converted from inches to feet.

The Compost Formula

Compost is a rectangular volume, the same as mulch or soil:

Cubic feet = Length (ft) × Width (ft) × Depth (in) ÷ 12

Cubic yards = Cubic feet ÷ 27

A shortcut from UC Cooperative Extension: area in ft² × depth in inches × 0.0031 = cubic yards. The 10% option adds a settling and waste allowance. Bags are counted as 1 cu ft each, so bags = cubic feet, rounded up.

Cost uses HomeGuide, compost cost: bulk compost is $20 to $50 per cubic yard for materials only, and a 40 to 45 lb bag costs $3 to $10. Delivery and local compost-yard prices differ. We apply the bag price to a 1 cu ft bag.

Example: an 8 ft × 4 ft bed at 2 in deep is 8 × 4 × 2 ÷ 12 = 5.33 ft³, or 0.2 yd³. With 10% allowance, about 5.9 ft³, so 6 bags.

Depth guidance: Washington Department of Ecology, Compost Users Guide suggests a 2 to 4 inch layer mixed into the top 6 to 12 inches for new beds, then ½ to 1 inch each year.

Common Compost Mistakes

  • Using too much at once. Heavy compost layers can leach nutrients. Most established beds need only ½ to 1 inch a year.
  • Planting in pure compost. For raised beds, blend compost into soil. The raised bed soil calculator shows a blend.
  • Forgetting settling. Compost compacts after watering. Keep the 10% allowance on for new beds.
  • Buying bags for a big job. One cubic yard is 27 bags. Past a yard, bulk is usually cheaper.

Frequently Asked Questions

How much compost do I need for a raised bed?
Multiply length × width × depth in feet. An 8 ft × 4 ft bed topped off with 2 inches needs about 5.3 cubic feet, or 6 one-cubic-foot bags with a 10% allowance.
How many bags are in a cubic yard?
A cubic yard is 27 cubic feet, so it equals 27 one cubic foot bags. Buying bulk is usually cheaper once you need more than a yard.
How much does compost cost?
HomeGuide lists bulk compost at $20 to $50 per cubic yard for materials and bags at $3 to $10 each. These are typical US figures. Municipal compost sites can charge less.
How deep should I apply compost?
The Washington Department of Ecology suggests 2 to 4 inches mixed into the top 6 to 12 inches for a new bed, then ½ to 1 inch yearly.
Should I count in metric?
Yes. Switch to metric to enter meters and centimeters. The result shows cubic meters as well as cubic feet.