Agriculture & Growing

Compost Ingredient Carbon:Nitrogen & Moisture Calculator

Combine ingredient wet masses with dry-basis carbon/nitrogen analyses and wet-basis moisture into one compost balance.

How the calculation works

Dry massᵢ=wet massᵢ×(1−moistureᵢ/100). Sum dry mass×dry carbon or nitrogen fraction. Mixture C:N=total C/total N; moisture=total water/total wet mass.

Worked example

Example inputs — Ingredient wet masses (kg): 100, 50; Matching moisture percentages, wet basis: 60, 20; Matching carbon percentages, dry basis: 40, 50; Matching nitrogen percentages, dry basis: 2, 1. Expected results — Total wet mixture: 150 kg; Water mass: 70 kg; Dry matter: 80 kg; Mixture wet-basis moisture: 46.66666667 %; Total carbon mass: 36 kg; Total nitrogen mass: 1.2 kg; Carbon:nitrogen mass ratio: 30 :1.

Assumptions and limits

Planning model using supplied measurements and local coefficients. Defaults are examples, not recommended crop targets or a weather forecast. C and N analyses are percentages of dry matter; moisture is percentage of wet mass. Requires matching lists, positive total dry matter and nitrogen. Carbon+nitrogen cannot exceed 100% dry matter. No decomposition, volatilization, available-nitrogen correction or automatic recipe target. Bulk volumes cannot substitute for ingredient masses without density measurements.

Reference and further reading

Read the underlying subject reference. Calculith is an independent implementation; the reference does not endorse or certify this tool.

Related calculators

Browse all 1000 calculators →

Example values are editable. Results are estimates where assumptions apply. Calculations run in your browser. Updated 2026-11-16.