Compost C:N Ratio Calculator

Add each material you plan to compost and its weight. The calculator works out the carbon-to-nitrogen (C:N) ratio and moisture of the whole pile, tells you whether it has too much green or too much brown, and shows how much of a material to add to reach your target.

Units
Target
Cornell aims for about 30:1; NRCS recommends 20:1 to 40:1.

How the calculation works

Every material is part water and part dry matter, and the carbon and nitrogen are in the dry matter. For each material on your list the calculator works out:

It adds these up for the whole pile, then works out the mix:

This is the mass-balance formula the Cornell Waste Management Institute gives for the C:N ratio and moisture of a compost mixture.

To reach your target, the calculator solves the same formula for one unknown weight: amount to add = (target × total nitrogen − total carbon) ÷ (dry fraction × nitrogen fraction × (C:N of the material − target)). Cornell gives this solution for a second or third material; the same algebra works however many materials are already in the pile. If the answer comes out negative, the material is on the wrong side of the target: you can’t lower the ratio with something browner than the target, or raise it with something greener. A material whose own C:N equals the target can’t get the mix there either, however much you add.

Why you can’t average the ratios

A C:N ratio is carbon per unit of nitrogen, so the ratio of a mix depends on how much nitrogen each material brings, and that depends on how wet it is and how much nitrogen its dry matter holds. Averaging the ratios treats every material as if it brought the same amount of nitrogen. Sometimes the answer comes out close anyway: equal weights of grass clippings (17:1) and fallen leaves (54:1) average 35.5:1, against a real 34.6:1. But equal weights of grass clippings and shredded cardboard (563:1) average 290:1, while the real mix is about 88:1.

Worked example

This is the example the calculator opens with: 10 lb of grass clippings and 10 lb of fallen leaves, using the NRAES averages (grass: 82% moisture, 3.4% nitrogen, 17:1; leaves: 38% moisture, 0.9% nitrogen, 54:1).

To reach exactly 30:1 you would add (30 × 0.117 − 4.0536) ÷ (0.18 × 0.034 × (17 − 30)) = 6.8 lb more grass. But the new 26.8 lb pile would be 65.6% moisture, wetter than the 65% limit NRCS gives. Following NRCS and Cornell, you would leave the mix at 34.6:1, because a slightly high C:N only slows composting down. In metric the same mix is 5 kg of each, and the top-up would be 3.4 kg of grass.

Checking against Cornell’s example

Cornell’s own example uses 10 kg of grass clippings at 77% moisture with 2.4% nitrogen and 45% carbon (so 18.75:1), and leaves at 35% moisture with 0.75% nitrogen and 50% carbon (66.67:1). To try it, switch to metric, change the first material to “Custom material” with the grass figures and 10 kg, remove the second material, choose “Custom material” as the material to add with the leaf figures, and keep the 30:1 target. The calculator gives Cornell’s answer of 3.5 kg of leaves, and shows the catch Cornell points out: the mix would be over 66% moisture (66.2%).

Targets: what the sources say

SourceStarting C:NMoisture
Cornell Waste Management InstituteAbout 30:150–60%, what “most literature” recommends; its operator fact sheet says 40–60%
USDA NRCS20:1 to 40:1 for rapid compostingGenerally 40–65%; ideally 60% once the ingredients are mixed
Nebraska ExtensionAbout 30:140–60%

The calculator aims for your target (30:1 unless you change it) and judges the mix against these figures: below 20:1 is too much green and above 40:1 too much brown; below 40% moisture is too dry, 50–60% is ideal and above 65% is too wet. Between 40% and 50%, and between 60% and 65%, the sources disagree, so the calculator calls those “on the dry side” and “on the wet side”.

The material values used

The presets come from the table of typical raw-material characteristics in the NRAES On-Farm Composting Handbook (Appendix A, Table A.1), which Cornell publishes and NRCS adapts as Table 2A-1. The calculator uses the table’s average where it gives one, otherwise its typical value (for mixed food scraps, the middle of the typical ranges); ranges are in parentheses. The last column shows the C:N from Cornell’s home-composting table, which comes from a different publication, so you can see how much the figures vary.

MaterialTable row (figure used)Nitrogen (% of dry weight)C:N (… : 1)Moisture (% of wet weight)Cornell home table C:N
Grass clippingsGrass clippings: average3.4 (2–6)17 (9–25)8215–25:1
Vegetable scrapsVegetable produce: typical value2.7198715–20:1
Fruit scrapsFruit wastes: average1.4 (0.9–2.6)40 (20–49)80 (62–88)–
Mixed food scrapsGarbage (food waste): midpoint of the typical ranges; typical moisture2.4 (1.9–2.9)15 (14–16)69–
Cow manureCattle: average2.4 (1.5–4.2)19 (11–30)81 (67–87)5–25:1
Horse manureHorse, general: average1.6 (1.4–2.3)30 (22–50)72 (59–79)5–25:1
Chicken manure (no bedding)Laying hens: average8 (4–10)6 (3–10)69 (62–75)5–25:1
Chicken litter (manure and bedding)Broiler litter: average (the table notes the C:N is estimated from ash or volatile solids data)2.7 (1.6–3.9)14 (12–15)37 (22–46)5–25:1
Sheep manureSheep: average2.7 (1.3–3.9)16 (13–20)69 (60–75)5–25:1
Fallen leavesLeaves: average0.9 (0.5–1.3)54 (40–80)3830–80:1
StrawStraw, general: average0.7 (0.3–1.1)80 (48–150)12 (4–27)40–100:1
Shredded cardboard or newspaperCorrugated cardboard: typical value0.15638560:1

Practical tips

Common questions

Why can’t I just average the C:N ratios of my materials?
Because each material brings a different amount of nitrogen. The ratio of a mix is its total carbon divided by its total nitrogen, so the materials carrying the most nitrogen pull the mix toward their own ratio. Mix 10 lb of grass clippings (17:1) with 10 lb of shredded cardboard (563:1): the average of the two ratios is 290:1, but the real mix is about 88:1, because the wet grass still holds more than six times as much nitrogen as the dry cardboard.
Can I measure in buckets instead of weighing?
Not reliably, which is why this calculator works by weight. The same volume can weigh very different amounts. In the NRAES table (NRCS Table 2A-1), a cubic yard of loose, dry leaves weighs 100–300 lb (about 59–178 kg per cubic metre), but compacted, moist leaves weigh 400–500 lb (about 237–297 kg/m³). Grass clippings weigh 300–400 lb loose and 500–800 lb compacted (about 178–237 and 297–475 kg/m³). Nebraska Extension also says balancing greens and browns works best by weight rather than volume. To weigh a bucketful, stand on a bathroom scale holding it and subtract your own weight; then you can count buckets of that material.
Where are coffee grounds, wood chips and sawdust?
The tables used here don’t give all three figures for them. The NRCS table lists coffee grounds at 20:1, as does Cornell’s home-composting table, but gives no nitrogen or moisture. It gives hardwood chips 560:1 and softwood chips 641:1, both with 0.09% nitrogen, but no moisture. For sawdust its averages are 442:1, 0.24% nitrogen and 39% moisture, but the table is compiled from many references and these figures don’t fit together: 0.24% nitrogen at 442:1 would mean 106% carbon, which is impossible. To add wood chips, choose “Custom material” and enter the C:N and nitrogen above with the moisture of your own chips (see the next question). For coffee grounds or sawdust you would need your own nitrogen figure, such as a lab test.
How do I find the moisture of my own material?
Weigh a sample, dry it until its weight stops dropping (NRCS’s test method treats a sample as dry once its weight stays the same between two drying stages), then weigh it again. Moisture % = (wet weight − dry weight) ÷ wet weight × 100. In Cornell’s example, 10 g of grass clippings dried down to 2.3 g, so they were 77% water. For a quick check, Nebraska Extension describes the squeeze test (Cornell gives the same test for leaves): the material should feel damp, with only a drop or two of liquid coming out when you squeeze a handful tightly.
Which matters more, the C:N ratio or the moisture?
Moisture. NRCS says that if you can’t get both right, set the mix up for the right moisture first, then balance the C:N on the high side of the 20:1–40:1 range: a high C:N only slows the process, but a low one can cause odors and lose nitrogen as ammonia. Cornell reaches the same conclusion in its worked example and says it is usually best to err on the side of a high C:N ratio. If the mix is dry, though, Cornell says to get the C:N ratio right and add water as needed.

Sources

Last checked and updated: .