Compost C:N Ratio and Mix Calculator

List each material and its weight from grass, food scraps, manures, leaves, straw, cardboard and wood, and get the mix C:N ratio, moisture and a fix.

Runs in your browser. Your files never leave your device. See how to check

…

How to do it

  1. 1
    List materials

    Name and weight.

  2. 2
    Set a target

    Usually 30:1.

  3. 3
    Read the ratio

    And moisture.

  4. 4
    Adjust the mix

    Add greens or browns.

  5. 5
    Build the pile

    And turn it.

About this tool

Compost microbes need carbon for energy and nitrogen for growth, in a ratio of about 25 to 30 parts carbon to 1 part nitrogen. Nitrogen-rich "greens" such as grass clippings, food scraps and manure have low ratios; carbon-rich "browns" such as dry leaves, straw, cardboard and wood chips have high ones. A mix that is too green smells of ammonia; one that is too brown barely heats up. Because materials differ in moisture and nitrogen content, the right mix is a weighted calculation. This calculator does it with typical values from the On-Farm Composting Handbook.

Who this is for

Home gardeners, community gardens, allotment holders, small farms and schools.

How the mix is calculated

For each material: dry weight = fresh weight × (1 − moisture). Nitrogen = dry weight × %N. Carbon = nitrogen × C:N. The mix ratio = total carbon / total nitrogen. Moisture of the mix is the total water divided by the total weight.

Typical values used

Grass clippings 17:1, food scraps 15:1, coffee grounds 20:1, cow manure 19:1, horse manure with bedding 30:1, chicken manure 8:1, hay 25:1, autumn leaves 54:1, straw 80:1, cardboard 350:1, newspaper 400:1, sawdust 440:1 and wood chips 500:1. Real materials vary, so treat these as starting points.

Moisture

A good pile is 40% to 65% moisture, like a wrung-out sponge. Too dry and microbes stop; too wet and the pile goes anaerobic and smells.

Fixing the mix

If the ratio is above your target, the calculator suggests how much grass clippings to add; if below, how much straw. Any similar material works.

A worked example

40 kg grass, 30 kg leaves, 20 kg food scraps and 5 kg cardboard give about 36:1 at 61% moisture: a good balance for hot composting, slightly on the brown side.

Building the pile

Aim for at least 1 cubic metre so it holds heat. Layer or mix greens and browns, water dry layers and turn every week or two. A hot pile reaches 55 to 65 °C.

## Troubleshooting If the pile smells of ammonia, add browns such as leaves, straw or shredded cardboard. If it smells rotten, it is too wet or compacted: turn it and mix in dry browns. If it stays cold, check moisture first, then add greens and make the pile bigger. Fruit flies and rodents are discouraged by burying food scraps in the middle and avoiding meat and dairy.

Finished compost

Compost is ready when it is dark, crumbly, smells earthy and the original materials are no longer recognisable, typically after two to six months for hot compost. Let it cure for a few weeks before using it around young plants.

## Particle size Shred large items so microbes can reach them.

Limits

Values are typical averages, not lab analyses. Avoid meat, dairy and diseased plants in home piles. General information only.

Worked example

40 kg grass, 30 kg leaves, 20 kg food and 5 kg cardboard give about 36:1 at 61% moisture.

Quick facts

Frequently asked questions

What C:N ratio is best for compost?

About 25 to 30:1.

What are greens and browns?

Nitrogen-rich and carbon-rich materials.

Why does my compost smell?

Usually too much nitrogen or too much water.

Why is my pile not heating?

Often too much carbon, too dry, or too small.

How wet should compost be?

About 40% to 65%, like a wrung-out sponge.

Is my data stored?

No. All of it stays in your browser.

Guides for this tool

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages