CalculatorsMapsCountriesRankingsCompareTechnologiesLearn Energy Explorer Solar & wind farms Glossary
Bio, geo & hydrogen calculator

Biogas calculator: feedstock mix → methane, kW electric, heat & digestate

Enter what goes into the digester each day (slurry, manure, silage, beet or food waste) and get biogas and methane volumes, CHP electrical and thermal output (or biomethane), digester size, loading rate and economics.

Editable share link Branded PDF report Free · no sign-up

Results

3,150 m³ of biogas a day (53% methane) runs a CHP engine of about 299 kWe for 8,000 h/yr, generating 2.39 GWh of electricity and 2.57 GWh of heat. The organic loading rate of 2.4 kg VS/m³·d is within the usual 1.5–4 range. Payback ≈ 13.2 years, but the IRR (2.7%) is below your 6% discount rate: better tariffs, heat sales or cheaper feedstock are needed.
CHP electrical capacity
299kWe
2,201,456 kWh/yr exported
Thermal output
322kWth
1,929 MWh/yr surplus after digester heating
Biogas production
3,150m³/day
1,150 thousand m³/yr
Methane content
52.7%
1,661 m³ CH₄/day
Primary energy (methane)
5.98GWh/yr
683 kW continuous
Digester volume
2,520m³
60 days retention · OLR 2.45 kg VS/m³·d
Digestate
13,821t/yr
37.9 t/day, 10% of the mass converted to gas
Annual revenue
€361,087
crop cost 175,200 €/yr
Payback
13 yr 3 mo
capex 1,345,999 €
IRR
2.7%
Biogas by feedstock
Where the methane energy goes

Feedstock mix

Feedstockt/dayShare of massDM %Biogas m³/tCH₄ %Biogas m³/dayShare of gas
Cattle slurry3071%10255575024%
Maize silage1229%33200522,40076%

Typical feedstock values (per tonne fresh matter)

FeedstockDry matter %Volatile solids % of DMBiogas m³/tMethane %Biogas m³/t VS
Cattle slurry10802555313
Pig slurry6802265458
Cattle manure (solid)25806055300
Poultry litter / dung40758060267
Maize silage339520052638
Grass silage359018054571
Sugar beet239013052628
Food waste (source-separated)259014060622
  • Yields are mid-range literature values (FNR/KTBL). Real yields vary ±20–30% with silage quality, dilution of slurry, storage losses and retention time. Lab BMP tests on your own feedstock are worth doing before investing.
  • Methane energy uses LHV 9.97 kWh/Nm³. Digestate ≈ input mass minus the mass of gas released; it keeps practically all the nitrogen, phosphorus and potassium of the feedstock.
  • Many countries cap energy crops (e.g. maize share limits) or pay tariffs only for waste/manure feedstocks, so check local rules.

How this biogas calculator works

Anaerobic digestion turns organic matter into a mixture of methane and carbon dioxide inside a heated, sealed tank. How much gas you get depends almost entirely on what you feed: watery slurry contains little organic matter per tonne, while silage and food waste are concentrated energy. This calculator lets you build a feedstock mix of eight common materials and then follows the energy through the plant:

  1. Biogas and methane from each feedstock, using mid-range literature yields per tonne of fresh matter and typical methane shares (FNR/KTBL);
  2. Primary energy in the methane after a small slip loss;
  3. either a CHP gas engine (electricity, heat, parasitic electricity and digester heating) or upgrading to biomethane for grid injection;
  4. Digester sizing from the hydraulic retention time and the resulting organic loading rate;
  5. Digestate output and the plant’s economics, including energy-crop purchases and gate fees earned on food waste.

The formulas

Biogas (m³/day) = Σ tonnes_i × yield_i (m³/t fresh matter) Methane = Σ biogas_i × CH₄ share_i Primary energy (kWh) = CH₄ (m³) × 9.97 × (1 − slip) CHP: electricity = primary × η_el heat = primary × η_th Engine size (kWe) = annual electricity / full-load hours Digester volume (m³) = daily fresh mass (≈ t) × HRT (days) OLR (kg VS/m³·d) = Σ tonnes_i × DM_i × VS_i × 1,000 / volume Digestate = input mass − mass of CH₄ and CO₂ released

Worked example: dairy slurry plus maize silage

The default plant digests 30 t/day of cattle slurry (from roughly 500–600 dairy cows) and 12 t/day of maize silage:

  • slurry gives 750 m³ of biogas a day and maize 2,400 m³, so the silage is 29% of the mass but 76% of the gas;
  • total 3,150 m³/day at about 53% methane, i.e. 1,660 m³ of methane worth 6.0 GWh a year (683 kW continuously);
  • a CHP engine at 40% electrical / 43% thermal efficiency running 8,000 h/yr is sized at about 300 kWe, generating 2.4 GWh of electricity (2.2 GWh exported after 8% own use) and 2.6 GWh of heat;
  • with a 60-day retention time the digester needs about 2,500 m³, giving an organic loading rate of 2.45 kg VS/m³·d, comfortably in the stable range;
  • the plant returns about 13,800 t of digestate a year to the fields.

Selling electricity at €0.15/kWh and 40% of the surplus heat at €0.04/kWh earns about €360,000 a year, but buying 4,380 t of maize at €40/t costs €175,000. At €4,500/kWe the plant pays back in about 13 years with an IRR under 3%. That is why farm biogas depends on tariffs, heat customers or cheap waste feedstocks.

How to read the results

  • CHP capacity / biomethane output is the headline size of the plant.
  • Methane content below 50% suggests a feedstock mix low in fats and proteins, or process problems.
  • Organic loading rate: above about 4–4.5 kg VS/m³·d the risk of acidification and foaming rises; below 1, the digester is larger than needed.
  • Energy flow chart shows how much of the methane energy becomes saleable electricity and heat; unused heat is the biggest lever on economics.
  • Feedstock table compares each material’s share of mass versus share of gas.

Typical values

Feedstock Dry matter Biogas (m³/t fresh) Methane
Cattle slurry 8–11% 20–30 55–60%
Pig slurry 4–7% 20–35 60–65%
Cattle manure (solid) 20–25% 40–80 55%
Poultry dung 30–50% 70–90 60%
Maize silage 30–35% 170–230 52%
Grass silage 25–40% 170–200 54%
Sugar beet 20–25% 120–140 52%
Food waste 15–30% 100–200 58–62%

Tips to improve output and economics

  • Use the heat. Selling or using the surplus heat (drying, greenhouses, district heating) can add 20–30% to revenue.
  • Co-digest wastes. Food waste or crop residues raise gas yield and may earn a gate fee instead of costing money.
  • Avoid dilution. Rainwater and wash water in slurry stores reduce yield per tonne and fill digester volume.
  • Cover digestate storage. A gas-tight cover recovers residual gas (often 5–10% extra) and cuts methane emissions.
  • Stable feeding in small, frequent portions keeps the microbes healthy and the methane share high.

Limitations

Yields are literature mid-points; real values vary ±20–30% with silage quality, storage losses, slurry dilution and retention time, so laboratory biomethane-potential (BMP) tests are recommended before investing. The model assumes a continuously stirred, mesophilic digester, constant year-round feeding and fresh matter density of about 1 t/m³. Seasonal heat demand of the digester, hydrogen-sulphide treatment, digestate processing and permits are not modelled. Subsidy schemes and limits on energy crops differ by country.

Method & assumptions

Biogas = Σ (tonnes/day × typical biogas yield per tonne fresh matter); methane = Σ biogas × CH₄ share. Primary energy = CH₄ × 9.97 kWh/Nm³ × (1 − slip). CHP: electricity = primary × ηel, heat = primary × ηth; engine size = annual electricity ÷ full-load hours. Own use and digester heating are deducted. Biomethane: upgraded CH₄ volume, minus upgrading electricity. Digester volume = daily fresh mass (≈ 1 t/m³) × retention time; organic loading rate = kg volatile solids per m³ per day. Digestate = input mass − mass of CH₄ and CO₂ released.

Frequently asked questions

How much biogas does one tonne of manure produce?
Typical values per tonne of fresh matter are about 20–30 m³ of biogas for cattle slurry, 20–35 m³ for pig slurry, 40–80 m³ for solid cattle manure and 70–90 m³ for poultry dung. Energy crops yield far more: about 200 m³ per tonne of maize silage and 170–200 m³ for grass silage.
How much electricity does 1 m³ of biogas produce?
Biogas with 55% methane contains about 5.5 kWh of energy per m³ (methane has about 10 kWh/m³). A CHP gas engine converts 38–42% of that into electricity, so roughly 2.0–2.3 kWh of electricity plus 2.3–2.5 kWh of usable heat per m³.
How many cows do you need for a biogas plant?
A dairy cow produces about 50–60 kg of slurry a day, roughly 1.3–1.5 m³ of biogas — enough for about 0.12 kW of continuous electrical output. Slurry-only plants therefore need several hundred cows for a 50–100 kW CHP; most farm plants add energy crops or food waste to boost yields.
What is the methane content of biogas?
Usually 50–65%, the rest mostly carbon dioxide with traces of hydrogen sulphide, water vapour and ammonia. Fat- and protein-rich feedstocks give more methane; carbohydrate-rich crops such as maize give about 52%.
What is hydraulic retention time and organic loading rate?
Retention time is how long the feedstock stays in the digester on average (digester volume ÷ daily input), typically 20–30 days for slurry and 60–100 days with energy crops. Organic loading rate is the kilograms of volatile solids fed per m³ of digester per day; 1.5–4 kg VS/m³·d is the normal range for stirred tank digesters.
What is digestate and how much is produced?
Digestate is what remains after digestion — a nutrient-rich fertiliser containing practically all the nitrogen, phosphorus and potassium of the feedstock. Its mass is the input minus the gas released, typically 85–95% of the input for manure-based plants.
Is it better to make electricity or biomethane from biogas?
A CHP engine is simpler and suits farms with heat users nearby. Upgrading to biomethane (removing CO₂ to reach about 97–99% methane) lets the gas be injected into the grid and used where it is worth most (heating, industry or transport), but it needs a larger plant to cover upgrading costs, usually above about 250–500 m³/h of raw biogas.

Sources & references

  1. FNR (Fachagentur Nachwachsende Rohstoffe): Guide to Biogas: From Production to Use, 5th ed., 2010
  2. IEA Bioenergy Task 37: Energy from Biogas
  3. IEA (2020). Outlook for biogas and biomethane: Prospects for organic growth
  4. KTBL: Gasausbeute in landwirtschaftlichen Biogasanlagen (biogas yields of agricultural feedstocks)

Embed this calculator

Free for blogs, installers, schools and NGOs. Copy the code below; it updates itself automatically.