Compost C:N ratio calculator
Enter the weight of each ingredient (any unit, as long as it is the same for all). The calculator gives the mix C:N ratio and moisture, and suggests how much leaves or grass to add to reach your target.
Calculator
Results appear here.
How to use it
- Weigh (or estimate) each ingredient in the same unit.
- Keep the default moisture/carbon/nitrogen values for grass, leaves and food scraps (Cornell's worked example) or replace them with lab or published values for your materials.
- Aim for roughly 30:1 and about 60% moisture.
The formula
Cornell explains that about 30:1 is generally considered ideal: lower ratios lose nitrogen as ammonia (odors), higher ratios compost slowly. Typical published ranges: autumn leaves 30–80:1, straw 40–100:1, wood chips or sawdust 100–500:1, vegetable scraps 15–20:1, coffee grounds 20:1, grass clippings 15–25:1. Real materials vary a lot, so treat the result as a guide.
Gear for this job
Disclosure: some links on this site may be affiliate links; if you buy through them we may earn a commission at no extra cost to you. Learn more.
- Compost bin or tumbler — [affiliate link placeholder]
- Compost thermometer — [affiliate link placeholder]
- Kitchen compost caddy — [affiliate link placeholder]
- Leaf shredder — [affiliate link placeholder]
Frequently asked questions
What is the best C:N ratio for compost?
Around 30:1 by weight, according to Cornell Waste Management Institute. As composting proceeds the ratio falls to about 10–15:1 in finished compost.
Why not just average the ratios?
Because materials differ in water and nitrogen content. Cornell's method weights each ingredient by its dry matter and its actual carbon and nitrogen, which a simple average of ratios ignores.
My pile smells of ammonia. What do I do?
Too much nitrogen. Add carbon-rich browns such as dry leaves, shredded paper or straw, and mix.
How big should a compost pile be?
Cornell recommends at least 1 cubic yard (3 × 3 × 3 ft) for a pile to hold heat; smaller piles still compost, just more slowly.
Sources
- Cornell Waste Management Institute — Compost Chemistry (C/N ratio)
- Cornell Waste Management Institute — Solving the Moisture and Carbon-Nitrogen Equations Simultaneously
- Cornell Waste Management Institute — Composting: Balancing Your Greens and Browns (PDF)
Last reviewed 2026-10-22. Found an error? Tell us.