Compost Calculator

Measure bed
Next

Use this compost calculator to plan a new raised bed, top-dress an existing garden, or estimate how much raw material to collect before a compost pile settles. Enter bed length, width and depth, then adjust shrinkage, bag size, bulk price and the greens share. The result shows finished compost volume, starting material, bags, bulk cost and a simple green-to-brown split.

How to estimate compost needs

  1. 1

    Measure the bed

    Enter length and width in feet, then choose the compost depth in inches. For irregular beds, split the shape into rectangles and add the results.

  2. 2

    Allow for settling

    Fresh compost and loose mixed ingredients settle as moisture, microbes and turning reduce air gaps. Use shrinkage to estimate the starting volume needed.

  3. 3

    Compare supply options

    Set the bag size or bulk price so the calculator can round bag counts up and estimate the cost of ordering by the cubic yard.

  4. 4

    Balance greens and browns

    Choose the greens percentage for nitrogen-rich material. The remaining volume is treated as carbon-rich browns such as dry leaves, straw or shredded cardboard.

Compost volume, settling and mix planning

The calculator starts with the finished layer you want in the bed:

finished cu ft = length ft x width ft x depth in / 12

It then increases that amount for settling:

starting cu ft = finished cu ft / (1 - shrinkage percent / 100)

That starting volume is useful when you are buying loose compost, opening bags, or blending raw compost materials. Cubic yards are calculated by dividing cubic feet by 27, and bag count is rounded up so you do not run short because of a partial bag.

Worked example

A 12 ft x 4 ft raised bed with a 2 inch compost layer has:

  • Area: 12 x 4 = 48 sq ft
  • Finished compost: 48 x (2 / 12) = 8 cu ft
  • With 25% shrinkage: 8 / 0.75 = 10.67 cu ft starting material
  • Cubic yards: 10.67 / 27 = 0.395 cu yd
  • 1 cu ft bags: ceil(10.67 / 1) = 11 bags
  • At 45 per cubic yard: 0.395 x 45 = 17.78
  • With 35% greens: 3.73 cu ft greens and 6.93 cu ft browns

Typical planning ranges

Situation Compost depth Shrinkage allowance Notes
Existing vegetable bed top-dress 0.25-1 in 10-20% Works well when the compost is already mature and screened.
New vegetable bed amendment 3-4 in 20-35% Mix it into the top 8-12 inches; use a higher allowance for fluffy bagged or homemade material.
Starting a compost batch Pile volume, not bed depth 30-60% Raw leaves, grass and kitchen scraps can lose a lot of volume.
Heavy soil improvement 2-3 in 15-30% Incorporate gently if the goal is soil structure rather than mulch.

Greens and browns

Greens are nitrogen-rich materials such as fresh grass clippings, coffee grounds, fruit scraps and vegetable trimmings. Browns are carbon-rich materials such as dry leaves, straw, wood chips, sawdust in small amounts and plain shredded cardboard. Many gardeners aim for roughly one part greens to two parts browns by volume, then adjust by smell and texture. If the pile smells sour or wet, add browns. If it stays dry and slow, add water and a little more greens.

For purchased finished compost, the greens and browns split is only a planning aid. Finished compost is already decomposed enough to use as a soil amendment, so you normally order by finished volume, texture and quality rather than by raw ingredient ratio. Compost is not a complete raised-bed soil by itself; blend it with mineral soil or a planting mix so roots get structure, drainage and nutrients in balance.

Frequently Asked Questions

For routine top-dressing, about 0.25-1 inch is enough for many existing vegetable beds. Use 3-4 inches when preparing a new bed, then blend it into existing soil or a raised-bed mix rather than filling the bed with compost alone.

Loose compost and raw organic material settle as air gaps collapse and moisture spreads through the pile. A shrinkage allowance helps you start with enough material to reach the finished depth after settling.

A practical volume target is about 30-40% greens and 60-70% browns. The exact balance depends on moisture, particle size and material density, so use the output as a starting point and adjust the pile as it breaks down.

Bags are convenient for small beds, balconies and transport by car. Bulk compost is usually better for larger beds when you have a delivery spot and can move the material before rain compacts it.

No. The measurements are used only to calculate the result for your current session. You do not upload garden plans, photos or location data.

Related Tools