Check Your Compost Mix Before You Build the Pile
This tool was built by Serge (MSc) using established science and government sources. My academic background covers Biogeochemistry, Forest Science, Environmental Biology, and Plant Biology, and my field research directly measured soil carbon and tree growth in open-air experiments. My tools are for educational purposes and give practical guidance, not professional advice.
Compost microbes work best at a balance of roughly 30 parts carbon to 1 part nitrogen, in a pile that is damp but not soggy.
Too much nitrogen and the pile turns smelly and slimy. Too much carbon and it sits cold and barely breaks down.
I built this tool so you can enter everything going into your bin, up to ten materials, and see where the whole mix sits for carbon to nitrogen and for moisture. If it is off, it tells you how many buckets of browns, greens or water to add to bring it back into range.
How This Works
Every compost material has a typical carbon to nitrogen ratio, a typical nitrogen content and a typical water content. Browns like leaves, straw and cardboard are high in carbon and fairly dry. Greens like scraps, grass and manure are high in nitrogen and wet.
A bucket of grass also weighs several times more than a bucket of dry leaves. So instead of comparing buckets directly, this tool turns each bucket into an approximate weight, removes the water to find the dry matter, and then adds up the carbon and nitrogen in every material.
The mix ratio is the total carbon divided by the total nitrogen, which is how composting guides calculate it. The same figures give an estimate of the moisture of the whole pile.
If the mix falls outside the target, the tool works out how many buckets of one of your own browns or greens would bring it back to about 30 to 1. If you have not entered a brown or a green, it uses straw or grass clippings as the example. If the pile is too dry, it also tells you roughly how many litres of water to add.
Understanding Your Result
A result between about 25 and 35 to 1 means your mix should heat well and break down without smell.
A result well below 25 means too much nitrogen. The pile may go smelly and wet, so add more browns. A result well above 35 means too much carbon. The pile may sit cold and slow, so add more greens.
Government composting guidance gives a wider workable range of 20 to 40 to 1, so a result just outside 25 to 35 will still compost, only more slowly or with a little more smell.
For moisture, aim for roughly 40 to 65 percent, with around 50 to 60 percent ideal. Below 40 percent the microbes slow down, which is the most common reason a heap stalls. Above 65 percent air cannot get in and the pile turns sour.
In the hand, the right moisture feels like a wrung-out sponge. The pile itself is the final judge, so watch it and adjust, but this gets you close before you start.
Important Limitations
This is an estimate, not a measurement. The carbon, nitrogen, water and weight figures for each material are typical reference values, and your own materials will differ with their age, dryness, how tightly you pack the bucket and where they came from.
Fresh grass is much wetter than grass that has sat for a day, and wood chips vary a great deal. The tool also cannot account for particle size, how well you mix and turn the pile, or the weather, all of which affect how the compost behaves.
Use the result to set up a sensible mix, then let the pile guide your adjustments.
Scientific Basis
The 30 to 1 target and the browns and greens approach come from established composting science.
The United States Environmental Protection Agency states that the ideal mix is roughly three parts browns to one part greens by volume, which works out to about 30 to 1 carbon to nitrogen, and that a mismatched ratio can lead to odours, pests, or incomplete decomposition.
The United States Department of Agriculture's Natural Resources Conservation Service recommends a starting ratio of 20 to 1 up to 40 to 1 for rapid composting, and a moisture content in the range of 40 to 65 percent.
The mix calculation in this tool follows the same method these guides use, adding up the carbon and nitrogen of each material by dry weight. See the official sources below.
- EPA, Approaches to Composting (carbon-to-nitrogen ratio and the 30 to 1 target)
- USDA NRCS, National Engineering Handbook Part 637, Chapter 2: Composting (the 20 to 1 to 40 to 1 range and the 40 to 65 percent moisture range)
Related Reading
For the full method, the browns and greens reference tables, batch recipes, and a symptom to cause to fix troubleshooting matrix, see my Compost C:N Ratio and Troubleshooting Pack, along with my composting articles.
- Compost C:N Batch Planner (30 materials, printable recipe cards and a batch history log)
- I Dug Up My Garden and the Soil Looks Grey and Dead (putting your finished compost to work)
- Soil Amendment Calculator (how much finished compost to add to your beds)
This calculator is for general educational use. It gives an estimate to help you plan a compost mix, and is not a substitute for professional or laboratory analysis. Results depend on your own materials and conditions.







