{"inline_daily":{"compost-carbon-nitrogen-calculator":{"materials_title":"Pile materials","material_label":"Material","mass_label":"Wet mass","n_label":"Nitrogen (N, % dry)","c_label":"Carbon (C, % dry)","m_label":"Moisture","remove_row":"Remove {{name}}","add_row":"Add a material","values_hint":"N, C and moisture come from the table (lab averages); edit them if you have an analysis of your materials.","result_title":"Mix result","ratio_label":"Carbon/nitrogen ratio","bar_title":"C/N of {{value}} on a 0 to 60 scale, preferred range 25 to 30","v_low":"Below 20: too much nitrogen, risk of ammonia smell. Add browns (leaves, straw, cardboard).","v_ok_low":"Between 20 and 25: reasonable, slightly nitrogen-rich.","v_pref":"Between 25 and 30: preferred range.","v_ok_high":"Between 30 and 40: reasonable, slower breakdown.","v_high":"Above 40: too much carbon, the pile barely heats. Add greens (grass, peelings, manure).","v_none":"Add a material containing nitrogen to get a ratio.","moisture_label":"Moisture","total_label":"Total mass","dry_label":"Dry matter","m_dry":"Moisture below 40%: too dry, water while turning.","m_ok":"Reasonable moisture (40 to 65%).","m_pref":"Moisture in the preferred range (50 to 55%).","m_wet":"Moisture above 65%: too wet, add dry materials.","bar_caption":"Ranges from LSU AgCenter after the On-Farm Composting Handbook (NRAES-54): C/N 20 to 40 reasonable, 25 to 30 preferred.","balance_title":"Reach a target C/N","balance_row_label":"Material to adjust","target_label":"Target C/N","balance_result":"For a C/N of {{target}}: {{mass}} of {{name}} (currently {{current}}), other materials unchanged.","balance_impossible":"This material cannot bring the mix to {{target}} with the others: pick a more carbon-rich or nitrogen-rich one depending on the gap.","table_title":"Materials table (N, C, moisture)","col_material":"Material","col_n":"N % dry","col_c":"C % dry","col_cn":"C/N","col_m":"Moisture %","col_src":"Origin","src_note":"The Composting Handbook, Appendix B (Compost Research & Education Foundation, revised 20/12/2021). OFCH: On-Farm Composting Handbook (1992); WSU: Washington State University; COTC: Composting Operators Training Course.","disclaimer":"Estimate from averages: slow-to-degrade carbon (wood, cardboard) and turning the pile matter as much as the C/N.","m_veg":"Vegetable scraps","m_fruit":"Fruit waste","m_food":"Food scraps","m_coffee":"Coffee grounds","m_grass":"Grass clippings","m_leaves":"Fallen leaves","m_straw":"Straw","m_hay":"Hay","m_shrub":"Shrub trimmings","m_hardwood":"Hardwood, chipped","m_sawdust":"Sawdust and shavings","m_cardboard":"Corrugated cardboard","m_newsprint":"Newsprint","m_horse":"Horse manure","m_cattle":"Cattle manure","m_poultry":"Poultry manure with litter","m_hens":"Laying hen manure","m_sheep":"Sheep manure","m_water":"Water"}},"docs_daily":{"tools":{"compost-carbon-nitrogen-calculator":{"content":{"title":"Compost C/N ratio: the Cornell formula with a worked example","intro":"A mix's C/N is computed on dry matter: R = Σ Q × C × (100 − M) ÷ Σ Q × N × (100 − M), with Q the wet mass, C and N in % of dry matter and M the moisture in %. Cornell recommends about 30:1 at the start; LSU AgCenter, after the NRAES-54 handbook, gives 25 to 30 as the preferred range.","details":"

Formula

Each material counts in the mix by its dry mass, Q × (100 − M) ÷ 100, not by its fresh weight. The mix moisture is Σ Q × M ÷ Σ Q. To aim at a given C/N, the mass of the material to adjust follows from the others: Qx = Σ Qi × (100 − Mi) × (Ci − R × Ni) ÷ [(100 − Mx) × (R × Nx − Cx)].

Example

10 kg of food scraps (N 2.4%, C 36%, 69% water), 5 kg of grass clippings (3.4%, 52.3%, 82%) and 8 kg of fallen leaves (0.9%, 48.6%, 45%) give 3.1 + 0.9 + 4.4 = 8.4 kg of dry matter. Carbon: 111.6 + 47.1 + 213.8 = 372.5; nitrogen: 7.44 + 3.06 + 3.96 = 14.46. C/N = 372.5 ÷ 14.46 = 25.8, moisture 63.5%. Reaching 30 takes 13.2 kg of leaves instead of 8; moisture drops to 60.1%.

Benchmarks and limits

Sources and dates: Cornell Waste Management Institute, C/N Ratio; LSU AgCenter, Compost Feed Stock (pub. 3838-D, 2022); Compost Research & Education Foundation, The Composting Handbook, Appendix B (revised 20/12/2021) (checked on 29/10/2026)

"},"faqs":[{"question":"What is the right carbon to nitrogen ratio for compost?","answer":"Cornell recommends about 30:1 at the start. LSU AgCenter, after the NRAES-54 handbook, rates 20 to 40 as reasonable and 25 to 30 as preferred; finished compost falls towards 10:1."},{"question":"How do I calculate the C/N of a compost mix?","answer":"Weight each material by its dry mass: multiply mass × (100 − moisture) × C, add them up, then divide by the same sum with N. 10 kg of food scraps, 5 kg of grass and 8 kg of leaves give 25.8."},{"question":"What moisture should a compost pile have?","answer":"40 to 65% water is reasonable and 50 to 55% preferred according to LSU AgCenter. The example mix is at 63.5%: acceptable, but dry materials such as leaves or cardboard will bring it down."},{"question":"What is the C/N of fallen leaves and cardboard?","answer":"According to Appendix B of The Composting Handbook, fallen leaves are around 54:1 and corrugated cardboard 563:1. Grass clippings sit at 15:1 and food scraps at 15:1."}]}}}}