Compost Carbon-to-Nitrogen Ratio Calculator
Enter the materials in your pile and estimate its carbon-to-nitrogen (C:N) ratio and moisture, so it heats and breaks down instead of stalling or smelling.
Estimated C:N ratio
How this calculator works
Microbes that break down compost need carbon for energy and nitrogen to build proteins. A mix with roughly 25 to 30 parts carbon to 1 part nitrogen by weight (the C:N ratio) heats and decomposes quickly. Each material you add has a typical C:N ratio and a typical moisture content. The calculator converts each pound to dry weight, then estimates the blend's overall ratio as total dry weight divided by the total of each material's dry weight over its own ratio. This assumes carbon is a similar share of the dry weight in most organic materials, a common simplification that works well enough for planning a pile.
A worked example
Ten pounds of fresh grass clippings (ratio about 17, 80 percent water) and ten pounds of straw (ratio about 80, 12 percent water) give about 2 pounds and 8.8 pounds of dry material. Dividing 10.8 by (2 ÷ 17 + 8.8 ÷ 80) gives a blend of about 47 to 1, which is too carbon-heavy and will break down slowly. Raising the grass to 40 pounds in total brings the blend to about 29 to 1, which is in the ideal range, so a lot of fresh greens is needed to balance a heavy load of straw.
Using the result
- Below 20: too much nitrogen, which can cause ammonia smells. Add browns.
- 25 to 30: ideal for fast composting.
- Above 40: slow decomposition. Add greens.
Moisture matters as much as ratio. A pile that is too dry stops working, and a pile that is soaking wet goes anaerobic and smells. A good test is to squeeze a handful: it should feel like a wrung-out sponge and release a drop or two of water.
Where these numbers come from
C:N ratios and moisture values are midpoints of the ranges published in university composting references, such as Cornell's composting resources, and they vary a lot by source and condition. Your actual materials may differ, so treat the result as an estimate. Do not compost meat, dairy, pet waste or diseased plants in a home pile.
Frequently asked questions
What is the ideal C:N ratio for compost?
Most references give 25 to 30 parts carbon to 1 part nitrogen by weight, though piles in the range of 20 to 40 to 1 still compost, just at different speeds.
My pile smells like ammonia. What should I do?
It usually has too much nitrogen or is too wet. Mix in dry browns such as leaves, straw or shredded cardboard and turn the pile to add air.
Why is my pile not heating up?
Common causes are too much carbon, too little moisture, a pile that is too small (less than about 3 feet on each side), or too few greens. Check the ratio, moisture and size.
Explore the whole Calcs family here.
Not happy with our calculations or how it works? Let us know.
Have a suggestion for a calculator you don't see here? Let us know.
All HomesteadCalcs tools
Animal Care
Beehive Box & Frame Count Calculator Beekeeping Sugar Syrup Calculator Backyard Chicken Feed Ration Calculator Dairy Goat Feed-to-Milk-Production Calculator Goat/Sheep Dewormer Dosing Calculator Backyard Quail Housing & Feed Calculator Rabbit Gestation & Litter Due-Date Calculator Acres per Animal Calculator Chicken Coop & Run Size Calculator Honey Yield Calculator Egg Hatch Date CalculatorGardening & Food
Canning & Preserving Altitude Calculator Cider Press Yield Calculator Maple Syrup Sap-to-Syrup Yield Estimator Maple Tree Tap Count Calculator Orchard Tree Spacing & Pollination Calculator Root Cellar Sizing & Storage Planner Seed Saving Isolation Distance Calculator Worm Bin Size & Feed Calculator Garden Yield & Space Calculator Planting Date Calculator Raised Bed Soil Calculator Compost Carbon-to-Nitrogen Ratio Calculator Canning Yield Calculator: Produce per JarOff-Grid & Rural
Firewood Cord & BTU Comparator Fur/Pelt Trapping Value Calculator Rain Barrel / Cistern Sizing Calculator Sawmill Log-to-Board-Feet Calculator Septic Tank / Leach Field Sizing Calculator Tractor PTO Horsepower & Implement Sizing Calculator Water Trough De-Icer Sizing Calculator Well Pump Sizing Calculator Solar & Battery Bank Calculator Generator Size CalculatorNo calculators match your search.