Library · Substrate & soil

Compost C:N Calculator.

What this is
Calculator
Domain
Substrate & soil
Cost
Free — no account
Use
In the browser, or embed

Compost C:N Calculator

Hot compost needs a 25:1 to 35:1 carbon-to-nitrogen ratio. Pick your feedstocks, set quantities, and the calculator finds the blend.

Build a pile

Why C:N matters

The microbes that break down organic matter into compost need both carbon (energy) and nitrogen (protein for building bodies). Their preferred diet is roughly 25-30 parts carbon to 1 part nitrogen by weight.

C:N ratioWhat happens
15:1 or lowerToo much N; pile reeks of ammonia; nitrogen lost as gas; slow decomposition. Add carbon-rich "browns".
20:1 to 25:1Decomposes fast but burns through N; less stable end product.
25:1 to 35:1Sweet spot. Heats to 130-160°F. Decomposes in 30-90 days. Rich, stable end product.
40:1 or higherToo much carbon; pile won't heat; takes years; finished compost may temporarily tie up soil N. Add "greens".

Typical feedstock C:N values

Greens (high N)C:NBrowns (high C)C:N
Fresh grass clippings15-20:1Wood chips (fresh)300-500:1
Vegetable / fruit scraps15-25:1Sawdust300-700:1
Coffee grounds20:1Cardboard350:1
Manure (cow)20:1Newspaper175:1
Manure (chicken)7:1Straw75:1
Manure (horse)25:1Dry leaves (oak)60:1
Garden weeds (green)20-30:1Pine needles80:1
Alfalfa hay12:1Hay (older / dry)25-40:1
Comfrey leaves10-15:1Corn stalks (dry)60-75:1
Seaweed19:1Peat moss60:1

Hot composting checklist

  1. C:N ratio 25-35:1. The calculator above gives you this.
  2. Pile size at least 1 cubic yard (3' × 3' × 3'). Smaller piles can't retain heat.
  3. Moisture 50-60%. Squeezed handful drips a few drops; wrings out otherwise.
  4. Aeration. Turn the pile every 7-14 days OR build with passive aeration channels (perforated PVC, pallets at base).
  5. Particle size variety. Mix coarse (structure for air) and fine (surface area). All-fine = compacted; all-coarse = dries out.
  6. Temperature monitoring. Pile thermometer. Target 130-160°F sustained for 3+ days to kill weed seeds and pathogens.
  7. Curing. After hot phase ends (~30 days for a turned pile), let mature for another 30-90 days at ambient temperature before using.

Method comparison

MethodTimeEffortPathogen kill?
Cold pile (just dump it)1-3 yearsLowestNo (cool temperatures)
Standard hot pile (turn weekly)2-4 monthsModerateYes if thermophilic phase reached
Berkeley method (turn every other day)14-21 daysHighYes
Vermicompost (worm bin)2-4 monthsModerateNo (mesophilic worms; not hot)
Bokashi (anaerobic ferment)2-3 weeks ferment + 4 weeks soil buryLowNo (no heat)
Static aerated pile (forced air)1-3 monthsSetup-heavy, run-easyYes

Free under CC BY 4.0. Cite as "OAT Compost C:N Calculator (openagriculturetechnology.com)". Feedstock C:N ratios from Cornell Composting Resources and standard composting literature.