Home / Tools / Compost Mix Calculator
Free tool

Compost Mix Calculator

Layers of green and brown material inside a home compost bin
Free · no sign-upUpdated November 19, 2026
Quick answer

Aim for a carbon-to-nitrogen ratio near 25–30 parts carbon to 1 part nitrogen. By weight, that works out to roughly 1.7 parts browns (dry leaves, cardboard) for every 1 part greens (kitchen scraps, fresh grass). 10 kg of each gives a ratio of about 25:1.

Compost mix calculator

Enter the weight of greens and browns in your heap. The result updates as you type.
kg
kg
Estimated carbon-to-nitrogen ratio-

Typical values are used: greens average about 15 parts carbon to 1 part nitrogen, browns about 60 to 1. Real materials vary, so treat the result as a guide, not a lab test. By volume, the old rule is 2 to 3 buckets of browns for every bucket of greens.

A compost heap is a living thing, and like any living thing it needs a balanced diet. The microbes that do the rotting need carbon for energy and nitrogen to build their bodies, and the balance between the two — the carbon-to-nitrogen ratio, or C:N — decides whether the heap rots quickly, slowly, or starts to smell.

This calculator estimates that ratio from what you put in. Enter the weight of your greens (kitchen scraps, fresh grass, soft leaves) and browns (dry leaves, cardboard, straw), and it shows the estimated C:N, whether the mix is balanced, and how much of the missing side to add.

A home compost bin beside a vegetable bed
A balanced heap rots fast and smells of earth, not of anything worse.

What the carbon-to-nitrogen ratio means

The C:N ratio compares the weight of carbon in a material to the weight of nitrogen. Fresh grass and kitchen scraps are nitrogen-rich, with ratios around 15:1 — lots of nitrogen, little carbon. Dry leaves and cardboard are carbon-rich, around 60:1. A heap made of only one side struggles: all greens turns wet and smelly, all browns sits there barely changing.

The target for a working heap is roughly 25 to 30 parts carbon to each part nitrogen. That range keeps the microbes fed and active without the excess nitrogen that causes smells. This calculator uses typical values — greens at 15:1, browns at 60:1 — to estimate where your mix sits.

Worked example: 10 kg of greens, 10 kg of browns

Take 10 kg of kitchen scraps and grass, and 10 kg of dry leaves and cardboard. The greens hold about 4.5 kg of carbon and 0.3 kg of nitrogen; the browns hold about 5 kg of carbon and 0.08 kg of nitrogen. Add them up: 9.5 kg of carbon against 0.38 kg of nitrogen, a ratio of 25:1 — right at the edge of the ideal range.

To reach exactly 30:1 you would add about 7 kg more browns, bringing the total to roughly 17 kg of browns against 10 kg of greens. In practice, anywhere from 25:1 to 30:1 rots well, so the extra browns are a refinement, not a rescue.

Hands holding dark, crumbly finished compost
Finished compost is dark, crumbly and sweet-smelling — the reward for getting the mix right.

Greens and browns: what counts as what

Greens are fresh, soft and usually damp: vegetable peelings, fruit scraps, coffee grounds, fresh grass clippings, soft weeds that have not set seed, and manure from plant-eating animals. They are the nitrogen side, and they also add the moisture a heap needs.

Browns are dry, stiff and usually brown: fallen leaves, shredded cardboard and newspaper, straw, dry stems, sawdust from untreated wood, and twigs. They are the carbon side, and they also keep the heap open so air can reach the middle. Shred or tear browns small — a whole sheet of cardboard mats together and blocks air, while torn pieces mix in.

When the heap smells or stalls

A heap that smells of ammonia or rotten eggs is usually too green and too wet. The fix is browns and air: fork in dry leaves or torn cardboard, turn the heap to let air in, and leave the lid off in dry weather so some moisture escapes. The smell usually fades within days.

A heap that sits unchanged for months is usually too brown and too dry. Add greens and water: a bucket of kitchen scraps and a good soaking, turned in well, usually restarts it. In a cold winter, even a balanced heap slows down — that is normal, and it picks up again in spring.

Key takeaways

  • Aim for a C:N ratio near 25–30:1 — enough nitrogen to feed microbes, not so much that it smells.
  • By weight, that is roughly 1.7 parts browns for every 1 part greens.
  • 10 kg of greens plus 10 kg of browns gives about 25:1 — already in range.
  • Smelly heap means too green and wet; stalled heap means too brown and dry.

Frequently asked questions

What is a good carbon-to-nitrogen ratio for compost?

About 25 to 30 parts carbon to 1 part nitrogen. Below 20:1 the heap tends to smell; above 35:1 it rots very slowly. A mix of equal weights of greens and browns lands near 25:1.

How much brown material should I add to compost?

By weight, roughly 1.7 parts browns for every 1 part greens reaches 30:1. By volume, the old rule is 2 to 3 buckets of browns per bucket of greens, because browns are light and bulky.

Why does my compost heap smell?

Usually too many greens and too much water, which drives out the air and lets the wrong microbes take over. Fork in dry browns such as torn cardboard or leaves, turn the heap, and let it dry a little.

Can I compost grass clippings on their own?

Not well — fresh grass is a green, and a heap of it alone mats together, heats up, then turns slimy and smelly. Mix each load of clippings with roughly twice its volume of browns such as dry leaves or shredded cardboard.

Calculator results are estimates based on the figures you enter and the typical values shown. Real soil, compost and watering needs vary with your soil, climate and plants — treat the result as a starting point, then adjust from what you see in your own garden.

Built by Nora Bennett. Last updated November 19, 2026. How we write.
Back to top ↑