EUFusionsFood Sustainability Review

Calculators & Tools, Composting

Compost Carbon-to-Nitrogen Ratio Calculator

Mix kitchen scraps, grass, leaves, cardboard and other materials and see your compost's carbon-to-nitrogen ratio and moisture against the 30:1 target.

How to use it

Start with what you actually have: a bucket of kitchen scraps, a bag of grass clippings, a pile of leaves. Choose each material, enter its weight in kilograms and, if you can, its moisture. The calculator shows the carbon-to-nitrogen (C:N) ratio of the whole mix and its moisture, tells you whether each is inside the target, and suggests how much of a carbon-rich or nitrogen-rich material would bring the ratio back to about 30:1. A table shows the workings. Your mix is stored only in your browser, and the reset button clears it.

Why the ratio matters

Composting microbes need carbon for energy and nitrogen to build their bodies. Cornell's guidance gives about 30 parts carbon to 1 part nitrogen by weight as the ideal starting point. With too little nitrogen the microbial population does not grow to its best size and composting slows, and the pile stays relatively cool. With too much, decomposition runs fast but oxygen is used up and anaerobic conditions develop. Some of the excess nitrogen escapes as ammonia gas, which smells and wastes the nutrient. Green, wet materials such as grass and kitchen scraps tend to be nitrogen-rich, and brown, dry materials such as leaves, straw and cardboard are carbon-rich. As composting proceeds the ratio falls, and finished compost is typically close to 10:1.

Moisture

Cornell recommends that composting material is 40 to 60 percent water, and 50 to 60 percent is generally treated as optimum. Below about 30 percent bacterial activity is inhibited, and above about 65 percent decomposition slows and odours and leaching appear. The squeeze test is an easy check: the mix should feel damp, like a wrung-out sponge. If it is too wet, add drier, coarse material. If it is too dry, add water as you turn it. The calculator estimates the moisture of the mix from the weights and moistures you enter.

Where the numbers come from

All C:N values come from Cornell University composting guidance. Grass clippings are 19:1, food wastes 15:1 (fruit and vegetable scraps 15 to 20:1), coffee grounds 20:1, cow manure 20:1 and horse manure 25:1; leaves 30 to 80:1, straw 40 to 100:1, bark 100 to 130:1, mixed paper 150 to 200:1, wood chips and sawdust 100 to 700:1 and newspaper or cardboard 560:1. Where a source gives a range we use a representative value within it (the midpoint, or the single figure from the fact sheet) as the typical value. Moisture values for grass (77 percent), leaves (35 percent), food scraps (80 percent) and newspaper (5 percent) come from Cornell's worked examples. Materials without a published moisture start at 50 percent as a placeholder that you should replace with your own estimate.

Method and limits

Cornell's full method uses each material's carbon and nitrogen percentages. We use the ratios, which are published for more materials, and assume the carbon share of dry matter is similar across them. Tested on Cornell's own grass-and-leaves example, this simplification lands within about one to two points of the full method. Real heaps differ: carbon in large wood chips is much less available to microbes than the same amount in sawdust, so woody material counts for less than its ratio suggests. Cornell also advises erring on the side of a high ratio, since too much carbon only slows the heap, whereas a pile that is too wet or too nitrogen-rich can turn foul.

This tool is for garden and kitchen compost. It does not cover meat, fish, dairy or pet waste, which many local schemes restrict, nor industrial composting, which has its own regulations. Check your local council's guidance on what you can add. For more on reducing what reaches the bin in the first place, see the household food waste calculator.

Sources

  1. Cornell Waste Management Institute, Cornell University (1996). The Science and Engineering of Composting. C:N table, moisture guidance and worked examples. Accessed 29 November 2026.
  2. Cornell Cooperative Extension (2000). Composting Ingredients (Municipal Yard Waste Composting Operator's Fact Sheet 2). Accessed 29 November 2026.
  3. Cornell Cooperative Extension (2000). Water (Municipal Yard Waste Composting Operator's Fact Sheet 3). Accessed 29 November 2026.
  4. Cornell Waste Management Institute. C/N Ratio (Composting in Schools). Accessed 29 November 2026.

This tool runs entirely in your browser. Anything you enter stays on your device; where a tool remembers your entries, it uses your browser’s local storage and offers a reset button. Results are estimates for general guidance.