Find a course

Module 2: The Science of CompostingLesson 3 of 1113 min

How Composting Works

Meet the organisms that make compost, learn the four ingredients they need (carbon, nitrogen, air and water) and follow a pile through its temperature phases.

Step 1 of 13Learn

A pile that steams in winter

On a frosty January morning, Sam lifted the lid of his compost bin and a cloud of steam rolled out. He pushed a long thermometer into the middle of the pile: 145°F (63°C), hot enough to scald your hand, while the air outside was below freezing. Nothing in the bin was burning. The heat came entirely from living things.

Composting is the controlled, aerobic (oxygen-using) decomposition of organic material by living organisms. A handful of healthy compost contains billions of microorganisms. The main workers:

  • Bacteria do most of the early work. Different types thrive at different temperatures; the heat-loving thermophilic bacteria are responsible for the high temperatures in an active pile.
  • Actinomycetes, filament-forming bacteria, break down tougher materials like stems, bark and newspaper. They give finished compost its earthy smell.
  • Fungi attack woody, dry, acidic material that bacteria struggle with, such as lignin in wood.
  • Larger organisms, including earthworms, sow bugs, millipedes, springtails and beetles, shred material and mix it, mostly in the cooler phases and outer layers.

As microbes eat, they respire, just as we do, and release energy as heat. In a large enough pile with the right mix of materials, heat builds faster than it escapes. That's why a pile about 3 feet by 3 feet by 3 feet (about 1 cubic meter) is often recommended as a minimum for hot composting: smaller piles lose heat too quickly.

Your job as a composter is simple: give these organisms what they need, and they'll do the work.

Step 2 of 13Flashcards

The compost crew

Tap a card to flip it.

Step 3 of 13Learn

The four ingredients: carbon, nitrogen, air, water

Every successful compost pile balances four things.

1. Carbon ("browns"). Carbon-rich materials are the microbes' energy source. They're usually dry, brown and bulky: dry leaves, straw, shredded cardboard, paper, sawdust, wood chips, pine needles. Browns also create air pockets.

2. Nitrogen ("greens"). Nitrogen-rich materials provide protein for microbes to grow and multiply. They're usually moist and fresh: fruit and vegetable scraps, coffee grounds, grass clippings, fresh plant trimmings, manure from plant-eating animals. Note that "green" refers to nitrogen content, not color: coffee grounds are brown but count as greens.

3. Air (oxygen). Aerobic microbes need oxygen. Without it, the pile goes anaerobic and starts to smell of rotten eggs or ammonia. Bulky browns, turning the pile, or building it around aeration tubes or a layer of sticks keeps air flowing.

4. Water. Microbes live in thin films of water on the surface of particles. The pile should feel like a wrung-out sponge, about 40 to 60% moisture. Too dry and decomposition stalls; too wet and water fills the air spaces, starving microbes of oxygen.

Particle size is a bonus fifth factor. Smaller pieces have more surface area for microbes to work on, so chopping scraps and shredding leaves speeds things up, but very fine material can pack down and block air.

The most common beginner mistakes are simple imbalances: too many greens (a slimy, smelly pile) or too many browns (a dry pile that never heats up).

Step 4 of 13Practice · Sort into groups

Sort each material into greens (nitrogen-rich) or browns (carbon-rich).

Tap an item, then tap its group (or drag it there).

Step 5 of 13Learn

The carbon-to-nitrogen ratio

Composters describe the balance of browns and greens with the carbon-to-nitrogen ratio (C:N): how many parts of carbon there are for each part of nitrogen, by weight.

Microbes work fastest when the overall mix is around 25 to 30 parts carbon to 1 part nitrogen (25:1 to 30:1). They use carbon for energy and nitrogen to build their bodies, roughly in that proportion.

Typical C:N ratios (they vary a lot from batch to batch):

MaterialApprox. C:N
Food scraps15–20:1
Grass clippings15–20:1
Coffee groundsabout 20:1
Dry leaves40–80:1
Strawabout 75:1
Newspaperabout 175:1
Cardboard300+:1
Sawdust200–500:1

If the mix is too high in carbon (say, 60:1), microbes run short of nitrogen and work slowly. The pile stays cool and takes many months.

If the mix is too low in carbon (say, 12:1), there's more nitrogen than microbes can use. The excess escapes as ammonia gas, which smells sharp and wastes nutrients, and the soggy greens tend to compact and go anaerobic.

You don't need lab tests. A practical rule of thumb: by volume, use about 2 to 3 parts browns for every 1 part greens. Browns are light and fluffy, so this volume ratio works out close to the target by weight. Then adjust by observation: smelly and wet means add browns; dry and cold means add greens and water.

Step 6 of 13Try the calculator

Two-material C:N mixer

Estimate the C:N ratio of a mix by weight. Typical values: food scraps about 2.5% nitrogen, C:N 17; dry leaves about 0.8% nitrogen, C:N 60.

C:N of the mix (target 25–30)
27.4
Nitrogen in the mix
1.65 %

Step 7 of 13Practice · Work it out

Using the C:N mixer's default values (10 lb food scraps at 2.5% N and C:N 17, plus 10 lb dry leaves at 0.8% N and C:N 60), what is the mix's C:N ratio? Round to the nearest whole number.

Step 8 of 13Learn

Hot phases: from warm to cool to cured

A well-built pile moves through recognizable phases:

  1. Mesophilic phase (first few days). Moderate-temperature microbes, active from about 50 to 105°F (10 to 40°C), start eating the easiest sugars and starches. Their activity warms the pile.
  2. Thermophilic phase (days to weeks). Heat-loving microbes take over as the core passes about 113°F (45°C) and climbs to 130 to 160°F (55 to 70°C). They break down proteins, fats and complex carbohydrates quickly. Sustained temperatures above about 131°F (55°C) kill most weed seeds and disease-causing organisms. Above about 160°F, even beneficial microbes start to die, and turning the pile cools it down.
  3. Cooling phase. As the easy food runs out, temperatures fall. Mesophilic microbes return, along with fungi, actinomycetes and larger creatures like worms and sow bugs.
  4. Curing (maturation). For several weeks to months, the compost stabilizes at near outdoor temperature. Remaining complex compounds break down, and humus forms. Curing matters: unfinished compost can tie up nitrogen or harm young plants.

Turning a hot pile, moving the outer material into the center, re-oxygenates it and often kicks off another heat cycle. Many composters turn when the temperature starts to drop after a peak.

Not every pile gets hot. A cold (passive) pile, where you add material a little at a time and rarely turn it, still produces good compost, just more slowly, often 6 to 12 months or more, and it won't reliably kill weed seeds.

Step 9 of 13Practice · Put in order

Put the phases of a hot compost pile in order.

Drag the items, or use the arrow buttons, to put them in order.

  1. Mesophilic phase: moderate microbes start warming the pile
  2. Cooling phase: temperatures fall and fungi and worms return
  3. Curing: compost stabilizes and humus forms
  4. Thermophilic phase: heat-loving microbes push it to 130–160°F

Step 10 of 13Practice · Chart

Inside a hot compost pile, week by week

Notice the second peak: turning the pile at week 3 brought in fresh oxygen and restarted the heat.

Which point shows the pile reheating after it was turned?

Tap the point that answers the question, then press Check.

Inside a hot compost pile, week by weekLine chart with 9 categories: Day 0: 65 °F; Day 3: 110 °F; Week 1: 150 °F; Week 2: 140 °F; Week 3: 125 °F; Week 4: 145 °F; Week 6: 110 °F; Week 8: 85 °F; Week 12: 70 °F.50 °F100 °F150 °FTemperature (°F)Day 0Week 1Week 3Week 6Week 12
Illustrative curve for a well-built pile turned once at week 3.
Inside a hot compost pile, week by week
ItemCore temperature
Day 065 °F
Day 3110 °F
Week 1150 °F
Week 2140 °F
Week 3125 °F
Week 4145 °F
Week 6110 °F
Week 885 °F
Week 1270 °F

Step 11 of 13Note

Step 12 of 13Practice · Estimate

What is a good target moisture level for a compost pile, as a percentage of its weight?

30 %

Step 13 of 13Practice · Choose one

A compost pile smells strongly of ammonia. What is the most likely cause?