Free Tool

Compost Carbon Nitrogen Ratio Calculator

Pick your feedstocks, enter amounts, and see your pile's live C:N ratio against the 25:1 to 30:1 sweet spot. Stuck at 45:1 with nothing heating up? The recipe solver tells you exactly what to add to fix it.

How Often Should You Turn Compost? Let the Pile Decide

Every 3 to 7 days for a hot pile, monthly or less for a cold one. The three signals that beat any schedule, and when turning hurts.

Hot Composting vs. Cold Composting: Pick Your Speed

Hot composting finishes in weeks at 130-160°F; cold composting takes 6 months to 2 years at air temperature. How to pick your speed.

1. Build your pile

Add each material with an approximate weight or volume. Values come from published USDA / Cornell feedstock tables and are approximate; real material varies.

Quick add (10 lb each):

    2. Your pile's C:N ratio

    Live readout. The target band is 25:1 to 30:1 — where microbes work fastest.

    –:–
    Aim for 30:1 (band 25:1–30:1)
    Add materials to begin
    Moisture estimate will appear here once you add materials.

    3. Fix my ratio — the recipe solver

    Tell it where you are stuck and it computes exactly what to add to land at 30:1. Pick a fix material, or let it suggest the best ones.

    Add materials above, then run the solver. It balances the equation (C + x·Cfix) / (N + x·Nfix) = target to find x.

    What is a compost C:N ratio?

    The carbon-to-nitrogen (C:N) ratio describes how much carbon is in your pile relative to nitrogen. Compost microbes need carbon for energy and nitrogen to build proteins. Give them roughly 30 parts carbon for every 1 part nitrogen and they multiply fast, heating the pile to the 131°F–160°F zone where weed seeds and pathogens die.

    Too much nitrogen (below ~20:1) smells like ammonia, goes slimy, and loses nitrogen to the air. Too much carbon (above ~40:1) sits there barely warm for months because the microbes are starved of nitrogen.

    Greens and browns, translated into numbers

    "Greens" are nitrogen-rich (grass clippings, food scraps, manure — typically 10:1 to 25:1). "Browns" are carbon-rich (leaves, straw, cardboard — typically 40:1 to 500:1). The calculator above does the weighted math for you: it converts each material's wet weight to dry weight, sums total carbon and total nitrogen, and divides.

    Approximate feedstock values used

    These are widely published typical values (dry-weight basis), not lab analyses of your specific materials. Treat them as planning estimates.

    MaterialC:N%C%NMoisture

    Sources: Cornell Waste Management Institute feedstock tables (compost.css.cornell.edu); Mississippi State Extension "Composting for the Mississippi Gardener" feedstock table; UC Agriculture feedstock carbon/nitrogen content table. Figures vary between sources; values above use commonly cited midpoints and are labeled approximate.

    Frequently asked questions

    What is the ideal C:N ratio for a compost pile?

    About 25:1 to 30:1. This range gives microbes enough nitrogen to build cells while burning carbon for energy, producing the fastest heating and decomposition. Finished compost ends up closer to 10:1–15:1 because carbon leaves the pile as CO2.

    My pile smells like ammonia. What is wrong?

    That is the classic sign of excess nitrogen (ratio too low, often under 15:1). Turn the pile to add oxygen and mix in carbon-rich browns like straw, shredded cardboard, or dry leaves until the solver reads around 30:1.

    My pile will not heat up at all. What do I add?

    A pile that stays cold is usually too carbon-heavy (above 40:1), too dry, or too small. Add nitrogen-rich greens — grass clippings, food scraps, coffee grounds, or manure — moisten to a wrung-out sponge feel, and make sure the pile is at least 3×3×3 feet.

    How do I measure pounds or gallons of leaves and straw?

    Weigh a full bucket or bag on a bathroom scale once, then count by container. For volume, the calculator converts gallons to weight using each material's approximate bulk density — handy for loose leaves and wood chips that are hard to weigh.

    Does moisture matter as much as the C:N ratio?

    Yes. Microbes need 40%–60% moisture by weight. Below 15% decomposition stalls; above 65% the pile goes anaerobic and stinks. The calculator shows a weighted moisture estimate and flags piles that are too dry or too wet.

    Guides

    Can You Compost Nutshells? Yes, Crushed, and Black Walnut Is the Exception

    Yes, you can compost nutshells, but whole shells will sit in your pile for a year and look exactly the same when you dig them out.

    Can You Compost Cardboard Boxes? Yes, the Plain Ones. The Shiny Ones, No.

    A plain shipping box is one of the best browns you can get for free. A glossy freezer box is not compost at all, and the difference is the coating.

    Can You Compost Hair? Yes, and It Is Stronger Than You Think

    Hair composts fine. It runs about 15 percent nitrogen, which makes it a genuine green, but keratin breaks down slowly, so spread it thin and mix it with browns.

    Can You Compost Pine Needles? Yes, at 10 Percent of the Pile

    Can you compost pine needles? Yes. They are a slow brown at about 60:1 to 90:1, fresh needles run pH 3.2 to 3.8 but finish near neutral, and the rule is 10 percent of the pile, shredded, with plenty of greens.

    Can You Compost Tea Bags? The Leaves Yes, the Bag Maybe

    Can you compost tea bags? The tea leaves always, paper bags yes, nylon and silky pyramid bags no, and plant based plastic bags only in industrial compost. The two second bag test.

    Can You Compost Bread and Pasta? Yes, in Small Amounts, Buried Deep

    Can you compost bread and pasta? Yes, plain bread and pasta in small amounts, buried under browns, in a hot active pile. Why the do not compost lists exist, what ruins it, and when bokashi is the better home for leftovers.

    Can You Compost Onions and Garlic? Yes, With One Big Exception

    Can you compost onions and garlic? Yes in a backyard hot or cold pile, in small amounts, chopped and buried. Keep them out of worm bins, where they drive worms away.

    Can You Compost Banana Peels? Yes, and the Peel Tea Hype Misses the Point

    Can you compost banana peels? Yes. Peels are a green material, so chop them, bury them under browns, and keep the pile balanced. Why peel tea and burying raw peels near plants disappoint, and the 1 part peels to 2 parts browns mix that works.

    Carbon Nitrogen Ratio of Manure: Cow, Horse, Chicken, and the Bedding Trap

    Cow manure about 20:1, horse manure about 25:1, chicken manure about 10:1, but bedding can push horse manure to 60:1.

    Can You Compost Citrus Peels? Yes, Chopped and Buried

    Yes. Chop them small, bury them under browns, and keep them a small share of the pile. Worm bins are the exception.

    Can You Compost Avocado Pits? Yes, but Crush Them First

    Yes, but crush them first. Whole pits can sit for a year; crushed pieces break down in 2 to 3 months. The persin caveat for food crops.

    Carbon Nitrogen Ratio of Straw: 80 to 1, and Why It Is the Easiest Brown

    Wheat straw near 80 to 1, the most forgiving brown in the pile. Why the range runs 60 to 130, the straw vs hay confusion, and the worked 30 to 1 recipe.

    Carbon Nitrogen Ratio of Wood Chips and Sawdust: Why the 100 to 750 Spread Matters

    Wood chips at 100 to 500 to 1, sawdust up to 750. Why the spread exists, and why the math says to use chips as mulch, not pile fuel.

    The Carbon-to-Nitrogen Ratio of Cardboard: 350 to 1

    Corrugated cardboard sits near 350 to 1, one of the most carbon-heavy browns. Prep rules, the tape problem, and how to balance it.

    Carbon-Nitrogen Ratio of Grass Clippings: 15:1 and Why the Number Is a Warning

    Grass clippings run 12 to 25:1, about half the 30:1 ideal. The leaves pairing, the matting trap, the wilt-first technique, and the herbicide caveat.

    Carbon-Nitrogen Ratio of Leaves: 60:1 and How to Use It

    Dry leaves are 60:1, exactly double the composting ideal. The grass-clippings pairing, the shredding lever, and the fall stockpile strategy.

    Can You Compost Weeds With Seeds? Only If Your Pile Is Hot Enough

    Seeds die at 130 to 140 degrees held for days, with turning. In a cold pile they survive and you plant them with the compost. The decision rule and the three alternatives.

    How Much Compost Do I Need for a Garden Bed? The Cubic-Foot Math

    Length x width x depth in feet gives cubic feet, and compost is 25 to 40 percent of the mix. The formula, the bag math, and a worked 4x8 example.

    Can You Compost Paper Towels? Yes, If They Are Clean

    Plain paper towels are a high-carbon brown that breaks down in 2 to 4 weeks. The chemical and grease line, and the burial trick.

    What Is the Carbon Nitrogen Ratio of Kitchen Scraps? About 15 to 1, and That Is Too Rich Alone

    Kitchen scraps run about 15:1, which makes them a green. Balance each bucket with 2 to 3 buckets of browns to reach the 25:1 to 30:1 pile target.

    Why Is My Compost Not Heating Up? The Four Fixes in Order

    Too dry, too carbon-heavy, too small, or never turned: the diagnostic order, the wrung-out sponge test, and when a cold pile is actually done.

    Can You Compost Dryer Lint? Only From Natural-Fiber Loads

    Cotton and wool lint count as browns; polyester lint is plastic dust. The four-question lint-trap test.

    Can You Compost Eggshells? Yes, If You Crush Them First

    Crushed shells vanish in months; whole ones linger for years. Prep, timing, and the calcium payoff for tomatoes.

    How to Compost in Winter: Keep the Pile Alive When the Thermometer Quits

    A pile of 3x3x3 feet or more, steady greens, extra browns, less turning, and real insulation. The October setup that pays off in April.

    Can You Compost Coffee Grounds and Filters? Yes, and They Are Not What You Think

    Grounds are nitrogen-rich greens (C:N ~20:1), filters are browns. The 3:1 ratio rule, the compaction trap, and which filters to avoid.

    Can You Compost Pizza Boxes? Yes, and Stop Recycling Them

    Greasy cardboard is not recyclable, but it composts fine. The tear-it-up rule, the grease limit, and the shiny coated boxes.

    What Not to Put in Compost: The Never List and the It-Depends List

    Meat, dairy, fats, pet waste, diseased plants, seeded weeds: the never list, plus the surprising yes list.

    How Long Does Compost Take? Timelines by Method

    Hot pile: 4-8 weeks. Maintained bin: 3-6 months. Ignored pile: up to 2 years. The four levers that set your speed.

    Can You Put Meat and Dairy in Compost? Yes, No, and It Depends

    Not in a home backyard pile, but yes in curbside programs. Why the answers differ, plus the middle options.

    Slimy, Smelly Compost? You Have Too Much Nitrogen. Here Is the Fix.

    Ammonia smell, slime, and flies mean excess nitrogen. The exact browns to add and how much, worked by weight.

    Browns vs Greens: The Compost Ratio Chart I Wish I Had Starting Out

    Which materials count as browns vs greens (coffee grounds will surprise you), plus a C:N chart for 18 common materials.

    Get new free tools by email

    One short email when a useful new calculator or dataset launches. No spam, unsubscribe anytime.

    Subscribe free