Skip to content

Compost Calculator

Build a balanced recipe. Understand carbon, nitrogen and moisture.

Material library · Dry-matter C:N balance · Moisture & batch planning

Materials & Recipe

Units:
MaterialAmount (kg)Moisture (%)Remove

Preset values are editable estimates. Use measured material data when available.

Carbon, nitrogen & bulk-density assumptions

C and N: % of dry matter · Moisture: % of wet mass.

MaterialCarbon (C %)Nitrogen (N %)Moisture (% wet)
Loose bulk densities & volume conversion

Editable examples, in kg/m³: grass 200, leaves 100, kitchen scraps 500, coffee 400, straw 80, sawdust 150, cardboard 80. Density varies with moisture, shredding and compaction. Changing density changes the mass inferred from volume input.

MaterialLoose density (kg/m³)

C:N is total carbon ÷ total nitrogen, not an average of ingredient ratios.

Result

Estimated mix C:N ratio

Enable JavaScript

Enter a recipe to calculate.

Moisture—
Wet mass—
Loose volume—

Volume uses editable bulk-density estimates; settling changes actual volume.

Illustrative cutaway wooden compost bin with grass, leaves, food scraps and organic material. Labels show air spaces, moisture and mixed organic material; the probe is illustrative, not an instrument reading.
Illustrative cutaway — mix materials for even aerationstcalculator.onlinestcalculator.online

Carbon–Nitrogen & Moisture Balance

C:N ratio

Moisture content

Recipe Balancer

Calculate a recipe first.

Check moisture after any material addition.

Water adjustment

Calculated after recipe entry.

Batch & Aeration Planner

General planning guide: often 3–8 months; conditions vary.

  1. Fresh mix
  2. Active composting
  3. Curing
  4. Mature compost
Illustrative mature compost beside a measuring bucket, not a predicted final yield

A small batch may not retain enough heat for hot composting.

Process guide; not a maturity prediction.stcalculator.onlinestcalculator.online

Understanding your mix

  1. Account for dry matterC and N are calculated from the dry (non-water) fraction of each material.
  2. Balance total C and NThe mix C:N uses total carbon and total nitrogen, not an average of ingredient ratios.
  3. Adjust moisture and aerationStart around 50–60% moisture and maintain air spaces by mixing and suitable bulking material.

C:N = Σ[wet mass × dry fraction × C%] / Σ[wet mass × dry fraction × N%]

Targets, assumptions & material variability

This planner uses a selected starting C:N target band of 25–30 and a starting moisture band of 50–60%. They are planning targets, not universal pass/fail limits. Other systems may operate successfully across wider ranges.

Preset C, N, moisture and bulk-density values are illustrative estimates; no two feedstocks are identical. Carbon availability, lignin, particle size, porosity, weather and management influence actual decomposition. A good numeric ratio does not prove a safe or mature compost product.

Moisture is wet-basis water mass divided by total wet mass. Carbon and nitrogen percentages use dry matter. Input masses and volumes convert using 1 lb = 0.45359237 kg and 1 US gallon = 3.785411784 L. Loose ingredient volumes are added without predicting compaction or final yield.

Frequently asked questions

Why not average C:N ratios?

Each material contains different amounts of dry matter, carbon and nitrogen. Sum the actual estimated carbon and nitrogen masses separately, then divide total C by total N. If nitrogen is zero, the ratio is undefined.

Can I enter material volume?

Yes. Choose Loose volume and enter liters or US gallons. Check each material’s loose bulk density under assumptions. A liter of leaves and a liter of wet food scraps do not weigh the same. The displayed volume is a loose input estimate, not final compost output.

How much water should I add?

If the mixture is below the selected 50–60% band, the planner estimates water addition to 55% assuming water density of 1 kg/L. For a wet mixture, it estimates a separate dry-material scenario if the selected adjustment material is drier than 55%. Recheck C:N and aeration. Drainage and nutrient losses are not modeled.

When is compost ready?

Calendar ranges are broad management guides. Mature compost generally becomes dark, crumbly and earthy, with reduced biological activity. Check stability and suitability for its intended use; this calculator does not measure maturity, validate pathogen reduction or certify a sanitation process.

Which materials should I avoid at home?

Avoid pet waste, treated or painted wood, and contaminated feedstocks. Meat, fish, dairy and fats can cause pest and odor problems in basic household composting systems. Follow local guidance, especially for manures and food-growing applications.

Sources & References

Planning estimates, not a laboratory analysis. Material properties and composting conditions vary. Reference logos identify sources, not endorsement.

↗ Biology

Build a balanced recipe. Understand carbon, nitrogen and moisture.

Page information

Updated: October 7, 2026