Browns
- Autumn leaves30-80:1
- Dry leavesabout 54:1
- Straw40-100:1
- Hay15-32:1
Calculate the carbon-to-nitrogen ratio of your compost mix, then see how much brown carbon material or green nitrogen material to add. Use the simple backyard estimate for quick planning, or switch to moisture-adjusted mode when comparing wet grass, food scraps, and manure with dry leaves, straw, or cardboard.
Simple mode: mass is treated as entered weight; moisture is not applied to the C:N math.
| Material | Mass | C % | N % | Moisture % |
|---|
BalancedReady to compost
Symptoms: Warm, earthy, and active pile.
Next actions: Keep moisture like a wrung-out sponge and turn as needed.
Correction solver
Calculate to estimate how much material to add for the target ratio.
Backyard advice often says to use about 2:1 or 3:1 browns-to-greens by volume. That is a useful starting point because dry leaves, straw, paper, and wood add bulky carbon, while grass clippings, food scraps, coffee grounds, and many manures add more nitrogen and moisture. The scientific C:N target is different: it is carbon mass divided by nitrogen mass, usually planned near 25:1 to 30:1 for an active starting mix.
Use rough volume ratios when you are layering a small bin. Use this calculator when the pile smells, stays cool, contains unusually wet materials, or needs a more specific "how much should I add?" answer.
Compost microbes need carbon for energy and nitrogen for proteins and cell growth. A low ratio means excess nitrogen: the pile may become wet, slimy, anaerobic, or ammonia-smelling. A high ratio means excess carbon: the pile may stay cool and break down slowly. Most active starting mixes work best near 25:1 to 30:1, but texture, air, particle size, and moisture still matter.
In simple mode, the calculator treats your entered material weights as the basis for a quick weighted average. In advanced mode, it first removes the moisture percentage from each as-used weight so wet grass, food scraps, and manure can be compared more fairly with dry leaves, straw, cardboard, and sawdust.
Simple mode computes Ci = mi x ci and Ni = mi x ni. Advanced mode uses dry matter first: di = mi x (1 - moisturei/100), then Ci = di x ci and Ni = di x ni. The final ratio is total carbon divided by total nitrogen.
The correction solver uses the same carbon and nitrogen contribution for the selected material and solves (C + xCadd) / (N + xNadd) = target ratio for the added mass x.
Preset C and N percentages are editable planning assumptions. The visible C:N value shows the source value or typical range used to set the preset.
Inputs: 8 lb food scraps at 40% C and 2.5% N, plus 4 lb dry leaves at 48% C and 0.9% N.
Carbon = 5.12 lb, nitrogen = 0.236 lb, so C:N = 21.7:1. To reach 30:1, add about 9.3 lb dry leaves.
Inputs: 10 lb grass clippings at 45% C and 2.65% N, plus 20 lb dry leaves at 48% C and 0.9% N.
Carbon = 14.10 lb, nitrogen = 0.445 lb, so C:N = 31.7:1. To reach 30:1, add about 2.2 lb grass clippings.
Inputs: 25 lb cow manure at 39.9% C and 2.1% N, plus 10 lb straw at 42% C and 0.525% N.
Carbon = 14.18 lb, nitrogen = 0.578 lb, so C:N = 24.5:1. To reach 30:1, add about 12.0 lb straw.
Presets are representative values, not lab guarantees. Compost materials vary by species, age, storage, bedding, rain exposure, and decomposition stage. Adjust C, N, and moisture when you have local or lab data.
A common starting target is about 25:1 to 30:1. The calculator defaults to 30:1 because it is a practical target for active composting.
Scientific C:N is measured by weight: carbon mass divided by nitrogen mass. Volume rules such as 2:1 or 3:1 browns-to-greens are rough backyard shortcuts.
The pile is carbon-rich and nitrogen-limited. It may stay cool, dry, and slow. Add greens such as grass clippings, food scraps, coffee grounds, or manure.
The pile is nitrogen-rich. It may turn wet or slimy and may smell like ammonia. Add dry browns such as leaves, straw, shredded cardboard, or wood chips.
Enter the food scraps, choose dry leaves, straw, cardboard, or another brown as the correction material, and calculate. Wet food scraps often need more dry brown material than a small scoop by volume suggests.
Coffee grounds are usually treated as a green because their C:N value is near nitrogen-rich materials, even though they look brown.
Eggshells are mostly mineral calcium carbonate. They can be composted in small crushed amounts, but they do not meaningfully fix a carbon or nitrogen imbalance.
Use advanced moisture-adjusted mode when you weigh wet materials such as grass, food scraps, or manure. Simple mode is fine for quick backyard estimates with mixed, approximate amounts.
Finished compost is often around 10:1 to 15:1 because carbon is lost as carbon dioxide while the pile decomposes.
Common causes are too much nitrogen, too much water, compaction, or not enough oxygen. Add dry browns, mix in bulky material, and turn or loosen the pile.
Yes, everything runs locally in your browser.
This calculator computes weighted carbon and nitrogen totals, reports the resulting ratio, diagnoses likely symptoms, and solves for a selected correction material. All computation runs client-side for privacy and speed.
Likely too nitrogen-rich, too wet, or compacted. Add dry leaves, straw, shredded cardboard, sawdust, or wood chips, then mix in air.
Likely too carbon-rich, too dry, too small, or lacking fresh nitrogen. Add grass clippings, food scraps, coffee grounds, or manure and check moisture.
Check pile size, moisture, oxygen, and particle size. C:N balance helps, but microbes also need air and water.
This calculator provides estimates based on typical C and N percentages. Compost inputs vary; adjust with observation and local guidance.