Home / Tools / Compost Mix Calculator
Free tool

Compost Mix Calculator

Kitchen scraps and dry leaves stacked in layers inside a garden compost bin
Free · no sign-upUpdated December 3, 2026
Quick answer

The heap rots best when carbon outweighs nitrogen by roughly 25 to 30 parts to 1. Weighed out, that means about 1.7 parts browns — dry leaves, cardboard — for every 1 part greens — kitchen scraps, fresh grass. Equal weights of 10 kg each land near 25:1.

Compost mix calculator

Type in how much green and brown material is in your heap, by weight. The answer changes as you type.
kg
kg

Estimated carbon-to-nitrogen ratio-

The calculator works from typical values: greens average near 15 parts carbon to 1 part nitrogen, browns near 60 to 1. Real materials vary from batch to batch, so treat the result as a rough guide, not a lab reading. By volume, allow 2 to 3 buckets of browns for every bucket of greens.

A working compost heap behaves like a living thing, and it needs a balanced diet to do its job. The microbes behind the rotting burn carbon for energy and use nitrogen to build their bodies, so the balance between the two — the carbon-to-nitrogen ratio, or C:N — decides whether the heap breaks down quickly, slowly, or starts to smell.

Put in the weight of greens and browns in your heap, and the calculator estimates the C:N ratio, judges the balance, and works out how much of the missing side to add.

A compost bin standing beside a vegetable bed
When greens and browns are in balance, the heap breaks down quickly and smells of earth, nothing worse.

What the carbon-to-nitrogen ratio means

A C:N ratio weighs the carbon in a material against its nitrogen. Fresh grass and kitchen scraps carry plenty of nitrogen and little carbon, sitting near 15:1, while dry leaves and cardboard carry plenty of carbon and little nitrogen, near 60:1. A heap made from one side only struggles: greens alone turn wet and smelly, while browns alone barely change at all.

A heap that breaks down well wants roughly 25 to 30 parts carbon for each part nitrogen. That band keeps microbes fed and busy without the spare nitrogen that causes smells. The calculator works from typical values — greens near 15:1, browns near 60:1 — to place your mix on that scale. Material ratios also shift with the season: autumn brings a glut of browns from fallen leaves, while summer brings greens from grass cuttings, so the heap's balance moves through the year.

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

Picture a heap with 10 kg of kitchen scraps and grass on one side and 10 kg of dry leaves and cardboard on the other. The green half contributes about 4.5 kg of carbon and 0.3 kg of nitrogen; the brown half adds about 5 kg of carbon and 0.08 kg of nitrogen. Together the heap holds 9.5 kg of carbon against 0.38 kg of nitrogen, giving a ratio of 25:1 — at the lower edge of the ideal band.

Reaching exactly 30:1 takes about 7.3 kg more browns, taking the total to roughly 17.3 kg of browns against 10 kg of greens. Anywhere from 25:1 to 30:1 breaks down well in practice, so the extra browns refine the mix rather than rescuing it.

Greens and browns: what counts as what

Greens are the fresh, soft, damp materials: peelings and fruit scraps, coffee grounds, fresh grass clippings, soft weeds picked before they set seed, and manure from plant-eating animals. They supply the nitrogen side of the mix, and they carry most of the moisture the heap needs as well. Coffee grounds count as greens too, despite their brown colour, and they bring nitrogen without adding bulk.

Browns are the dry, stiff side: fallen leaves, shredded cardboard and newspaper, straw, dry stems, sawdust from untreated wood, and twigs. They supply the carbon and keep the heap open, so air reaches the middle. Cut browns small before adding them: a whole cardboard sheet mats together and stops air getting through, while torn pieces mix in easily.

When the heap smells or stalls

If the heap smells of ammonia or rotten eggs, it is usually too green and too wet. The remedy is browns plus air: fork in dry leaves or torn cardboard, turn the heap well, and leave the lid off when the weather is dry so moisture escapes. Give it a few days, and the smell should fade.

When a heap barely changes for months, it is usually too brown and too dry. A bucket of kitchen scraps with a thorough soaking, turned in well, usually gets it going again. Cold winter weather slows even a balanced heap, which is normal — it quickens again in spring.

Hands cupping dark, crumbly compost that is ready to use
Finished compost turns out dark, crumbly and sweet-smelling — the reward for a balanced mix.

Key takeaways

  • Hold the C:N ratio close to 25–30:1, giving microbes enough nitrogen without tipping into smells.
  • On the scales, that works out at about 1.7 parts browns to each part of greens.
  • Ten kilos of greens with ten kilos of browns gives about 25:1 — already in range.
  • A smelly heap needs browns and air; a stalled heap needs greens and water.

Frequently asked questions

What carbon-to-nitrogen ratio should compost aim for?

Aim for roughly 25 to 30 parts carbon for each part nitrogen. Below 20:1 the heap often starts to smell, while above 35:1 it breaks down very slowly. Equal weights of greens and browns usually land near 25:1 and heat up within a few days, a good sign the microbes are working.

How much brown material belongs in a compost heap?

On the scales, roughly 1.7 parts browns to 1 part greens reaches 30:1. By the bucket, allow 2 to 3 buckets of browns per bucket of greens, because dry material is light and bulky.

Why does my compost heap smell?

Most often the heap holds too many greens and too much water, which squeezes out the air and lets the wrong microbes take over. Work in dry browns — torn cardboard or leaves — turn the heap over, and give it time to dry a little.

Can I compost grass clippings on their own?

Not on their own — a heap of fresh grass alone mats together, heats up, then turns slimy and smelly. Blend each load of clippings with roughly twice its volume of browns, like dry leaves or shredded cardboard.

The numbers this calculator shows are rough figures worked out from the measurements you enter and the standard values printed on the page. Real soil, weather and plants will move the true amounts around, so use the answer as a first guess and change it to match what you find in your own garden.

Built by Evelyn Marsh. Last updated December 3, 2026. How we write.
Back to top ↑