
The smell, the temperature, and the texture of a compost pile are direct signals from the microbes doing the work. Every beginner guide explains the browns-to-greens volume ratio. Almost none explains what that ratio is actually controlling, or what to do when it goes wrong. That chemistry is called the carbon-to-nitrogen ratio, or C:N. Once you understand it, every compost problem has a diagnosis and a fix. The ammonia smell, the cold pile that will not heat up, the slimy mat of grass clippings: all of them are the same message in different forms.

Every organism decomposing your pile needs carbon for energy and nitrogen to build proteins. The ideal ratio of carbon to nitrogen by weight is approximately 30:1. The Cornell Waste Management Institute puts the functional range at 25:1 to 40:1. Inside that window, microbial populations grow fast and decomposition moves quickly. Outside it, two things happen. Above 40:1, too much carbon and not enough nitrogen: microbes run out of protein-building material and stall. Below 20:1, too much nitrogen and not enough carbon: surplus nitrogen escapes as ammonia gas. That is the smell. As composting completes, the ratio falls. Finished compost ready to use measures around 10:1 to 20:1. When your pile smells like earth and crumbles like coffee grounds, that fall has happened.
| Material | Type | C:N ratio |
|---|---|---|
| Grass clippings (fresh) | Green | 15 to 25 |
| Vegetable scraps | Green | 15 to 20 |
| Coffee grounds | Green | ~20 |
| Food scraps (mixed) | Green | ~15 |
| Autumn leaves | Brown | 30 to 80 |
| Straw | Brown | 40 to 100 |
| Cardboard (corrugated) | Brown | ~560 |
| Wood chips | Brown | 100 to 500 |
| Mixed paper / newspaper | Brown | 150 to 200 |
Coffee grounds look brown but act as a green: at 20:1 they are nitrogen-rich. Cardboard and wood chips are extremely carbon-heavy, which makes them powerful correctors when a pile smells of ammonia, but slow to break down unless shredded first.
The EPA guideline is 2 to 3 parts browns by volume for every 1 part greens. The Royal Horticultural Society puts it at 50 to 75 percent browns by volume. These numbers sound different but describe the same target: a blended C:N of roughly 30:1. The translation from weight (C:N) to volume (browns vs greens) works because browns and greens have very different densities. A large volume of dry autumn leaves weighs almost nothing. A small volume of food scraps is dense and heavy. You need more volume of a light material to contribute the same weight of carbon as a small volume of a dense material. The rule breaks down when you use extreme materials. A pile of pure cardboard and wood chips has a theoretical C:N of several hundred to one, even at 3:1 by volume. A pile of fresh grass clippings alone is around 15:1 to 25:1. The ratio is not a fixed formula: it is a starting point that you adjust by reading what your pile tells you.
The choice is not about quality. Finished compost from a cold pile is identical to finished compost from a hot pile. The difference is time and pathogen kill. Cold composting requires nothing but a pile. Add materials as they become available, ignore it mostly, and finished compost appears in 6 months to 2 years. No weed seeds are killed. Pathogens from meat or manure survive. Only suitable for plant-based kitchen and garden waste. Hot composting requires three things: a minimum pile of 3 feet by 3 feet by 3 feet (1 cubic yard), the right C:N ratio (25:1 to 30:1 to give microbes the fuel to generate heat), and regular turning (every 3 to 7 days) to maintain oxygen. A well-managed hot pile reaches 131 to 160 degrees Fahrenheit (55 to 71 degrees Celsius) within days. At 131F (55C) for at least 5 consecutive days, the USDA standard for pathogen reduction is met. Active decomposition finishes in 4 to 8 weeks with weekly turning.
Cold pile: minimum size
No minimum. Any amount works.
Cold pile: timeline
6 months to 2 years.
Hot pile: minimum size
3 ft x 3 ft x 3 ft (1 cubic yard).
Hot pile: target temperature
131 to 160 F (55 to 71 C).
Hot pile: pathogen kill
131 F (55 C) held for 5 consecutive days (USDA standard).
Hot pile: timeline
4 to 8 weeks with weekly turning.
Finished compost: C:N
10:1 to 20:1. Smells earthy. Crumbles like soil.
| Symptom | Cause | Fix |
|---|---|---|
| Ammonia smell (sharp, urine-like) | C:N too low (below 20:1). Surplus nitrogen escaping as gas. | Add dry carbon-rich browns: shredded cardboard or dry leaves in 3:1 ratio to greens. Turn to aerate. Do not add lime. |
| Rotten egg or sulfur smell | Anaerobic: no oxygen. Too wet or compacted. | Turn immediately to reintroduce air. Add dry porous browns between layers (straw, shredded card). Spread on tarp to dry if needed. |
| Sour or vinegar smell | Early-stage anaerobic fermentation from excess moisture. | Turn pile. Add dry shredded paper or dry autumn leaves to absorb moisture and restore air pockets. |
| No heat, pile won't warm up | Pile too small, too dry, C:N too high (too many browns), or no oxygen. | Check size (must be 3x3x3 ft). Check moisture (wrung-out sponge). Add greens if too carbon-heavy. Turn to aerate. |
| Slimy mat (usually grass clippings) | C:N too low, excess moisture, no air. Greens matted together. | Break mat apart. Add bulky dry browns to separate layers and absorb moisture. Never add a thick layer of grass clippings without mixing in browns. |
| Pile too dry, no activity | C:N likely high, moisture too low. Microbes dormant. | Water while turning until uniformly damp throughout. Add greens if also too carbon-heavy. |
| Pests (rats, raccoons) | Meat, dairy, cooked food or oil in the pile: attractant odours. | Remove problematic materials. Use enclosed bin with wire mesh. Bury kitchen scraps under 4 to 8 inches of dry browns. |
Never compost meat, fish, bones, dairy, cooked food, or oil in an open pile. These attract pests and generate hydrogen sulfide (the rotten egg smell) even in a correctly-balanced pile. If you want to compost cooked food, an enclosed tumbler or bokashi system is the right tool. The same applies to pet waste, which requires separate high-temperature treatment.
Finished compost passes three tests: it smells like earth (not ammonia and not rot), it crumbles rather than clumping, and you cannot identify the original materials. The C:N has fallen to roughly 10:1 to 20:1 and the most reactive nitrogen has stabilised. Applying immature compost to plants can burn roots because free ammonia in the unfinished material is still present. If you are not sure, leave it in a curing pile for 2 to 4 more weeks before use. Finished compost mixed into soil as a topdress or amendment adds organic matter, improves drainage in clay soils, improves moisture retention in sandy soils, and slowly releases nutrients as microbes continue breaking it down.