Compost Calculator

By HarvestMath Editors Share:

This compost volume calculator tells you how much compost to buy for a bed, container, or top-dressing job — in cubic feet, cubic yards, bags, and estimated weight. Enter your area and depth to get a straight answer instead of guessing at the garden center.

Compost Calculator

How do you want to enter your area?
Units

The math:

Cubic feet = Area × (Depth ÷ 12) (depth in inches)

Weight (lb) ≈ Cubic feet × 44-50

Cubic feet

5.3

Cubic yards

0.2

Bags (1.5 cu ft)

4

Est. weight

235267

lb (114 kg)

Weight uses an average 44–50 lb per cubic foot for finished compost — actual weight varies with moisture and material.

Part of the Soil & Amendments cluster.

On this page

Get the free Soil & Raised Bed Mix Cheat Sheet

A one-page PDF with the soil, mulch, and fertilizer math from this site — so you don’t have to do it in the store aisle. Emailed once, no follow-up spam.

One email with the PDF. No newsletter list. By signing up, you agree to our Privacy Policy.

How Much Compost Do I Need?

How much compost you need depends on what you’re doing with it. Top-dressing an existing bed or lawn — spreading a thin layer over the surface to feed the soil without digging it in — typically calls for 1 to 3 inches of compost. Mixing compost into new bed soil, by contrast, means blending it through the whole root zone at a much higher proportion: the standard raised bed mix used throughout this site’s soil calculators is 60% topsoil, 30% compost, and 10% perlite or coarse sand for drainage.

A compost bin next to a raised garden bed receiving a layer of finished compost
Top-dressing and mixing in call for very different amounts of compost.

Once you know your target depth, the volume math is straightforward: multiply your area by the depth (converted to feet) to get cubic feet, then convert to cubic yards or bags depending on how you’re buying it. The calculator above does this for any area and depth, and also estimates the weight of what you’re hauling — useful if you’re the one carrying the bags or filling the wheelbarrow.

One practical note: compost settles after it’s spread, especially if it’s not fully finished or if it’s watered in heavily. Buying the exact calculated amount with zero margin can leave you slightly short a few weeks later — see Common Mistakes below.

What Can (and Can’t) Go in Compost

A working compost pile needs a rough balance of “greens” (nitrogen-rich material like vegetable scraps, coffee grounds, and fresh grass clippings) and “browns” (carbon-rich material like dry leaves, cardboard, and straw). A commonly cited starting ratio is roughly 2 to 3 parts browns for every 1 part greens by volume — too many greens and the pile turns slimy and smells like ammonia; too many browns and it barely breaks down at all. You don’t need to measure precisely, just keep adding browns whenever you add a load of kitchen scraps.

A few things are generally kept out of a home compost pile. Meat, eggs, and dairy attract rodents and other pests, produce strong odors as they decompose, and carry a higher risk of pathogens that a backyard pile’s heat usually isn’t sustained or high enough to fully neutralize — industrial composting facilities can process these safely because they maintain much higher, more consistent temperatures than a home bin. Ash is a subtler problem: even a modest amount pushes the pile’s pH sharply alkaline, which can slow down the microbes doing the actual decomposing, and charcoal or coal ash specifically can carry residues that are harmful to plants. A light dusting of plain wood ash is sometimes tolerated, but it’s easy to overdo, so most guides simply recommend leaving ash out of the pile entirely and using it elsewhere in the garden if at all.

Diseased plant material and anything treated with pesticide or herbicide are also worth keeping out — a home pile usually won’t get hot enough to reliably kill plant pathogens or break down chemical residues, and either one can end up right back in your garden bed.

Worked Example

Say you’re top-dressing a 4 × 8 ft raised bed with a 2-inch layer of compost.

  1. Area: 4 ft × 8 ft = 32 sq ft.
  2. Cubic feet: 32 × (2 ÷ 12) = ~5.3 cu ft.
  3. Cubic yards: 5.3 ÷ 27 = ~0.2 cu yd (most suppliers round this up to a 1/4 yard minimum delivery).
  4. Bags: at 1.5 cu ft per bag, 5.3 ÷ 1.5 = 4 bags (rounded up).
  5. Estimated weight: 5.3 cu ft × 44-50 lb/cu ft = ~235-267 lb (about 107-121 kg).

So a 4×8 bed at a 2-inch top-dressing needs roughly 4 bags of compost, weighing somewhere around a quarter ton total — worth knowing before you decide whether to haul it in bags or have it delivered loose by the yard. The calculator above runs this same math instantly for any bed size, depth, or bag size.

Common Mistakes

  • Using unfinished (“hot”) compost. Compost that’s still actively decomposing generates heat and can tie up nitrogen or release compounds that burn tender roots. Finished compost is dark, crumbly, and smells earthy, not sour or ammonia-like — if it still looks like recognizable food scraps, give it more time.
  • Wrong greens-to-browns ratio. A pile that’s too heavy on greens turns anaerobic and smells bad; too heavy on browns and it stalls out. If your pile smells off or isn’t breaking down, adjust the ratio before adding anything else.
  • Not accounting for settling. Fresh compost settles as it beds in and water works through it, so a layer that looked like 2 inches on delivery day can settle to noticeably less within a few weeks. Buying 10-15% extra covers this without much added cost.
  • Over-applying. More compost isn’t automatically better — piling on several inches every season can throw off soil nutrient balance and, in containers, crowd out the mineral component the roots also need. Stick to the recommended depth for the job you’re actually doing.

Want the cheat sheet? A one-page PDF of the math from this site, emailed once.

No spam. See Privacy Policy.

Compost Calculator FAQ

How much compost do I need?

Multiply your area by your desired depth: for top-dressing, 1-3 inches over the area is typical; for mixing into new bed soil, plan on roughly 30% of the total soil volume. Enter your dimensions into the calculator above for exact cubic feet, cubic yards, bags, and weight.

Why shouldn’t you put ash in compost?

Ash — especially in more than a light dusting — pushes compost pH sharply alkaline, which can slow down the microbes that do the actual decomposing. Charcoal or coal ash is worse: it can carry residues that are outright harmful to plants. A thin sprinkle of plain wood ash is sometimes tolerated, but it’s easy to overdo, so most guides simply leave it out of the pile.

Why can’t you compost meat, eggs, or dairy?

They break down slowly in a home compost pile, attract rodents and other pests, and produce strong odors while they do it. Home piles also rarely reach the sustained high heat that industrial composting operations use to safely process animal products. Stick to plant-based scraps and yard waste for a backyard bin.

How much does compost weigh?

Finished compost weighs roughly 44-50 lb per cubic foot on average, though moisture content and material swing that number meaningfully — wetter compost is heavier. The calculator above converts your volume into an estimated weight range automatically.

How much compost should I mix into raised bed soil?

The standard raised bed mix is 60% topsoil, 30% compost, and 10% perlite or coarse sand, per the ratio used throughout this site’s soil calculators. At minimum, aim for 25-30% compost by volume so the bed holds moisture and feeds plants without compacting.

Want the cheat sheet? A one-page PDF of the math from this site, emailed once.

No spam. See Privacy Policy.

Sources & further reading

Volume and bag-count formulas here draw on Texas A&M AgriLife Extension’s “How Much Compost, Soil or Mulch?” guide. For more on how we build and verify the formulas behind every calculator on this site, see our methodology page.

Last updated: July 9, 2026.