Works on this device
Carbon Nitrogen Ratio Calculator
Find the carbon to nitrogen (C:N) ratio of your greens and browns together, the moisture of the mix, and how much of one material to add to reach the ratio you want. You type the figures of your own materials.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose Calculate.
Your result
How it was worked out
How to use this calculator
- Choose C:N ratio and moisture of a mix, or Amount of one material to reach a C:N.
- Fill one row for each material: the amount as it goes on the heap, its moisture, and its nitrogen and carbon as shares of the dry matter. You may type the material's own C:N in place of its carbon.
- The figure fields start empty. Try an example or the list of examples fills in rough figures from tables. Replace them with your own figures.
- Choose Calculate. The result shows the working for each material.
The formula
- Dry matter = amount × (1 − moisture ÷ 100).
- Carbon = dry matter × carbon % ÷ 100, or nitrogen × the material's own C:N. Nitrogen = dry matter × nitrogen % ÷ 100.
- C:N of the mix = the sum of the carbon ÷ the sum of the nitrogen.
- Moisture of the mix = the sum of the water ÷ the sum of the amounts.
- Amount to add x solves (C + x × dry share × carbon share) ÷ (N + x × dry share × nitrogen share) = the C:N you want.
- The ratio does not depend on the unit of weight, as long as all amounts are in the same unit.
Worked examples
A mix: 30 lb of grass clippings at 80% moisture, 3.4% nitrogen and a C:N of 17 have 6 lb of dry matter, 0.204 lb of nitrogen and 3.468 lb of carbon. 20 lb of dry leaves at 38% moisture, 0.9% nitrogen and a C:N of 54 have 12.4 lb of dry matter, 0.1116 lb of nitrogen and 6.0264 lb of carbon. C:N = 9.4944 ÷ 0.3156 = 30.08. The moisture is 31.6 ÷ 50 = 63.2%.
Adding straw: to bring that mix to 35:1 with wheat straw at 12% moisture, 0.5% nitrogen and a C:N of 100, add (9.4944 − 35 × 0.3156) ÷ (0.88 × (35 × 0.005 − 0.5)) = 5.43 lb of straw.
All figures in these examples are rough examples from tables, not figures for your materials.
Rough examples from tables
These are the figures of the example lists. Real materials differ a lot from them. A laboratory test of your own materials is the real figure.
| Material | Moisture (%) | Nitrogen, dry (%) | C:N |
|---|---|---|---|
| Grass clippings | 80 | 3.4 | 17 |
| Dry leaves | 38 | 0.9 | 54 |
| Vegetable scraps | 85 | 2.5 | 15 |
| Wheat straw | 12 | 0.5 | 100 |
| Horse manure | 70 | 1.6 | 30 |
| Wood shavings | 15 | 0.1 | 500 |
| Coffee grounds | 60 | 2.1 | 20 |
| Shredded cardboard | 8 | 0.1 | 350 |
Other tools for the same subject
- For the volume of a heap, the bins you need and the shrinkage, use the Compost Volume Calculator.
- For compost to spread or mix into soil, use the Soil & Amendment Calculator.
Limits you should know
- Carbon and nitrogen differ a lot between batches of the same material. Tables give rough ranges; a laboratory test of your own materials is the real figure.
- Not all carbon breaks down at the same speed: carbon in wood breaks down much more slowly than carbon in grass. The ratio does not show that.
- The tool gives no ratio or moisture as advice. Take your aim from your own composting guide.