What this calculator does
Aquarium test kits measure total ammonia, but only part of it is the toxic, un-ionized form NH3; the rest is the much less harmful ammonium ion NH4+. The share that is toxic grows rapidly with pH and temperature, so the same test reading can be harmless in a soft, acidic tank and dangerous in a warm, alkaline one. This calculator works out the free ammonia concentration and grades the risk.
How it is calculated
The balance between NH4+ and NH3 is governed by the dissociation constant, whose temperature dependence was measured by Emerson and colleagues (1975): pKa = 0.09018 + 2729.92 ÷ T(K). The toxic fraction is 1 ÷ (1 + 10^(pKa − pH)). Free NH3 is the total ammonia reading times that fraction; if your kit reports ammonia-nitrogen (NH3-N), the result is converted by 17.03/14.01.
Worked example
A total ammonia reading of 1.0 mg/L at pH 7.5 and 25 °C has a pKa of 9.25, so 1.76 % is present as NH3 – about 0.018 mg/L, just under the commonly cited long-term limit of 0.02 mg/L. The same reading at pH 8.2 would be roughly five times more toxic.
Inputs at a glance
- Total ammonia test reading – in mg/L, example 1
- Kit reports as – choose from: Total ammonia NH3/NH4+; Ammonia-nitrogen (NH3-N / TAN-N)
- pH – a plain number, example 7.5
- Temperature – in °C or °F, example 25 °C
Practical tips
- Any measurable ammonia in an established tank signals a problem – overfeeding, a dead fish or a disturbed filter.
- Do a water change with temperature-matched, conditioned water as the first response to rising ammonia.
- Beware of raising pH in a tank that contains ammonia: the toxic share rises immediately.
FAQ
Which ammonia levels are dangerous?
Free NH3 below 0.02 mg/L is generally considered safe for long periods; above 0.05 mg/L fish are stressed and above 0.2 mg/L many species suffer acute harm.
My kit says NH3/NH4+ – which option do I choose?
Most hobby kits report total ammonia as NH3/NH4+; choose the first option unless the kit explicitly says NH3-N or nitrogen.