What is the right compost ratio of browns to greens?
Aim for about 25–30 parts carbon to one part nitrogen by dry weight when building a fresh pile. That is a chemical balance, not a count of brown buckets versus green buckets. The University of Hawaiʻi's feedstock-volume guide makes the same distinction: the amount to mix depends on the ingredients. A bucket of wet vegetable scraps and a bucket of loose straw carry very different amounts of dry material.
Start with the materials you actually have, including the leaves or cardboard already in the pile. The result estimates that whole mix. Then choose an ingredient in “Balance this pile” to calculate an addition. The tool aims at 27.5:1, the middle of the target band, and leaves an already balanced recipe alone. A ratio outside that narrow band does not make a pile unusable: NC State Extension gives a broader workable range of 20–40:1.
“Green” means relatively nitrogen-rich, not pure nitrogen; “brown” means relatively carbon-rich, not pure carbon. That is why adding more of the wrong ingredient cannot fix a mix. If a pile is at 17:1, another ingredient at 19:1 cannot bring it to 27.5:1, however many buckets you add. The calculator reports that limit.
How many leaves do I need for grass clippings?
With the reference values here, one loose bucket of fresh clippings needs about 0.8 buckets of leaves to reach 27.5:1. Change the ingredients and the answer changes. The table applies the same calculation to vegetable scraps, cardboard and straw. Every row starts with one bucket of the green and no other material; these are complete two-ingredient recipes, not extra amounts to add to an existing mixed pile.
| Start with 1 bucket | Add this brown | Brown buckets | Resulting moisture |
|---|---|---|---|
| Fresh grass clippings | Fall leaves | 0.8 | 69% · wet |
| Fresh grass clippings | Corrugated cardboard | 0.2 | 73% · wet |
| Fresh grass clippings | Loose straw | 1.3 | 70% · wet |
| Vegetable scraps | Fall leaves | 1.6 | 79% · wet |
| Vegetable scraps | Corrugated cardboard | 0.4 | 82% · wet |
| Vegetable scraps | Loose straw | 2.8 | 81% · wet |
Computed at 27.5:1 using the reference table below. Same-size buckets; brown amounts rounded to a tenth. Moisture uses the unrounded recipe and is an estimate.
Measure leaves as you will actually load them. A bucket loosely filled from a leaf pile is different from one stomped down to fit the last armful. Likewise, measure straw after breaking apart the bale. The calculator's optional bucket weights let you replace that assumption without changing the size of your batch.
Why “three browns to one green” is only a starting point
A fixed volume rule hides the packing. In the next table the recipe stays at one bucket of grass and one bucket of leaves, while the leaf density changes across the handbook's published loose-leaf range. The grass, moisture percentages and ingredient chemistry stay fixed. The ratio moves because a heavier leaf bucket contributes more dry carbon and nitrogen.
| Leaf density | Leaves per 5-gal bucket | Mix C:N | Moisture |
|---|---|---|---|
| 100 lb/cu yd | 2.5 lb | 24.6:1 | 72% |
| 200 lb/cu yd | 5.0 lb | 29.7:1 | 66% |
| 300 lb/cu yd | 7.4 lb | 33.2:1 | 62% |
One 5-US-gallon bucket of each material; grass density 350 lb/cu yd. Leaf moisture held at 38%. The highlighted row is the calculator's default.
Weighing a bucket is useful because it measures your packing instead of guessing at it. Subtract the empty container, then enter the net material weight under “Adjust moisture or weigh a bucket.” In metric mode the reference container is 10 liters. A small sample should represent the material you are actually using, not just the lightest leaves at the top. This improves the mass estimate; it does not measure the carbon or nitrogen content.
How does the compost C:N calculation work?
The engine follows the Cornell Composting mass-balance method. For each ingredient, volume times wet bulk density gives wet weight. Removing its water fraction gives dry weight. Dry weight times nitrogen percentage gives nitrogen; multiplying that nitrogen by the ingredient's C:N gives carbon. Finally, divide the combined carbon by the combined nitrogen. “Show the math” lists these contributions for your batch.
Equal buckets of our 17:1 grass and 54:1 leaves produce about 29.7:1 using their actual reference mass contributions. The engine adds the estimated 2.39 lb of carbon and 0.081 lb of nitrogen separately. Giving each ingredient ratio an equal vote throws away the different bucket weights, water contents and dry nitrogen concentrations.
The addition calculation uses the same totals in reverse. It solves for the amount of the selected ingredient that brings the combined carbon divided by combined nitrogen to 27.5. It keeps the material already entered. If the selected ingredient is on the same side of the target as the pile, it asks you to choose another rather than printing a negative quantity.
Compost materials: C:N, moisture and bucket weight
These are representative feedstock values, not laboratory measurements of your yard waste. The On-Farm Composting Handbook, Table A.1 supplies the chemistry and most physical values. Straw uses the density and moisture pair from Cornell's physical-characteristics table. The six presets are deliberately limited to materials for which the calculation's inputs can be traced.
| Material | C:N | N, dry % | Water % | lb / 5-gal bucket |
|---|---|---|---|---|
| Fresh grass clippings | 17:1 | 3.4 | 82 | 8.7 |
| Vegetable scraps | 19:1 | 2.7 | 87 | 39.2 |
| Fall leaves | 54:1 | 0.9 | 38 | 5.0 |
| Corrugated cardboard | 563:1 | 0.1 | 8 | 6.4 |
| Loose straw | 80:1 | 0.7 | 4.7 | 1.2 |
| Woody shrub trimmings | 53:1 | 1.0 | 15 | 10.6 |
Water is a percentage of wet weight; nitrogen is a percentage of dry weight. Bucket weights are computed from wet density. Grass and leaves use the midpoint of their loose-density ranges, with the handbook's general moisture values.
The estimates combine representative figures, not measurements from a single sample. Leaves vary with species, rain and storage; cardboard varies with packing and soaking. Woody shrub trimmings are not interchangeable with leafy green hedge shoots. Coffee grounds and sawdust are not selectable here: a published C:N figure alone does not supply the other inputs needed for a defensible bucket calculation. Do not substitute another preset just to include them.
My compost ratio is right. Why is the pile still wet?
C:N and moisture are separate balances. Cornell's moisture guidance uses about 50–60% water by wet weight as a practical target. A dry carbon source may fix the nutrient balance before it has absorbed or diluted enough of the water. Wetness also depends on rain and any water you add after building the pile, neither of which these initial ingredient volumes measure.
Our example starts with three buckets of grass and one of leaves. Adding about 1.3 more buckets of leaves brings it to 27.5:1, but estimated moisture is still 69%. The result therefore keeps its moisture warning after the C:N adjustment. The green ratio status is not an all-clear for the pile.
Check a handful from inside the mix. It should feel damp rather than release a stream of water when squeezed. If it is soggy, open up matted material, protect it from more rain, and mix in a dry, porous ingredient as needed. Recalculate when adding that ingredient: fixing wetness may move C:N outside the narrow target, which is preferable to pretending a waterlogged pile is ready.
Why is my compost smelly or not heating up?
Use the ratio as one clue, then inspect the pile. Colorado State's composting guidance distinguishes excess nitrogen from a lack of air and explains why moisture, particle size and pile size also matter.
- Ammonia smell: check for excess fresh greens and a low C:N estimate. Mix in a suitable carbon source.
- Rotten smell or slimy mats: check water and air first. Break up packed clippings; a good ratio cannot supply oxygen.
- Dry, unchanged material: moisten and mix it. Adding nitrogen to dry leaves does not replace the missing water.
- A cool pile: check moisture, air, size and weather before adding anything. A small or cold pile can decompose slowly without becoming hot.
Mix ingredients through the pile rather than leaving thick grass or cardboard layers. Use plain cardboard with tape removed. Keep meat, fats, pet waste and plastic out of this backyard recipe, and follow product-label composting restrictions for treated lawn clippings. A calculated ratio does not demonstrate that weed seeds or pathogens have been destroyed.
Is this a calculator for finished compost too?
No: this estimates the feedstocks going into a new pile. Decomposition changes their mass and chemistry. According to Oregon State's compost-analysis guide, C:N alone is an unreliable test of maturity. A low ratio does not establish that compost has finished curing or is ready for seedlings.
Once your compost is ready, its next job is a volume calculation. The raised bed soil calculator sizes a bed and its compost share. The soil blend calculator scales a finished mix recipe. For a surface layer, the mulch comparison explains the different materials.
Calculation: Nancy Trautmann and Tom Richard, Cornell Composting, C/N Ratio and Moisture Content. Feedstocks: NRAES-54 Appendix A, Table A.1 and Cornell Table 6. Sources and assumptions checked October 30, 2026.