Water Quality Index Calculator
Calculate the NSF Water Quality Index from dissolved oxygen, pH, BOD, temperature, and turbidity. Get instant WQI scores and water use suitability ratings.
Water Quality Index Calculator
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser โ no data is sent to any server.
Formula: WQI = SUM(Qi x Wi)
Worked example โ WQI = 94.5 (Excellent) | Suitable for drinking, swimming, and aquatic life
Formula
WQI = SUM(Qi x Wi)
The NSF Water Quality Index is calculated by converting each parameter measurement to a Q-value (0-100) using standard curves, then multiplying by the parameter weight (Wi). Weights reflect relative importance in the full nine-parameter NSF index: DO (0.17), pH (0.11), BOD (0.11), Temperature (0.10), Turbidity (0.08). Because this tool uses only these five parameters, the weights are renormalised so they sum to 1 (0.298, 0.193, 0.193, 0.175, 0.140) before the weighted Q-values are summed to produce the final WQI score from 0-100.
Worked Examples
Example 1: Clean River Assessment
Problem:A river has DO=9.5 mg/L, pH=7.4, BOD=1.5 mg/L, Temp=18C, Turbidity=5 NTU. Calculate the WQI.
Solution:DO saturation at 18C = 9.54 mg/L, %sat = 99.6% Q(DO) = 99.6 (near optimal) Q(pH) = 96.0 (near-neutral, excellent) Q(BOD) = 92.5 (very low organic load) Q(Temp) = 90.0 (close to reference 20C) Q(Turb) = 90.0 (clear water) WQI = 99.6(0.298) + 96(0.193) + 92.5(0.193) + 90(0.175) + 90(0.140) WQI = 29.7 + 18.5 + 17.9 + 15.8 + 12.6 = 94.5
Result:WQI = 94.5 (Excellent) | Suitable for drinking, swimming, and aquatic life
Example 2: Polluted Urban Stream
Problem:An urban stream: DO=3.0 mg/L, pH=6.2, BOD=15 mg/L, Temp=28C, Turbidity=60 NTU. Calculate WQI.
Solution:DO saturation at 28C = 7.83 mg/L, %sat = 38.3% Q(DO) = 38.3 (critically low) Q(pH) = 66.0 (acidic) Q(BOD) = 11.5 (heavy organic load) Q(Temp) = 48.0 (elevated temperature) Q(Turb) = 50.0 (murky water) WQI = 38.3(0.298) + 66(0.193) + 11.5(0.193) + 48(0.175) + 50(0.140) WQI = 11.4 + 12.7 + 2.2 + 8.4 + 7.0 = 41.7
Result:WQI = 41.7 (Bad) | Unsuitable for recreation; aquatic life impaired
Frequently Asked Questions
What is the Water Quality Index (WQI)?
The Water Quality Index is a single numerical value that summarizes multiple water quality parameters into an overall assessment of water condition. Developed by the National Sanitation Foundation (NSF) in 1970, the WQI considers up to nine parameters including dissolved oxygen, pH, BOD, temperature change, total phosphates, nitrates, turbidity, total solids, and fecal coliform. Each parameter is converted to a quality score (Q-value) from 0-100 using standardized curves, then multiplied by a weight reflecting its importance. The weighted scores are summed to produce the final WQI. Scores range from 0 (worst) to 100 (best quality water).
What do the WQI rating categories mean?
The NSF WQI uses five categories: Excellent (90-100) means water quality is pristine, suitable for all uses including drinking with minimal treatment. Good (70-89) indicates minor impairment, suitable for most uses. Medium (50-69) means water quality is fair with some impairment and limitations on certain uses. Bad (25-49) indicates significant pollution, unsuitable for drinking or primary contact recreation without treatment. Very Bad (0-24) means severe pollution, potentially harmful to aquatic life and human health. These categories help water managers quickly communicate complex water quality data to the public and make management decisions.
Why is dissolved oxygen the most important parameter?
Dissolved oxygen (DO) receives the highest weight (0.17) in the NSF WQI because it is the most critical factor for aquatic life. Fish and aquatic invertebrates require dissolved oxygen for respiration, with most species needing at least 4-5 mg/L to survive and 6-8 mg/L to thrive. DO levels below 2 mg/L create hypoxic conditions (dead zones) that kill most aquatic organisms. DO is also an indicator of overall water health because it reflects the balance between oxygen-producing processes (photosynthesis, atmospheric exchange) and oxygen-consuming processes (decomposition, respiration). Low DO often signals excessive organic pollution or nutrient overload.
How does temperature affect water quality?
Temperature profoundly affects water quality through multiple mechanisms. Warmer water holds less dissolved oxygen (solubility decreases roughly 1-2% per degree Celsius increase), stressing aquatic organisms. Temperature directly affects metabolic rates of aquatic life, with most species having narrow optimal ranges. Elevated temperatures from thermal pollution (power plant discharge) or climate change can disrupt spawning, migration, and growth cycles. Temperature also affects the rate of chemical reactions and microbial decomposition. Rapid temperature changes are especially harmful; most aquatic organisms can tolerate gradual changes but not sudden shifts of more than 2-3 degrees.
What is BOD and why does it matter?
Biochemical Oxygen Demand (BOD) measures the amount of dissolved oxygen consumed by microorganisms while decomposing organic matter in water over 5 days at 20 degrees Celsius (BOD5). High BOD indicates heavy organic pollution from sources like sewage, agricultural runoff, food processing waste, or decaying vegetation. When organic matter decomposes, bacteria consume oxygen, potentially depleting DO to levels harmful to fish and other organisms. Clean water typically has BOD below 2 mg/L, moderately polluted water has BOD of 3-8 mg/L, and heavily polluted water (raw sewage) can have BOD exceeding 200 mg/L. Wastewater treatment plants are designed to reduce BOD before discharge.
How are Q-values derived from a raw measurement?
Each parameter has a rating curve that maps its measured value onto a 0 to 100 subindex, and those curves are deliberately non-linear. The pH curve peaks near neutral and falls away on both the acid and alkaline sides, while dissolved oxygen is scored against percent saturation rather than raw mg/L. Converting to Q-values first is what allows quantities with completely different units and directions of harm to be combined into one weighted score.
Why are the parameter weights unequal, and what if I lack a measurement?
The weights encode expert judgement about how strongly each parameter reflects overall condition, which is why dissolved oxygen carries the largest share and turbidity a smaller one. They are designed to sum to one, so if a parameter is missing the remaining weights must be rescaled proportionally to keep the total at one. Dropping a parameter without renormalising silently deflates the score and makes results incomparable with a full survey.
What is the difference between a weighted arithmetic and a weighted geometric index?
The arithmetic form sums each Q-value times its weight, so a single catastrophic parameter can be masked by good scores elsewhere, an effect known as eclipsing. The geometric form multiplies Q-values raised to their weights, so any parameter approaching zero drags the whole index toward zero. Arithmetic indices are easier to interpret and decompose; geometric ones are more conservative where a single severe impairment should dominate the verdict.
How much do sampling time and location change the score?
Dissolved oxygen swings on a daily cycle, rising while algae and plants photosynthesise and falling overnight through respiration, so the pre-dawn minimum is the stressful value and a midday grab sample can look far healthier. Turbidity and BOD spike during and after storm runoff. A single sample is a snapshot of one place and moment, so repeated sampling at consistent times, and above and below a suspected discharge, gives a far more defensible picture.
How do turbidity and suspended solids harm aquatic life beyond the score?
Suspended particles scatter and absorb light, reducing the depth at which submerged plants and algae can photosynthesise, which in turn limits oxygen production. Settling solids blanket gravel beds, smothering fish eggs and the invertebrates that feed on them, and abrasive particles irritate gill tissue. Sediment also carries adsorbed phosphorus, metals and pathogens, so a turbidity reading often flags contaminant transport that the other index parameters do not directly measure.
References
Background & Theory
History
Reviewed for accuracy by Daniel Agrici, Founder & Lead Developer ยท Editorial policy
Related Calculators
๐งฎCodon Adaptation Index Calculator
Calculate codon adaptation index with inputs, formulas, and instant results.
๐งฎCat Quality of Life Calculator
Calculate cat quality of life with inputs, formulas, and instant results.
๐งฎDog Quality of Life Calculator
Calculate dog quality of life with inputs, formulas, and instant results.
๐งฎDog Water Intake Calculator
Calculate dog water intake with inputs, formulas, and instant results.
๐งฎBiodiversity Index Calculator
Calculate biodiversity index with inputs, formulas, and instant results.
๐งฎShannon Diversity Index Calculator
Calculate shannon diversity index with inputs, formulas, and instant results.
๐งฎSimpson Diversity Index Calculator
Calculate simpson diversity index with inputs, formulas, and instant results.
๐งฎWater Potential Calculator
Calculate water potential with inputs, formulas, and instant results.