Compost Ratio Calculator
Balance your compost pile with the ideal brown-to-green ratio.
Enter materials by volume and get the carbon-to-nitrogen ratio with moisture guidance.
Successful composting depends on the right balance of carbon-rich “brown” materials and nitrogen-rich “green” materials.
The ideal carbon-to-nitrogen (C:N) ratio is approximately 25:1 to 30:1. This ratio provides the optimal environment for decomposition microorganisms.
Why the ratio matters:
- Too much carbon (too many browns): Decomposition slows dramatically. The pile may sit for months with little change.
- Too much nitrogen (too many greens): The pile becomes slimy, compacted, and smelly (ammonia odor).
- Just right: The pile heats up quickly, breaks down efficiently, and produces rich, dark compost.
Common brown materials (carbon-rich):
- Dry leaves: C:N ratio ~60:1
- Straw: C:N ratio ~80:1
- Newspaper: C:N ratio ~175:1
- Cardboard: C:N ratio ~350:1
- Wood chips and sawdust: C:N ratio ~400:1
Common green materials (nitrogen-rich):
- Kitchen scraps (fruit/veg): C:N ratio ~15:1
- Grass clippings: C:N ratio ~17:1
- Coffee grounds: C:N ratio ~20:1
- Manure (cow, horse): C:N ratio ~20:1
- Fresh garden waste: C:N ratio ~25:1
Getting from a C:N ratio to a wheelbarrow, in two steps
The published C:N figures are ratios by dry weight, and nobody weighs dry leaves. Two conversions stand between the table and the pile.
First, work out the dry weight ratio. This is not an average of the two C:N figures. Carbon and nitrogen have to be totalled separately, which for materials of similar carbon content gives:
Brown weight per 1 green = ((Target − Green C:N) ÷ (Brown C:N − Target)) × (Brown C:N ÷ Green C:N)
Second, convert weight to volume using how much dry matter each material packs into a given space. This is where the familiar rule of thumb comes from and also where most of the uncertainty lives: a cubic foot of dry leaves holds far less dry matter than a cubic foot of wet kitchen scraps, and shredding or wetting either one changes it substantially.
Run kitchen scraps and dry leaves through both steps and you land on very close to 3 parts brown to 1 part green by volume, the number most composting guides quote. Run grass clippings and leaves through and you get nearer 1 part brown to 1 part green, because grass is far wetter and denser than the scraps. Treat the classic 3:1 as a starting point for the common pile, not a law.
Additional requirements:
- Moisture: The pile should feel like a wrung-out sponge.
- Air: Turn the pile every 1-2 weeks to introduce oxygen.
- Size: Minimum 3×3×3 feet (1×1×1 m) to generate enough heat.
How we build and check this calculator
This calculator runs entirely in your browser, so the numbers you enter stay on your device. The math behind it is written by hand and tested against worked examples and standard references before the page goes live.
SuperGlobalCalculator is independently built and maintained. See how we build and verify our calculators.