Skip to main content

Compost C:N Ratio Calculator

Balance browns and greens for a hot, fast-finishing compost pile. Enter weights and see your carbon-to-nitrogen ratio plus feedback on what to adjust.

Your Pile

Carbon
Nitrogen
C:N ratio
Rate this tool
0.0 / 5 · 0 ratings

Why the C:N Ratio Matters

Compost microbes need both carbon (energy) and nitrogen (protein) to reproduce and digest organic matter. When the ratio is right — about 25 to 30 parts carbon for every 1 part nitrogen — microbes thrive, the pile heats to 130-160°F within a few days, and the pile finishes in 4 to 8 weeks. Too much nitrogen (ratio below 20:1) produces ammonia gas and a stinky pile that loses the nitrogen you wanted to keep. Too much carbon (above 40:1) and microbes run out of nitrogen, the pile cools, and decomposition stalls.

What Counts as Brown vs Green?

Browns are the carbon-rich, dry, fibrous materials: dry autumn leaves (50:1), straw (80:1), wood chips (400:1), cardboard (350:1), sawdust (500:1), pine needles (80:1), dried grass (80:1), and shredded newsprint (175:1). Greens are the nitrogen-rich, wet materials: fresh grass clippings (20:1), kitchen scraps (15:1), coffee grounds (20:1), fresh manure (15:1 to 25:1 depending on animal), and green plant trimmings (30:1). The classification is about nitrogen content, not color — coffee grounds are dark brown but count as a green.

Simple Rules of Thumb

If you do not want to weigh, use a simple 2 or 3 parts brown to 1 part green by volume. That roughly matches 30:1 because browns are lighter and fluffier. For a hot pile, build all at once to a minimum 3 × 3 × 3 foot cube and turn every 5 to 7 days. For a passive cold pile, just add materials as you have them; it will finish in 6 to 12 months without any intervention. Always moisten dry materials as you build the pile — wring-out-sponge moisture is ideal. Too dry and it won't break down; too wet and it suffocates.

Troubleshooting a Bad Pile

Smells like ammonia: too many greens, add browns and turn. Smells sour or like rotten eggs: too wet and compacted, add dry browns and turn. Does not heat up: either too dry (add water), too small (add mass), too cold (insulate), or too carbon-rich (add greens). Attracts flies or rodents: cover kitchen scraps with browns and keep the pile hot. Finishes with weed seeds still viable: the pile never got hot enough; turn more often and aim for 140°F at the center to kill seeds.

Frequently Asked Questions

Is 30:1 really the ideal?

Yes, for hot aerobic composting. Cold composting works at a wider range, from 20:1 to 50:1.

What ratio are coffee grounds?

About 20:1. They count as greens even though they are brown in color.

Can I compost dog waste?

Not for food gardens. Dog and cat waste can carry pathogens unsafe for vegetable compost.

Do I need a specific pile size?

For hot composting, at least 3 × 3 × 3 feet. Smaller piles cannot retain enough heat.

Should I add compost starter or inoculant?

Unnecessary — a handful of existing compost or garden soil adds all the microbes you need.

Related Calculators

Disclaimer: This calculator is for informational and educational purposes only. Results are estimates and should not be considered professional expert advice. Consult a qualified professional before making decisions based on these calculations. See our full Disclaimer.