Water Quality Simulator: Ammonia-Nitrite-Nitrate Cycle

simulator advanced ~12 min
Loading simulation...
TAN ≈ 1.2 mg/L — nitrification keeps ammonia in safe range

With 15 kg/day feed at pH 7.5 and 50 m² biofilter, total ammonia nitrogen stabilizes at approximately 1.2 mg/L with un-ionized NH₃ at 0.02 mg/L — well within safe limits for most species.

Formula

NH₃_fraction = 1 / (1 + Math.pow(10, pKa - pH)), where pKa ≈ 9.25 at 25°C
TAN_production = feed_load × 0.035 (kg N per kg feed)
Nitrification_rate = biofilter_area × 0.5 × TAN / (TAN + 1.0) (g N/m²/day, Monod kinetics)

Ammonia: The Invisible Killer

Every kilogram of feed entering a fish pond ultimately produces about 35 grams of ammonia nitrogen. In a closed system, this ammonia accumulates relentlessly — and un-ionized ammonia (NH₃) is one of the most toxic substances fish encounter. At concentrations as low as 0.05 mg/L, it damages gill epithelia, suppresses immune function, and inhibits growth. At 0.5 mg/L, it kills within hours.

The pH-Ammonia Nexus

Total ammonia nitrogen (TAN) exists in a pH-dependent equilibrium between toxic NH₃ and relatively harmless NH₄⁺. At neutral pH (7.0), less than 1% of TAN is in the toxic form. But at pH 9.0 — common in ponds with afternoon algal blooms — over 30% becomes toxic NH₃. This means a pond can go from safe to lethal without any change in total ammonia, simply because photosynthesis drove pH upward during the day.

Nitrification: Nature's Detox

Two groups of autotrophic bacteria perform the critical detoxification. Nitrosomonas oxidize ammonia to nitrite (NO₂⁻), which is itself toxic to fish at concentrations above 1 mg/L. Nitrobacter then convert nitrite to nitrate (NO₃⁻), which fish tolerate at levels up to 200 mg/L. These bacteria colonize biofilter media and require oxygen, alkalinity, and stable conditions to maintain active populations.

Modeling the Nitrogen Cascade

This simulation tracks nitrogen through the full ammonia → nitrite → nitrate pathway using Monod kinetics for bacterial conversion rates. Adjust feed loading, pH, biofilter capacity, and water exchange to find the equilibrium concentrations. Watch how pH amplifies toxicity and how biofilter capacity creates a threshold below which the system cannot cope with ammonia production.

FAQ

Why is ammonia toxic to fish?

Un-ionized ammonia (NH₃) is a small, uncharged molecule that diffuses freely across gill membranes into the bloodstream, causing cellular damage, immune suppression, and brain swelling. The ionized form (NH₄⁺) is relatively harmless. The ratio between the two depends on pH and temperature — higher pH shifts the equilibrium toward the toxic form.

What is the nitrogen cycle in aquaculture?

Fish excrete ammonia (NH₃/NH₄⁺) through their gills. Nitrosomonas bacteria oxidize ammonia to nitrite (NO₂⁻), which is also toxic. Nitrobacter bacteria then oxidize nitrite to nitrate (NO₃⁻), which is relatively harmless at moderate concentrations. This two-step nitrification process is the foundation of biological water treatment in aquaculture.

How does pH affect ammonia toxicity?

At pH 7.0, only about 0.4% of total ammonia nitrogen exists as toxic NH₃. At pH 9.0, this jumps to over 30%. A one-unit pH increase roughly triples the toxic fraction. This is why pH management is critical — even moderate total ammonia becomes lethal in alkaline water.

How much ammonia do fish produce?

Fish excrete approximately 30–40 grams of total ammonia nitrogen per kilogram of feed consumed. In intensive systems feeding 50 kg/day, this means 1.5–2 kg of ammonia entering the water daily — requiring substantial biological filtration capacity to keep concentrations safe.

Sources

Embed

<iframe src="https://homo-deus.com/lab/aquaculture/water-quality/embed" width="100%" height="400" frameborder="0"></iframe>
View source on GitHub