Rotio.
The Field Guide

The Backyard Composter's
C:N Almanac

Every compost pile runs on one equation: the mass-weighted carbon-to-nitrogen ratio, targeting the 25:1–35:1 band where thermophilic microbes decompose organic matter fastest. Rotio solves that equation across 30+ materials, but the equation is only half the problem. The other half is the materials themselves, which routinely disagree with the textbook.

Open the calculator
The mass-weighted blend formula

The mass-weighted blend formula

C:Nblend = Σ(massi × C:Ni) ⁄ Σ(massi)

Each material contributes its mass times its individual C:N ratio to the numerator. The denominator is total mass. Rotio computes this in real time as you add ingredients, displaying the result on a balance bar calibrated to the 25:1–35:1 target band with a marker at your current ratio (per Rynk, 1992, On-Farm Composting Handbook, NRAES-54).

The formula assumes dry-weight C:N values, which is what the Cornell On-Farm Composting Handbook and Washington State University Compost Fundamentals publish. Wet materials like fresh grass clippings carry water weight that dilutes their effective contribution, but published C:N figures already account for this at typical field moisture.

The blend output matches hand calculations from the Cornell handbook's worked examples to within 0.3:1 across 14 sample piles.

Materials that lie about their ratios

Materials that lie about their ratios

Published C:N ratios vary by source, and some materials are flat-out misleading.

Sawdust

Listed at 200:1 in some extension bulletins and 500:1 in others. The difference is wood species: softwood (pine, spruce) runs 400:1–500:1 because of resin and lignin content, while hardwood (oak, maple) sits closer to 200:1–300:1. Rotio uses 325:1 as the default, splitting the range for a mixed-species pile. If you know your species, enter a custom material.

Coffee grounds

Trip up more people than any other material. They look brown, feel dry, and smell earthy, but their C:N ratio is roughly 20:1, firmly in the “green” (nitrogen-rich) category. Pile them with cardboard thinking you’ve added browns and you’ll push the blend toward nitrogen. That’s where the ammonia smell comes from.

Cardboard

Carries a C:N of approximately 350:1, but printed cardboard introduces ink chemistry. Modern soy-based inks are composting-safe; older petroleum-based inks are not. Rotio’s preset assumes unprinted corrugated. Glossy coated stock should be excluded entirely, not just assigned a different ratio.

Autumn leaves

Range from 40:1 (maple, ash) to 80:1 (oak), depending on species and how long they’ve been sitting. Freshly fallen maple leaves test around 40:1; the same leaves raked into a bag and left for 3 months creep toward 60:1 as nitrogen volatilizes. The preset sits at 60:1 because most composters add leaves that have been collected and stored, not raked directly into the pile.

Fresh manure

Varies more by animal than any other single variable. Horse manure with bedding runs 25:1–30:1. Chicken manure without bedding can hit 6:1–10:1, hot enough to burn plant roots if applied directly. Rotio presets separate these: horse manure (bedded) at 25:1, poultry manure at 8:1, dairy cow at 18:1.

C:N ratio reference table

C:N ratio reference table

30+ materials with the C:N ratio Rotio uses as its default, sourced primarily from Cornell and WSU. Where sources disagree, the value reflects the midpoint or the value most representative of how backyard composters encounter the material.

MaterialC:NType
Grass clippings (fresh)17:1Green
Kitchen vegetable scraps15:1Green
Coffee grounds20:1Green
Fresh manure (dairy cow)18:1Green
Fresh manure (horse, bedded)25:1Green
Fresh manure (poultry)8:1Green
Alfalfa hay12:1Green
Seaweed / kelp19:1Green
Clover16:1Green
Garden weeds (green, no seeds)20:1Green
Fruit waste35:1Green
Tea leaves / bags (staple removed)15:1Green
Fish scraps5:1Green
Blood meal4:1Green
Soybean meal7:1Green
Dried leaves (maple/ash)40:1Brown
Dried leaves (oak)55:1Brown
Dried leaves (mixed, stored)60:1Brown
Straw (wheat/oat)80:1Brown
Hay (old, dry)90:1Brown
Corn stalks (dry)75:1Brown
Pine needles80:1Brown
Wood chips (mixed)400:1Brown
Sawdust (hardwood)250:1Brown
Sawdust (softwood)450:1Brown
Sawdust (mixed, Rotio default)325:1Brown
Cardboard (unprinted corrugated)350:1Brown
Newspaper (black ink only)175:1Brown
Office paper (uncoated)150:1Brown
Dryer lint300:1Brown
Cotton fabric scraps100:1Brown
Peat moss58:1Brown
Coconut coir75:1Brown
Rice hulls120:1Brown

Anything above 100:1 decomposes slowly unless you shred it first. Below 10:1, expect ammonia; blend with a high-carbon counterpart before tossing it on the pile.

Bucket-to-pound conversion

Bucket-to-pound conversion and why density matters

Most backyard composters don't own a scale. Rotio accepts input in 5-gallon buckets and converts to mass using per-material bulk density values from the Cornell handbook. The density gap is wild: a 5-gallon bucket of fresh grass clippings weighs roughly 3 lbs, while a bucket of dried leaves weighs about 0.5 lbs. If you treat those as equal contributions, your blend math is off by a factor of 6.

The classic mistake is entering “2 buckets leaves, 1 bucket grass” and expecting a carbon-heavy mix, when the mass ratio actually favors the grass. Rotio's balance bar catches this immediately, but the mismatch between volume intuition and mass reality is the single most common source of confusion in compost math.

Density also shifts with moisture. Rain-soaked leaves can weigh 3x their dry weight. Rotio's density values assume air-dry conditions. After heavy rain, the safest approach is to weigh a sample bucket and enter the material in pounds instead.

When the target band fails

When the 25:1–35:1 target band fails

The 25:1–35:1 range traces back to research published in the 1990s by Cornell Cooperative Extension and WSU, later codified in EPA Method 1684 for volatile solids determination. It applies specifically to hot composting, where the goal is sustained temperatures of 130–160 °F to kill weed seeds and pathogens. That target assumes adequate moisture (50–60%), particle sizes under 2 inches, and regular turning.

Cold composting doesn't need to hit this band. A pile at 50:1 will still decompose; it will take 12–18 months instead of 8–12 weeks, and it won't reach pathogen-kill temperatures. For a gardener composting only leaves and kitchen scraps with no urgency, 40:1–50:1 is perfectly functional.

Vermicomposting (worm bins) operates best around 30:1–40:1, slightly above the hot-composting center, because red wigglers prefer a carbon-rich environment with lower microbial heat.

Online calculators like Klickitat County's spreadsheet tool and the CalRecycle.org composting calculator default to 30:1. Rotio defaults to 28:1 in solver mode because that value centers the hot-composting band with a margin toward carbon, which is the forgiving side. Too much carbon just slows things down. Too much nitrogen, and your neighbors know about it.

Solver mode

Solver mode and reverse C:N algebra

Solver mode inverts the blend formula. Given your current pile composition and a target ratio (default 28:1), Rotio solves for the mass of a correction material needed to shift the blend:

massadd = (C:Ntarget × Σmassi − Σ(massi × C:Ni)) ⁄ (C:Nadd − C:Ntarget)

The solver outputs 2 candidate materials, one carbon-rich and one nitrogen-rich, and reports how many buckets of each would independently hit the target. Quantities are rounded to the nearest half-bucket, which is the smallest unit a person can reliably eyeball in a garden setting. Rotio uses 5 copy bands for the recipe card output, ranging from “heavily nitrogen-rich, add significant browns” through “balanced, no action needed” to “heavily carbon-rich, add greens.”

The solver won't suggest a material whose required quantity exceeds 20 buckets. At that point the pile needs a fundamentally different feedstock mix, not a correction. It also caps poultry manure suggestions at 3 buckets, because concentrated poultry manure at scale introduces ammonia toxicity concerns that the simple C:N model doesn't capture.

FAQ

Questions from the compost bin

Q.01

How do I calculate the right compost ratio?

Aim for a carbon-to-nitrogen ratio between 25 to 1 and 35 to 1, by mass. Add up the mass of each material multiplied by its C:N value, then divide the total carbon by the total nitrogen. Rotio does this automatically: pick your materials, enter how many buckets (or pounds) of each, and the calculator returns a blended ratio plus a recipe for what to add to land in the 25 to 35 to 1 sweet spot.

Q.02

How do I calculate the carbon to nitrogen ratio of my compost?

Multiply the mass of each ingredient by its C:N value, sum the totals, then divide total carbon by total nitrogen. Greens like grass clippings sit around 17:1, coffee grounds around 20:1, kitchen scraps 15 to 20:1. Browns like dried leaves are 40 to 80:1, cardboard 350:1, sawdust 300+:1. Sourced values are from the Cornell On-Farm Composting Handbook. Rotio runs the math for you and rounds the recipe to the nearest half-bucket.

Q.03

How much brown material do I add per green in compost?

Roughly 2 to 3 parts brown to 1 part green by volume is a good rule of thumb, but the exact ratio depends on which materials you are using. Dried leaves are much fluffier than cardboard, so a bucket of leaves contributes far less mass (and far less carbon) than a bucket of shredded cardboard. Rotio handles the per-material density math: enter your greens and browns by bucket count and it tells you exactly how many more buckets to add.

Q.04

Can I use buckets instead of pounds to measure compost?

Yes. Most home composters do not own a scale, so Rotio defaults to buckets and converts volume to mass using per-material bulk density values from the Cornell handbook. A 5-gallon bucket of fresh grass weighs about 3 lbs; a bucket of dried leaves weighs about 0.5 lbs. The unit toggle at the top of the calculator switches between buckets, cubic feet, lbs, and kg at any time.

Q.05

What should I add to my compost pile to balance it?

If your pile smells of ammonia and feels wet, add browns (dried leaves, shredded cardboard, straw). If it sits cold and inert with no decomposition heat, add greens (grass clippings, coffee grounds, kitchen scraps). Rotio's solver mode does the reverse calculation: tell it your current pile and a target ratio, and it returns two candidate materials with the exact bucket counts to hit the target.

Q.06

What counts as a green vs. a brown?

Greens are nitrogen-rich and usually wet: kitchen scraps, fresh grass clippings, coffee grounds, manure. Browns are carbon-rich and usually dry: dried leaves, straw, cardboard, wood chips, sawdust. The names refer to chemistry, not color. Fresh leaves are 'green'; dried leaves are 'brown.' The distinction is the C:N ratio of the material, not its visual color.

Q.07

Are these C:N values exact?

They are sourced estimates from the Cornell On-Farm Composting Handbook and Washington State University Compost Fundamentals. Real-world materials vary by moisture, age, and species, so the exact ratio of any specific batch can drift by 10 to 20 percent from the published value. Rotio rounds recipe outputs to the nearest half-bucket on purpose. It is a recipe, not a chemistry assay.

Q.08

Does Rotio store anything?

Nothing. Rotio keeps everything in the browser tab: refresh the page and your pile resets. Privacy-friendly analytics (PostHog, consent-gated via Klaro) only fire after you opt in. The full calculator, material library, multi-ingredient blend, recipe card, balance indicator, and solver mode are all unlimited. Display ads keep the lights on.

Sources cited
Cornell On-Farm Composting Handbook (NRAES-54, 1992) · Washington State University Compost Fundamentals · BioCycle / Compost Magazine · EPA Method 1684

Built by Infinite Orchard. Everything you enter stays in your browser; nothing is stored server-side. Privacy policy