• Practice
  • About 17 min
  • 5 practice questions

Composting calculations: C:N ratio, moisture and yield

Calculate the C:N ratio and moisture of a compost mix, find how much of each material to add, and diagnose problems from smell and temperature.

If something looks wrong, please tell us.

Composting questions at the practice level move from 'what is composting' to 'how do you make it work'. That means numbers: the carbon-to-nitrogen balance, moisture, temperature and yield. The calculations are short, but each hides one trap. Learn the method once and these become quick marks.

The C:N ratio

Microbes use carbon as their energy source and nitrogen to build proteins. Composting runs best when the starting mix has a carbon-to-nitrogen (C:N) ratio of roughly 25 to 30 parts carbon for each part nitrogen. Greens such as food waste, fresh grass and dung have low C:N ratios (nitrogen-rich); browns such as dry leaves, straw, sawdust and paper have high ratios (carbon-rich). If the ratio is too high, there is not enough nitrogen and decomposition is slow. If it is too low, surplus nitrogen escapes as ammonia, giving a sharp smell and wasting nutrients.

The trap: the C:N of a mixture is NOT the average of the two ratios. You must add up the carbon and add up the nitrogen separately, then divide: C:N of mix = total carbon / total nitrogen.

Moisture and temperature

A starting moisture of roughly 50-60% suits most piles. Below that, microbes slow down; above it, water fills the pores, air cannot get in, and the pile turns anaerobic and smelly. The moisture of a mix is a weighted average: add the water in each material and divide by the total mass. A well-made pile heats up; a hot (thermophilic) phase, around 55 degrees Celsius or more, kills most pathogens and weed seeds, then the pile cools and matures.

Worked example 1: the averaging trap

Illustrative figures per kg of material: greens contain 0.30 kg carbon and 0.02 kg nitrogen (C:N 15); browns contain 0.30 kg carbon and 0.005 kg nitrogen (C:N 60). Mix 1 kg of each. Carbon = 0.30 + 0.30 = 0.60 kg. Nitrogen = 0.02 + 0.005 = 0.025 kg. C:N = 0.60 / 0.025 = 24. The averaging trap gives (15 + 60) / 2 = 37.5, which is wrong.

Worked example 2: how much brown to add

Same materials. How many kg of browns (x) must be added to 1 kg of greens for C:N = 30? Carbon = 0.30 + 0.30x; nitrogen = 0.02 + 0.005x. Set 0.30 + 0.30x = 30 x (0.02 + 0.005x) = 0.60 + 0.15x. So 0.15x = 0.30, and x = 2 kg. Check: carbon = 0.90 kg, nitrogen = 0.03 kg, ratio 30. Speed tip: write the equation as carbon = target x nitrogen and collect the x terms on one side.

Worked example 3: moisture of the mix and yield

Illustrative figures: 60 kg of greens at 80% moisture are mixed with 40 kg of browns at 10% moisture. Water = 0.80 x 60 + 0.10 x 40 = 48 + 4 = 52 kg. Moisture = 52 / 100 = 52%, inside the 50-60% range. If composting leaves 35% of the starting mass as finished compost, the 100 kg mix yields 35 kg.

C:N of a mix = total carbon / total nitrogen, never the average of the ratios. Aim for roughly 25-30:1 and 50-60% moisture; ammonia means too much nitrogen, rotten-egg smell means too wet or too little air.

Key takeaways

  • Greens are nitrogen-rich; browns are carbon-rich.
  • Add carbon and nitrogen separately to get the mixture's ratio.
  • Moisture of a mix is total water divided by total mass.
  • A hot phase sanitises the compost; turning restores air.

Key takeaways: set up composting sums as totals of carbon, nitrogen and water, and read smells as clues to which one is out of balance.

Check your understanding

  1. 1. A compost pile gives off a strong smell of ammonia. What is the most likely cause and fix?

    1. Too much nitrogen; add carbon-rich browns
    2. Too much carbon; add more dry leaves
    3. Too little water; add sawdust
    4. Too much air; cover the pile tightly
    Show answer

    Answer: A. Ammonia escapes when nitrogen is in surplus, meaning the C:N ratio is too low. Adding browns raises carbon and restores balance.

  2. 2. Illustrative figures: 1 kg of material P has 0.40 kg carbon and 0.02 kg nitrogen; 1 kg of material Q has 0.40 kg carbon and 0.008 kg nitrogen. What is the C:N ratio of a mix of 1 kg of each?

    1. 35:1
    2. 70:1
    3. 20:1
    4. About 28.6:1
    Show answer

    Answer: D. Carbon = 0.80 kg; nitrogen = 0.028 kg; 0.80 / 0.028 = about 28.6. 35:1 is the wrong average of 20 and 50.

  3. 3. Illustrative figures: 30 kg of food waste at 70% moisture is mixed with 20 kg of dry leaves at 20% moisture. What is the moisture of the mix?

    1. 45%
    2. 50%
    3. 90%
    4. 40%
    Show answer

    Answer: B. Water = 0.70 x 30 + 0.20 x 20 = 21 + 4 = 25 kg. Total = 50 kg. Moisture = 25 / 50 = 50%. 45% is the wrong simple average.

  4. 4. Why is the hot (thermophilic) phase of composting useful?

    1. It turns plastics into compost
    2. It stops all microbial activity permanently
    3. It converts compost into methane fuel
    4. It kills most pathogens and weed seeds
    Show answer

    Answer: D. Temperatures around 55 degrees Celsius or more sanitise the compost. Plastics are not composted, and methane is made in anaerobic digestion, not in a hot aerobic pile.

  5. 5. Illustrative figures: greens have 0.30 kg carbon and 0.02 kg nitrogen per kg; browns have 0.45 kg carbon and 0.0075 kg nitrogen per kg. How many kg of browns must be added to 3 kg of greens for a C:N of 30?

    1. 3 kg
    2. 6 kg
    3. 4 kg
    4. 2 kg
    Show answer

    Answer: C. Carbon = 0.90 + 0.45x; nitrogen = 0.06 + 0.0075x. 0.90 + 0.45x = 30(0.06 + 0.0075x) = 1.80 + 0.225x, so 0.225x = 0.90 and x = 4 kg. Check: carbon 2.70, nitrogen 0.09, ratio 30.

Privacy · Terms · Refunds · Delivery