Compost C:N Ratio Calculator (Blending Greens and Browns)

Composting works fastest when the mix has about 25 to 30 parts of carbon to each part of nitrogen and holds 50–60% moisture. This calculator combines the analysis of each feedstock into the C:N ratio and moisture of the whole mix, and tells you how much of a carbon-rich or nitrogen-rich material to add to hit the target.

Estimates using the emission factors shown. Check the factor source and year for formal reporting.

Inputs

Results

C:N ratio of the mix
23.5
Moisture of the mix
69.8
%
Mass of the last material for the target C:N
60.02
C:N after that change
30
Moisture after that change
61.5
%
  • Moisture above about 65% can make the pile anaerobic; add dry bulking material.

RefENV-WST-001
MethodC:N = Σ mᵢ(1 − Mᵢ)Cᵢ ÷ Σ mᵢ(1 − Mᵢ)Nᵢ; moisture = Σ mᵢMᵢ ÷ Σ mᵢ; amount of the last material x = (R·N₀ − C₀) ÷ (c − R·n)
UnitsSI
Date2026-11-24

Working

Calculated in SI base units; inputs are converted from the units you choose.

  1. Carbon and nitrogenΣ mass × (1 − moisture) × C% and × N%C = 25.77, N = 1.097 (dry mass units)
  2. C:N and moistureC ÷ N; water ÷ total massC:N = 23.5; moisture = 69.78%
  3. Last material for the targetx = (R·N_others − C_others) ÷ ((1 − M)·c − R·(1 − M)·n)60.02 mass units of Straw (instead of 30) gives C:N 30

Materials

MaterialMassMoisture %C:N
Grass clippings1008213.2
Food waste508016.7
Straw301268.6

Greens and browns

Nitrogen-rich "greens" such as grass, food waste and manure have low C:N ratios and high moisture; carbon-rich "browns" such as straw, leaves, wood chips and cardboard have high C:N and are dry. Too little carbon releases ammonia and smells; too much slows the process. Because C and N are usually reported on a dry basis, the water in each material has to be removed before the ratio is worked out. Values vary widely between batches, so use an analysis where possible.

Assumptions and limits

  • Carbon and nitrogen in each material equally available.
  • Analyses on a dry-matter basis, mass as collected.

References

  • Rynk, R. (ed.), On-Farm Composting Handbook, NRAES-54, Northeast Regional Agricultural Engineering Service, 1992.
  • Cornell Waste Management Institute, Cornell Composting: Science and Engineering — calculations of C/N ratio and moisture.
  • Haug, R. T., The Practical Handbook of Compost Engineering, Lewis Publishers, 1993.

Questions

What is the C:N of the example mix?
About 23.5, with 69.8% moisture: too much nitrogen and water. Using 60 units of straw instead of 30 brings it to C:N 30 and about 61.5% moisture.
Why use dry-basis carbon and nitrogen?
Lab results report C and N as a percentage of dry matter, so each material's water must be taken off its mass before mixing.

Results depend on the figures and factors you enter and on the assumptions listed above. Use the factor set your reporting scheme requires. Read the disclaimer.