| Metric | Value | Copy |
|---|---|---|
| {{ row.label }} | {{ row.value }} |
| Material | C:N | Wet weight | Dry weight | Carbon | Nitrogen | Copy |
|---|---|---|---|---|---|---|
| {{ row.label }} | {{ row.ratioDisplay }} | {{ row.wetWeightDisplay }} | {{ row.dryWeightDisplay }} | {{ row.carbonDisplay }} | {{ row.nitrogenDisplay }} |
Add your brown and green ingredients to see the blended C:N ratio and guidance for balancing the pile.
Carbon to nitrogen ratio is a simple way to describe the balance between dry browns and wet greens in a compost blend. Getting this balance close helps a pile heat well and finish faster with fewer odors.
You enter a few materials with their carbon to nitrogen ratios, moisture estimates, and weights, then see a blended ratio for the whole mix. The tool also explains whether the result sits inside your target band and suggests which side needs attention when it does not.
A quick scenario might combine dry leaves with kitchen scraps and fresh grass, then show a result near the hot compost window so you can proceed with confidence. If the number drifts low, add browns; if it climbs high, add greens.
Numbers improve when moisture is estimated consistently and weights use the same unit for every ingredient. Be wary of unusually extreme ratios, since those can pull the blend in ways that do not reflect your actual pile.
The calculator models dry matter for each ingredient, then apportions that dry matter into carbon and nitrogen according to its stated carbon to nitrogen ratio. Results summarize totals, a final blended ratio, and a simple classification against a user set band.
Each ingredient contributes a wet mass, a moisture fraction, and a ratio. Moisture is removed first to obtain dry mass, because ratios refer to dry material rather than water weight. Carbon and nitrogen shares are then derived from the ratio parts.
Classification describes three cases. Values below the lower bound are nitrogen heavy, values above the upper bound are carbon heavy, and values that land within the band are balanced. Values near edges should be read with care and confirmed after a first turn.
Comparisons are most meaningful within a single project using consistent moisture assumptions and similar particle sizes. The model does not infer pile temperature or decomposition rate; it reports a mass based balance only.
| Symbol | Meaning | Unit/Datatype | Source |
|---|---|---|---|
| Ingredient carbon to nitrogen ratio | ratio | Input | |
| Wet mass | kg or lb | Input | |
| Moisture fraction | 0 to 1 | Input | |
| Dry mass | kg or lb | Derived | |
| Carbon mass share | kg or lb | Derived | |
| Nitrogen mass share | kg or lb | Derived | |
| Final blended ratio | ratio | Derived |
| Band | Lower bound | Upper bound | Interpretation | Action cue |
|---|---|---|---|---|
| Balanced | User set | User set | Blend lands inside the window. | Maintain moisture and turn regularly. |
| Nitrogen heavy | Below lower | — | Too rich in greens. | Add browns to raise the ratio. |
| Carbon heavy | — | Above upper | Too rich in browns. | Add greens to lower the ratio. |
Weights display in kilograms or pounds. The unit toggle converts entered weights and rounds to three decimal places. Display precision adapts to magnitude: two decimals below 10, one between 10 and 100, and none at 100 or above. Final ratios display to one decimal.
| Field | Type | Min | Max | Step/Pattern | Error text |
|---|---|---|---|---|---|
| Target ratio minimum | Number | 5 | 100 | 1 | Band must be greater than zero and maximum must exceed minimum. |
| Target ratio maximum | Number | 10 | 80 | 1 | Band must be greater than zero and maximum must exceed minimum. |
| Ingredient ratio | Number | 5 | 600 | 1 | Enter a value greater than zero. |
| Moisture | Number | 0 | 90 | 1 | When enabled, moisture must be between 0 and 99. |
| Weight | Number | 0.1 | — | 0.1 | Needs a weight greater than zero. |
| Input | Accepted families | Output | Encoding/precision | Rounding |
|---|---|---|---|---|
| Numbers | Integers and decimals | On‑screen tables | Adaptive decimals | Banker’s rounding not used; standard toFixed. |
| Summary export | Copy or download | CSV, JSON | Escapes quotes, highlights JSON | As displayed |
Processing is client‑only and no network requests are made. Clipboard and file downloads use standard browser capabilities. No data is transmitted or stored server‑side.
Compost balance is computed from dry matter and ingredient ratios to guide a practical blend.
Example: Leaves, kitchen scraps, and grass at the defaults land near 34 to 1 inside a 25 to 35 band.
Once the ratio sits inside your band, build and monitor moisture and turning cadence.
No. All computation and exports happen on your device; nothing is sent to a server.
Clipboard and downloads use standard browser APIs.Accuracy depends on realistic moisture estimates and representative ratios for your materials. If in doubt, recheck after a first turn and adjust inputs.
Kilograms and pounds are available. Switching units converts current entries and rounds to three decimals.
Yes. Calculations, copying, and downloads run locally. Some browsers restrict clipboard and downloads without user interaction.
Lower numbers need more browns; higher numbers need more greens. Adjust a single ingredient at a time and recheck the blended ratio.
Values near the band edges are sensitive to small changes in moisture or weights. Treat them as provisional and confirm after mixing.
No pricing or license terms are shown in the package files. Use within your organization’s policies.