Why compost needs a ratio
Compost microbes eat carbon for energy and nitrogen to build their bodies, and they work fastest when the mix is about 30 parts carbon to 1 part nitrogen. Greens, like grass clippings and food scraps, are rich in nitrogen. Browns, like dry leaves and straw, are rich in carbon. A pile with the right ratio heats up fast and turns into dark compost in weeks.
Get the ratio wrong and the pile still works, but slowly. Too much green makes a wet, smelly pile, because the extra nitrogen turns into ammonia. Too much brown makes a dry pile that sits for months, because the microbes run out of nitrogen and stop working. The ratio is the fastest way to fix a pile that is not working.
How to use the calculator
Pick your green material and type how many kilos you have, then pick your brown material and type its kilos. The tool shows your carbon-to-nitrogen ratio, and a bar shows where it sits on the scale. The ideal range is 25 to 30 to 1.
If your pile is too green, the tool tells you how many kilos of brown to add to reach 30 to 1. Add it, mix the pile well, and water it until it feels like a wrung-out sponge. Turn the pile once a week, and check the ratio again when you add new material.
Worked example
Take 10 kilos of grass clippings, which have a ratio of 20 to 1, and 10 kilos of dry leaves, which have a ratio of 60 to 1. The mixed ratio is the weighted average: 10 times 20 is 200, plus 10 times 60 is 600, which is 800, divided by 20 kilos, which is 40 to 1. That is too brown, so the pile will work slowly.
To reach 30 to 1, you need 3.3 kilos more leaves on top of the 10 kilos of grass: 10 times 20 plus 3.3 times 60 is 200 plus 200, which is 400, divided by 13.3 kilos, which is 30 to 1. A mix of 5 kilos of grass and 15 kilos of leaves gives 50 to 1, which is far too brown and needs much more green.
Who uses this calculator
Home gardeners use it most, when a compost pile smells bad or will not heat up. The ratio is usually the fix, and the tool shows exactly how much brown or green to add. Allotment gardeners use it at the start of the season, when they have a big pile of leaves and a small pile of grass, and they need to know if it will work.
School gardens use it to teach children about carbon and nitrogen with real numbers from their own lunch scraps and leaves. Anyone with a compost bin will use it a few times a year, whenever the pile changes or a new material goes in.
Honest limitations
The ratios in this tool are typical values, not lab tests. Real grass varies with the season, real leaves vary with the tree, and wet material weighs more than dry material, so the same kilos can give a different ratio. Treat the result as a guide: if the pile smells, add brown; if it sits cold, add green and water.
The tool also counts only two materials at a time. A real pile has many materials, and the true ratio is the average of all of them. Add the biggest two materials first, then adjust by feel. The tool cannot test for weed seeds, diseased plants, or chemicals, so keep those out of the pile.
Frequently asked questions
What is the ideal compost ratio? About 25 to 30 parts carbon to 1 part nitrogen. That is the range where microbes work fastest and the pile heats up well.
What counts as green? Fresh, wet, nitrogen-rich material: grass clippings, food scraps, coffee grounds, and manure. Greens are usually soft and moist.
What counts as brown? Dry, carbon-rich material: dry leaves, straw, cardboard, and sawdust. Browns are usually dry and stiff, and they add air to the pile.
My pile smells bad. What do I do? Add browns and turn the pile. A bad smell usually means too much green and too little air, and dry leaves or straw fix both at once.
También disponible en español: Proporcion de Compost
