Compost Calculator
Test cases replayed : 2 of 2 match · Methodology · No outside source listed
Mix greens and browns by weight and see the C:N ratio and moisture of your compost pile.
Result
C:N ratio of the mix (carbon parts per 1 part nitrogen)
Moisture of the mix
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
Affiliate link
This is an affiliate link. As an Amazon Associate I earn from qualifying purchases. This does not change the result.
Search Amazon for compost. Visit Amazon
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Units: switches the fields between the two unit systems.
- Greens weight (e.g. grass clippings), in lb: enter 0 or more.
- Greens nitrogen (% of dry weight): enter 0 or more.
- Greens C:N ratio (example): enter 0 or more.
- Greens moisture, in percent: enter a number from 0 to 99.
- Browns weight (e.g. dry leaves), in lb: enter 0 or more.
- Browns nitrogen (% of dry weight): enter 0 or more.
- Browns C:N ratio (example): enter 0 or more.
- Browns moisture, in percent: enter a number from 0 to 99.
- Read the result: C:N ratio of the mix (carbon parts per 1 part nitrogen); the panel also shows Moisture of the mix.
How this calculator works
C:N of the mix = Σ Q × N × (C:N) × (100 − M) ÷ Σ Q × N × (100 − M), where Q is the wet weight of each material, N its nitrogen as % of dry weight, C:N its carbon-to-nitrogen ratio and M its moisture %. This is the mixing formula of the Cornell Waste Management Institute; (100 − M) turns wet weight into dry weight.
Moisture of the mix = Σ Q × M ÷ Σ Q. Most composting guides aim for a starting C:N near 30:1 and a moisture of about 50% to 60%. Values here are examples: use lab or published values for your own materials.
The formula
| Symbol | Meaning | Unit |
|---|---|---|
| Greens weight (e.g. grass clippings) | lb | |
| Greens nitrogen (% of dry weight) | ||
| Greens C:N ratio (example) | ||
| Greens moisture | % | |
| Browns weight (e.g. dry leaves) | lb | |
| Browns nitrogen (% of dry weight) | ||
| Browns C:N ratio (example) | ||
| Browns moisture | % | |
| C:N ratio of the mix (carbon parts per 1 part nitrogen) |
Worked example
| Greens weight (e.g. grass clippings) | 100 lb |
|---|---|
| Greens nitrogen (% of dry weight) | 2.5 |
| Greens C:N ratio (example) | 17 |
| Greens moisture | 80% |
| Browns weight (e.g. dry leaves) | 100 lb |
| Browns nitrogen (% of dry weight) | 0.8 |
| Browns C:N ratio (example) | 60 |
| Browns moisture | 20% |
| Moisture of the mix | 50% |
|---|
C:N ratio of the mix (carbon parts per 1 part nitrogen) 41.1
Each step uses the unrounded value of the step before it; figures on this page are rounded for display.
Frequently asked questions
What is a good C:N ratio for compost?
About 25:1 to 30:1 at the start is the common target. Much higher and the pile is slow; much lower and nitrogen escapes as ammonia.
Why does moisture change the ratio?
Carbon and nitrogen sit in the dry matter. A wet material such as grass contributes less dry matter per pound than dry leaves.