Compost C:N Ratio Explained: Why 25โ30:1 Works
The single number behind every hot, fast, sweet-smelling compost pile โ what it means, where it comes from, and how to hit it with whatever materials you have.
The number behind every good pile
Ask ten gardeners for composting advice and you'll hear "mix greens and browns." The carbon-to-nitrogen (C:N) ratio is what turns that folk wisdom into a number you can actually aim at: about 25โ30 parts carbon to 1 part nitrogen, by dry weight. Hit that window and a well-built pile heats to 130โ150ยฐF within days; miss it badly in either direction and you get the two classic failures โ a stinking ammonia pile or a cold pile that sits there for a year.
It's not magic. It's lunch โ for microbes.
A microbe's-eye view of 30:1
A compost pile is a cafeteria for bacteria and fungi, and like any diners they need a balanced meal. They burn carbon for energy (roughly two-thirds of it leaves the pile as COโ โ that's why a finished pile shrinks so much) and they use nitrogen to build protein for new cells. Decades of composting research converge on the same finding: a starting mix near 30:1 gives microbes energy and building material in the right proportion.
| Mix C:N | What happens |
|---|---|
| Below ~20:1 | More nitrogen than microbes can use โ the excess escapes as ammonia (that sharp smell) and nitrogen is lost to the air |
| 20โ25:1 | Works, but runs hot and can smell if the pile goes anaerobic |
| 25โ30:1 | The sweet spot โ fast heating, minimal odor, good nitrogen retention |
| 30โ40:1 | Slow but steady; fine if you're not in a hurry |
| Above ~40:1 | Microbes run out of nitrogen, the pile stays cool, and decomposition crawls |
Note the asymmetry: too much nitrogen stinks, too much carbon just waits. When in doubt, beginners do better erring toward extra browns.
C:N ratios of common materials
Published values vary by source and condition โ these are the widely cited averages our C:N calculator uses. "Greens" aren't always green and "browns" aren't always brown; what matters is the nitrogen content.
| Material | C:N ratio | Type |
|---|---|---|
| Grass clippings | 20:1 | Green |
| Coffee grounds | 20:1 | Green |
| Cow manure | 20:1 | Green |
| Fruit & vegetable scraps | 25:1 | Green |
| Horse manure | 25:1 | Green |
| Chicken manure | 10:1 | Green (very hot โ use sparingly) |
| Alfalfa hay | 12:1 | Green |
| Dry leaves | 60:1 | Brown |
| Straw | 80:1 | Brown |
| Newspaper / cardboard | 175:1 | Brown |
| Wood chips | 400:1 | Brown (very slow) |
| Sawdust | 500:1 | Brown (very slow) |
Worked example: leaves + grass
The classic autumn pile: 10 lb of grass clippings (20:1, 75% water) plus 10 lb of dry leaves (60:1, 35% water). Ratios are by dry weight, so first subtract the water:
- Grass dry weight: 10 ร (1 โ 0.75) = 2.5 lb
- Leaves dry weight: 10 ร (1 โ 0.35) = 6.5 lb
Mix C:N = total dry weight รท ฮฃ(dry weight รท each C:N) = 9.0 รท (2.5/20 + 6.5/60) = 9.0 รท 0.233 = 38.6:1 โ a bit carbon-heavy, so it'll be slow. Fix it with nitrogen: add about 10 lb of coffee grounds (20:1, 65% water โ 3.5 lb dry). New total: 12.5 lb dry รท (0.233 + 3.5/20) = 12.5 รท 0.408 = 30.6:1 โ right in the sweet spot. (Our calculator does this arithmetic for any mix instantly.)
Troubleshooting: read your pile
| Symptom | Likely cause | Fix |
|---|---|---|
| Ammonia / sharp smell | Too much nitrogen (below ~20:1) | Mix in dry browns โ leaves, straw, shredded cardboard โ and turn |
| Pile won't heat up | Too much carbon, or too dry, or too small | Add greens, water to wrung-sponge dampness, build at least 3ร3ร3 ft |
| Slimy, matted, foul | Too wet + no air (anaerobic) | Add dry browns, turn thoroughly, cover in rainy climates |
| Flies around food scraps | Scraps exposed on the surface | Bury scraps 6+ inches deep under browns |
| Finished compost has wood chips left | Normal โ high-C:N wood outlasts everything | Screen them out and toss them into the next pile |
Don't forget water and air
Ratio is only one leg of the stool. Microbes need moisture around 40โ60% โ grab a handful and squeeze: a few drops should appear, like a wrung-out sponge. And they need oxygen: turn the pile every 1โ2 weeks, or build it with coarse browns (straw, wood chips) that keep air channels open. A perfect 30:1 pile that's bone-dry or compacted will still do nothing.
How do you know it's finished?
Impatience ruins more compost than bad ratios. Finished compost is dark, crumbly and earthy-smelling โ you shouldn't recognize the original materials (a few woody chips are fine; screen them out for the next pile). Three reliable signs:
- Temperature drops back to ambient and stays there even after turning โ the microbes have eaten everything digestible;
- Volume shrinks to roughly a third to a half of the starting pile;
- The bag test: seal a handful in a plastic bag for 3 days. If it smells sour when opened, it's still active โ give it more time.
Unfinished compost can temporarily steal nitrogen from your soil as it keeps decomposing, so don't rush it onto beds. When in doubt, let it cure another 2โ4 weeks โ compost only gets better with patience.
Balance your own pile
Enter your materials by weight โ the calculator handles the dry-weight math and moisture for you.
Frequently asked questions
Why is the ideal compost C:N ratio 25โ30:1?
It matches the microbes' diet: carbon for energy, nitrogen for protein. Below ~20:1 excess nitrogen escapes as ammonia; above ~40:1 the pile stays cool and slow.
What is the C:N ratio of dry leaves?
About 60:1 โ a classic brown. Balance them with nitrogen-rich greens like grass clippings (20:1) or coffee grounds (20:1).
Why does my compost smell like ammonia?
Too much nitrogen (ratio below ~20:1). Mix in dry browns and turn the pile to restore balance and airflow.
Why won't my compost pile heat up?
Usually excess carbon, too little moisture, or a pile smaller than ~3ร3ร3 ft. Add greens, water to wrung-sponge dampness.
Do I measure C:N by weight or volume?
By dry weight. A bucket of fluffy leaves weighs far less than a bucket of grass, and published ratios assume dry matter.