Compost C:N Ratio Calculator

Compost C:N Ratio Calculator

Leading AI Skill PRO

Enter Calculation

Grass clippings, food scraps, manure, coffee grounds.
Typical: grass 17, food scraps 15, coffee grounds 20, manure 15.
Dry leaves, straw, cardboard, sawdust, wood chips.
Typical: dry leaves 60, straw 80, cardboard 350, sawdust 400.
30 is the classic ideal for fast, hot composting (25-35 works well).

Formula

C:Nmix=G+BGRG+BRBwhere{G=Green Weight (kg)RG=Green C:NB=Brown Weight (kg)RB=Brown C:N\begin{gathered} \text{C:N}_{\text{mix}} = \frac{G + B}{\dfrac{G}{R_G} + \dfrac{B}{R_B}} \\[1.5em] \text{where}\quad \left\{ \begin{aligned} G &= \text{Green Weight (kg)} \\ R_G &= \text{Green C:N} \\ B &= \text{Brown Weight (kg)} \\ R_B &= \text{Brown C:N} \end{aligned} \right. \end{gathered}
Show calculation steps (2)
  1. Brown Material Needed for Target

    Bneeded=G(TRG−1)1−TRBwhere{G=Green Weight (kg)RG=Green C:NRB=Brown C:NT=Target C:N\begin{gathered} B_{\text{needed}} = \frac{G\left(\dfrac{T}{R_G} - 1\right)}{1 - \dfrac{T}{R_B}} \\[1.5em] \text{where}\quad \left\{ \begin{aligned} G &= \text{Green Weight (kg)} \\ R_G &= \text{Green C:N} \\ R_B &= \text{Brown C:N} \\ T &= \text{Target C:N} \end{aligned} \right. \end{gathered}

    Solve the blend equation for the brown weight that hits the target ratio; valid only when Target C:N is below the Brown C:N. Adjustment = Browns Needed - current Brown Weight

  2. Total Carbon and Nitrogen Units

    Ctot=12(G+B)Ntot=12(GRG+BRB)where{G=Green Weight (kg)RG=Green C:NB=Brown Weight (kg)RB=Brown C:N\begin{gathered} C_{\text{tot}} = \tfrac{1}{2}\left(G + B\right) \qquad N_{\text{tot}} = \tfrac{1}{2}\left(\frac{G}{R_G} + \frac{B}{R_B}\right) \\[1.5em] \text{where}\quad \left\{ \begin{aligned} G &= \text{Green Weight (kg)} \\ R_G &= \text{Green C:N} \\ B &= \text{Brown Weight (kg)} \\ R_B &= \text{Brown C:N} \end{aligned} \right. \end{gathered}

    Dry organic matter is assumed to be about 50 percent carbon, so carbon is half the total weight and nitrogen is half the summed nitrogen units

Usage stats

Advertisement

Results

Carbon-to-Nitrogen Ratio of Your Mix
30 : 1
parts carbon per 1 part nitrogen
Well balanced. This mix sits in the 25-35 sweet spot, so the pile should heat up quickly and finish without odour.
Brown material needed for target 40 kg
Adjustment to current browns no change needed
Total pile weight 60 kg
Estimated carbon in mix 30 kg
Estimated nitrogen in mix 1 kg
Target reachable with these two materials Yes

Report an error on this page

What the compost C:N ratio is

Every compost ingredient carries carbon and nitrogen in a fixed proportion called its C:N ratio. Microbes that break down a pile need roughly 30 parts carbon for every 1 part nitrogen. Hit that window and the heap heats to 55-65 °C and finishes in weeks. Miss it low and the pile goes slimy and smells of ammonia; miss it high and it sits cold and inert for a year. This calculator mixes two piles of material — greens and browns — and tells you the resulting ratio plus the correction needed.

Balance scale with green compost materials on one side and a larger pile of brown materials on the other, level
A good compost mix balances nitrogen-rich greens with carbon-rich browns.

How to use it

Weigh (or estimate) your green, nitrogen-rich material and your brown, carbon-rich material, then enter each one together with its published C:N ratio. Grass clippings are about 17, food scraps 15, fresh manure 15, coffee grounds 20; dry leaves are about 60, straw 80, shredded cardboard 350 and sawdust 400. Leave the target at 30 unless you have a reason to run hotter or slower.

The formula explained

Carbon and nitrogen add as masses, not as ratios, so you cannot simply average the two C:N numbers. With \(M_g\) = green weight, \(R_g\) = green C:N, \(M_b\) = brown weight and \(R_b\) = brown C:N:

$$\left( \text{C:N} \right)_{mix} = \frac{M_g + M_b}{ {\frac{M_g}{R_g}} + {\frac{M_b}{R_b}}}$$

Each material is assumed to be about 50% carbon by dry weight; that factor appears in both the numerator and the denominator and cancels, so the answer depends only on weights and ratios.

Carbon and nitrogen masses assume all dry organic matter is roughly 50% carbon by weight; the carbon fraction cancels out of the ratio itself, so the C:N result does not depend on that assumption.

Advertisement

Worked example

You have 20 kg of grass-and-scraps at \(R_g = 15\) and 40 kg of dry leaves at \(R_b = 60\):

$$\left( \text{C:N} \right)_{mix} = \frac{20 + 40}{ {\frac{20}{15}} + {\frac{40}{60}}} = \frac{60}{1.333 + 0.667} = \frac{60}{2.0} = 30$$

Exactly on target, so no adjustment is required. Had you only had 10 kg of leaves, the mix would read about 19:1 and the calculator would tell you to add 30 kg more.

C:N Ratios of Common Compost Materials

Every compost ingredient carries its own carbon-to-nitrogen ratio, measured on a dry-matter basis. Nitrogen-rich "greens" sit low on the scale; carbon-rich "browns" sit high. The values below are the typical ranges published in standard composting references — notably the Cornell Waste Management Institute tables and the USDA Natural Resources Conservation Service composting guidance, both United States sources that are nevertheless widely used internationally. Because real materials vary with species, age, dryness and how they were stored, ranges are given rather than single points; pick a mid-range figure unless you have a laboratory analysis of your own feedstock.

Material Group Typical C:N (dry matter)
Poultry manure Green ~10:1
Alfalfa / legume hay Green ~12:1
Vegetable and food scraps Green ~15:1
Fresh cow or horse manure Green ~15–20:1
Fresh grass clippings Green ~17:1
Seaweed Green ~19:1
Coffee grounds Green ~20:1
Green weeds (before seed set) Green ~20:1
Fruit waste Green (weak) ~35:1
Hay, dry Brown ~25–40:1
Dry leaves Brown ~40–80:1 (oak and beech at the high end, maple and ash lower)
Corn stalks Brown ~75:1
Straw Brown ~80:1
Pine needles Brown ~80:1
Bark Brown ~100–130:1
Mixed paper Brown ~170:1
Shredded newspaper Brown ~175:1
Corrugated cardboard Brown ~350:1
Wood chips Brown ~400:1
Sawdust Brown ~400–500:1

Two practical cautions. First, "fruit waste" looks like a green because it is wet and soft, but its sugars make it carbon-heavy relative to its nitrogen — it behaves more like a mild brown. Second, the weights you enter should be consistent: the ratios above are dry-matter figures, so if you weigh very wet material (fresh grass, kitchen scraps) you are over-counting water on both sides of the fraction, which largely cancels out but still makes the result approximate. Treat the calculated number as a planning figure, not a measurement.

Gradient bar from green to brown with compost material icons placed from low to high carbon-to-nitrogen ratio
Common compost materials range from nitrogen-rich greens (low C:N) to carbon-rich browns (high C:N), with the ideal mix near 30:1.

What Your C:N Result Means

Standard composting guidance reads the starting ratio in bands. Find yours below.

C:N of mix Interpretation
Below ~20:1 Nitrogen excess. Surplus nitrogen leaves as ammonia, so the pile smells sharp and you lose the very nutrient you wanted to keep. Wet low-ratio material also compacts and can turn anaerobic, producing sulphurous odours. Add browns.
~20–25:1 Fast and hot, but some nitrogen is still volatilised. Acceptable if you turn frequently and have good structure; a little more brown material will reduce the loss.
~25–35:1 The accepted working window. Microbial demand for carbon and nitrogen is roughly matched, and a pile of adequate volume (around 1 m³ or more) and moisture will typically climb to 55–65 °C within a few days.
~35–40:1 Slower and cooler, but it will finish. Nitrogen is the limiting nutrient, so expect weeks rather than days at peak temperature.
Above ~40:1 Carbon excess. Microbes scavenge nitrogen from their surroundings — if you spread this material on a bed it will immobilise soil nitrogen and visibly starve your plants. A very high-ratio heap can sit cold for many months.

On the temperature figure: 55 °C maintained for three consecutive days is the commonly cited pathogen- and weed-seed-reduction benchmark, drawn from United States regulation and practice — the US EPA's biosolids rules (40 CFR Part 503) and the US Composting Council's guidance for aerated static piles and in-vessel systems. Other countries set their own time-and-temperature requirements, so check your national standard if you are composting commercially rather than at home.

Expect the ratio to fall as the pile works. Microbes respire most of the carbon away as CO₂ while retaining nitrogen in their biomass, so a heap that started near 30:1 typically finishes somewhere around 10–15:1. That means a mature compost reads much lower than the mix you built, and a low reading on finished material is a sign of maturity rather than a fault.

Finally, read the number for what it is. The C:N ratio describes the chemistry of the feedstock mix — it says nothing about compost quality, contamination, salinity or maturity, and it cannot tell you whether the pile will actually work. Moisture around 50–60 % by weight (damp like a wrung-out sponge) and free air movement through the heap matter just as much: a perfectly balanced 30:1 pile that is bone dry, waterlogged or airless will stall completely. Use the ratio to choose your recipe, then manage water, particle size and turning to deliver it.

This section is general composting information, not a prescription for a specific site or regulated operation.

Advertisement
Three compost bins: a wet smelly pile, a balanced steaming pile, and a dry inactive pile
Too little carbon causes smelly, soggy piles; too much carbon slows decomposition; a balanced mix heats up and breaks down efficiently.

FAQ

Should I measure by weight or by volume? The formula is a mass balance, so weight is correct. Gardeners often quote volume rules such as 2-3 parts browns to 1 part greens; those are rough proxies because dry leaves are far less dense than wet scraps.

Does moisture change the ratio? Published C:N values are dry-matter figures, so water does not alter the ratio. It still matters for the pile — aim for 50-60% moisture, damp like a wrung-out sponge.

Why is my target unreachable? You cannot reach 30:1 if your brown material has a C:N below 30, or if the greens are already above the target. Add a higher-carbon brown such as cardboard or sawdust.

Last updated:

Most popular in Hobby and Craft

View all Hobby and Craft calculators