Skip to content
Nature and Farming

How do you make compost? An apple peel's journey back to the soil

In a compost heap an apple peel soon becomes unrecognisable, while a plastic bottle lasts for decades. We explain the chemistry of decay, why a compost heap warms up, how to work out a carbon-to-nitrogen ratio, and why landfills produce methane.

By Kuazara Science TeamPublished: Updated: 13 min read

In this article · 9 sections
A simple geometric drawing on a dark background: a cross-section of a compost heap in brown and green layers, with gold dots inside and curved arrows rising from the heap

The theme of COP31’s 11 November is Zero Waste (COP31 thematic days). This article looks at the science behind that theme: how does something become “waste”, and how does nature recover it?

Imagine peeling an apple in the kitchen. If you throw the peel onto a compost heap in the garden, within a few weeks or months you won’t recognise it; it has become part of a dark, earthy-smelling material. If you had thrown a plastic bottle cap onto the same heap, you would still find it there months later. Both are “rubbish”, but their fates are very different. In this article we look step by step at the chemistry of decay, why a compost heap warms up by itself, and how to work out a compost mix.

Nature has no waste, only cycles

Every year tonnes of leaves fall in a forest, yet the forest never overflows with leaves. That is because a fallen leaf is food for other living things. Bacteria, fungi, earthworms and small arthropods eat dead organic matter bit by bit. These organisms are called decomposers.

What decomposers do is essentially what we do: to release the chemical energy stored in food, they “burn” it with oxygen. This process is called cellular respiration:

C6H12O6+6 O2→6 CO2+6 H2O+energy\text{C}_6\text{H}_{12}\text{O}_6 + 6\,\text{O}_2 \rightarrow 6\,\text{CO}_2 + 6\,\text{H}_2\text{O} + \text{energy}

This equation is the reverse of the photosynthesis equation. A plant uses light energy to turn carbon dioxide from the air into sugar; a decomposer burns that sugar and returns the carbon to the air. Atoms are not destroyed; they only change place and form. (Our article on the conservation of mass explains this idea in detail.)

Nutrients such as nitrogen, phosphorus and potassium go back into the soil, where new plants take them up. This is nature’s “zero waste” system: one organism’s leftovers are another’s raw material.

Compost: speeding up nature’s method

Compost is an orderly decay environment in which we deliberately make the decomposers’ job easier. A good compost heap gives microbes four things: carbon, nitrogen, oxygen and water. According to Cornell University’s composting resources, when these four are in balance the heap heats up by itself and breaks down quickly.

1. Carbon and nitrogen: 30 to 1

Microbes use carbon both as an energy source and as a building block of their cells. Nitrogen is needed for molecules such as proteins and DNA. The usual starting target in composting is about 30 parts carbon to 1 part nitrogen by mass (C/N ≈ 30:1).

  • If the ratio is too low (too much nitrogen), the excess escapes as ammonia gas and the heap gives off a sharp smell.
  • If the ratio is too high (too much carbon), microbes cannot multiply enough; the heap stays cool and decay slows down.

In practice materials fall into two groups. Green, moist materials are rich in nitrogen; brown, dry materials are rich in carbon:

MaterialTypical C/N ratio
Vegetable and fruit scraps15–20 : 1
Grass clippings15–25 : 1
Coffee grounds20 : 1
Autumn leaves30–80 : 1
Straw40–100 : 1
Sawdust100–500 : 1
Newspaper, corrugated cardboard560 : 1

Source: Cornell Waste Management Institute, “Compost Chemistry” (from Dickson and colleagues, 1991).

2. Oxygen

Most decomposers respire with oxygen. Air is 21% oxygen; according to Cornell, these microbes can survive even when the oxygen in the heap drops to 5%, but above 10% is considered best. If the oxygen runs out, other microbes take over and gases such as hydrogen sulphide, with its rotten-egg smell, are produced. That is why turning the heap from time to time matters.

3. Water

Microbes can only live and feed inside a thin film of water. But if the heap is too wet, water fills the pores, air cannot get in and the heap loses its oxygen. In Cornell’s worked examples the moisture target is about 60%; above that, conditions without oxygen become likely. A good test is the feel of a wrung-out sponge that releases a few drops when squeezed.

4. Acidity

The best pH range for compost microbes is roughly 5.5 to 8.5. Most mixes stay within this range on their own.

Time for maths: the C/N ratio of a mix

Ratios cannot simply be added together. To find the ratio of a mix, you first work out the total mass of carbon, then the total mass of nitrogen, and divide one by the other:

C/Nmix=total carbontotal nitrogen\text{C/N}_{\text{mix}} = \frac{\text{total carbon}}{\text{total nitrogen}}

Let’s use the values from Cornell’s example: 45% of the dry mass of grass clippings is carbon and 2.4% is nitrogen; dry leaves are 50% carbon and 0.75% nitrogen. So the ratio for grass is 45÷2.4=18.7545 \div 2.4 = 18.75, and for leaves it is 50÷0.75≈66.750 \div 0.75 \approx 66.7.

Question: how many kg of (dry) leaves must be added to 10 kg of (dry) grass to give the mix a ratio of 30? Let the mass of leaves be xx:

10×0.45+x×0.5010×0.024+x×0.0075=30\frac{10 \times 0.45 + x \times 0.50}{10 \times 0.024 + x \times 0.0075} = 30 4.5+0.5x=30×(0.24+0.0075x)=7.2+0.225x4.5 + 0.5x = 30 \times (0.24 + 0.0075x) = 7.2 + 0.225x 0.275x=2.7⇒x≈9.8 kg0.275x = 2.7 \quad\Rightarrow\quad x \approx 9.8 \text{ kg}

Let’s check: total carbon is 4.5+4.9=9.44.5 + 4.9 = 9.4 kg, total nitrogen is 0.24+0.074≈0.310.24 + 0.074 \approx 0.31 kg; the ratio is 9.4÷0.31≈309.4 \div 0.31 \approx 30.

This calculation uses dry masses and ignores moisture. Real materials contain water, so Cornell uses a more detailed formula that includes moisture, which is why the amount of leaves it finds is different. But the idea is the same: you add up masses, not ratios.

Why does the heap warm up?

Remember the word “energy” at the end of the respiration equation. Part of the energy released by microbes passes into the heap as heat. If the heap is large, this heat cannot escape easily and the temperature rises. The typical process described by Cornell has three stages:

  1. Mesophilic stage (a couple of days): microbes that like moderate temperatures consume easily dissolved substances such as sugars and starch. The heat they produce makes the temperature rise quickly.
  2. Thermophilic stage (from a few days to several months): once the temperature passes about 40 °C, heat-loving (thermophilic) microbes take over. Decay is fastest between 40 and 60 °C. At 55 °C and above, many microbes that cause disease in people and plants are destroyed. If the temperature goes above about 65 °C, useful microbes start to die too, so large facilities cool the heap by aerating or turning it.
  3. Cooling and maturing (several months): when the easily broken-down substances are used up, the temperature falls. Cellulose and woody materials break down slowly, and finally a stable, dark organic material called humus forms.

Size matters. According to Cornell, a small soda bottle set-up peaks at about 30–40 °C, a well-designed bin of more than about 38 litres (10 gallons) reaches 40–50 °C within two to three days, and large municipal heaps can reach 60–70 °C. As the volume grows, heat production rises, but the heat lost through the surface does not rise as fast.

The C/N ratio also falls during the process. Each time microbes consume organic matter, about two thirds of the carbon is released into the air as carbon dioxide and one third becomes part of their cells. Most of the nitrogen stays in the heap. So a heap that starts at 30:1 ends up at about 10–15:1 when it becomes mature compost.

Without oxygen: what happens in a landfill?

If organic waste goes to a landfill where it is compacted and covered, the environment soon runs out of oxygen. Under these conditions a different community of microbes breaks down the organic matter, and the end product is not only carbon dioxide but also methane (CH₄). The US Environmental Protection Agency (EPA) says that landfill gas is roughly half methane and half carbon dioxide.

This difference matters for the climate. According to the values in the latest assessment report of the Intergovernmental Panel on Climate Change (IPCC), 1 kg of methane causes about as much warming over 100 years as 27–30 kg of carbon dioxide. The same apple peel releases its carbon mostly as CO₂ in a compost heap, but without oxygen it releases part of its carbon as a much stronger greenhouse gas.

The scale is not small either. According to the UN Environment Programme’s (UNEP) Food Waste Index Report 2024, 1.05 billion tonnes of food were wasted in retail, food services and households worldwide in 2022 (including inedible parts). That is about 132 kg per person, and 60% of the waste happens in households. The same source reports that food loss and waste generate 8–10% of annual global greenhouse gas emissions. UNEP’s Global Waste Management Outlook 2024 estimates that the world produced 2.1 billion tonnes of municipal solid waste in 2023 and projects that this could rise to 3.8 billion tonnes by 2050.

What about plastic?

An apple peel is made of cellulose, sugars and proteins. These are molecules that have existed in nature for millions of years, and decomposers have the enzymes to break them down. Plastics, on the other hand, are mostly polymers made from petroleum, built from long, repeating chains. Most microbes do not have enzymes that recognise these chains.

Plastics do not stay the same forever, though. Sunlight, heat and wave action slowly make them brittle and break them into smaller pieces. But the speed of this is very variable. A 2020 review by Chamas and colleagues converted published measurements into a common measure and reached these conclusions:

  • For high-density polyethylene (HDPE) in the sea, the estimated half-life is about 58 years for a bottle and about 1,200 years for a thick-walled pipe. The difference comes from the ratio of surface area to volume: a thin object wears away everywhere at once.
  • Measurements spread over a very wide range, because degradation depends strongly on the environment (light, temperature, oxygen, microbes).
  • PLA, known as a biodegradable plastic, degrades about 20 times faster than HDPE on land; but in the sea their rates are surprisingly similar.

So single, precise numbers circulating online, such as “a bottle dissolves in 450 years”, should be treated with caution. As Ward and Reddy wrote in PNAS in 2020, we need better measurements of how long plastic goods persist in the environment.

Common mix-ups

“Organic waste turns into compost in a landfill anyway.” Composting is a process that needs oxygen. In a compacted and covered landfill the oxygen soon runs out; decay continues without oxygen and produces methane.

“Compost smells bad.” A balanced, well-aerated heap smells like soil. A sharp ammonia smell shows there is too much nitrogen; a rotten-egg smell shows there is not enough oxygen. Both can be put right by adjusting the mix.

“Anything labelled biodegradable disappears quickly anywhere.” The rate of degradation depends on the environment. The hot, moist conditions of an industrial composting plant are very different from cold seawater.

“The heat in a compost heap comes from the Sun.” The heat comes from the respiration of microbes. That is why a large heap can be warm inside even on a winter day.

Try it at home: compost in a bottle

A simple set-up inspired by the “soda bottle bioreactor” idea that Cornell suggests for schools:

You will need: two 2-litre plastic bottles, scissors, a few handfuls of chopped vegetable and fruit scraps, a handful of dry leaves or torn newspaper, a handful of garden soil, a kitchen thermometer and gloves.

  1. Ask an adult to cut the top off one of the bottles and make a few air holes in the bottom with a needle.
  2. Following the US EPA’s advice for home composting, mix two to three parts of brown material with one part of green material, and add a handful of soil. The soil brings in decomposers.
  3. Keep the mix as damp as a wrung-out sponge and fill the bottle loosely.
  4. Push the thermometer into the middle of the mix and record its temperature, together with the room temperature, at the same time every day.
  5. Stir the mix with a stick every two or three days.

What can you expect? In a small set-up the temperature may rise by only a few degrees, but even that shows the microbes are at work. If you plot temperature against time, you can see the rise, the peak and the fall. If you see a new small peak after stirring, that is the effect of fresh oxygen entering the mix.

Safety note: handle the material with gloves and wash your hands with soap when you have finished. Following the EPA’s advice, do not add meat, fish, dairy products or greasy food.

Summary

  • Nature has no waste; decomposers break down dead organic matter through respiration, returning carbon to the air and nutrients to the soil.
  • Good compost balances carbon, nitrogen, oxygen and water. The starting C/N ratio is about 30:1.
  • The ratio of a mix is found by dividing the total mass of carbon by the total mass of nitrogen; ratios are not added directly.
  • Microbial respiration heats the heap. Decay is fastest at 40–60 °C; above 55 °C many disease-causing microbes are destroyed.
  • Without oxygen, organic waste produces methane; landfill gas is roughly half methane.
  • The degradation rate of plastics varies greatly with the environment and the shape of the object; single, precise “dissolving times” should be treated with caution.

You can explore the living world inside soil in our lesson Soil is alive and in the article What lives in a handful of soil?. Try the Lab figure The leaf factory to see how carbon returns to plants at the other end of the cycle.

Frequently asked

5 questions

How do you make compost?

Mix nitrogen-rich green materials (vegetable scraps, grass) with carbon-rich brown materials (dry leaves, cardboard) at a carbon-to-nitrogen ratio of about 30 to 1. Keep the mix as damp as a wrung-out sponge and turn it from time to time to let air in. Microbes turn the material into humus over a few months.

Why does a compost heap get warm?

Microbes release energy as they break down organic matter with oxygen, and part of that energy is heat. In large heaps the heat cannot escape easily, so the temperature can reach 40–60 °C, and 60–70 °C in large facilities.

How do you calculate the carbon-to-nitrogen (C/N) ratio?

Add up the mass of carbon and the mass of nitrogen in all the materials separately, then divide the total carbon by the total nitrogen. The C/N ratios of the materials are not added together or simply averaged.

Why does organic waste produce methane in a landfill?

Oxygen soon runs out in compacted, covered rubbish. Microbes that work without oxygen produce methane as they break down organic matter. According to the US EPA, landfill gas is roughly half methane and half carbon dioxide.

How many years does a plastic bottle take to break down?

There is no single, exact figure. Degradation depends on light, temperature, the environment and the shape of the object. One estimate based on published measurements gives a half-life of about 58 years for HDPE bottles in the sea and about 1,200 years for thick HDPE pipes.

Sources

11 sources
  1. 1.COP31 Türkiye: Thematic days announced (opens in a new tab)cop31.tr
  2. 2.Cornell Waste Management Institute: Compost Chemistry (opens in a new tab)compost.css.cornell.edu
  3. 3.Cornell Waste Management Institute: C/N Ratio (Richard and Trautmann) (opens in a new tab)compost.css.cornell.edu
  4. 4.Cornell Waste Management Institute: Compost Physics and Compost Microorganisms (opens in a new tab)compost.css.cornell.edu
  5. 5.US EPA: Composting At Home (opens in a new tab)epa.gov
  6. 6.US EPA: Basic Information about Landfill Gas (opens in a new tab)epa.gov
  7. 7.IPCC AR6 global warming potential values (GHG Protocol compilation, August 2024) (opens in a new tab)ghgprotocol.org
  8. 8.UNEP: Food Waste Index Report 2024 (press release, 27 March 2024) (opens in a new tab)unep.org
  9. 9.UNEP: Global Waste Management Outlook 2024 (opens in a new tab)unep.org
  10. 10.Chamas et al. (2020). Degradation Rates of Plastics in the Environment. ACS Sustainable Chemistry & Engineering 8, 3494–3511 (opens in a new tab)doi.org
  11. 11.Ward and Reddy (2020). We need better data about the environmental persistence of plastic goods. PNAS 117(26), 14618–14621 (opens in a new tab)doi.org
  • #compost
  • #zero waste
  • #decomposition
  • #carbon-to-nitrogen ratio
  • #methane
  • #COP31

Subscribe to Pulsar

Selected developments in science, technology, culture and art, in your inbox every day.