Water Quality Index Calculator Formula
Understand the math behind the water quality index calculator. Each variable explained with a worked example.
Formulas Used
Water Quality Index
wqi = weighted_sumDO Contribution
rating = do_score * 0.30Turbidity Contribution
turbidity_contrib = turbidity_score * 0.20Nutrient Contribution
nutrient_contrib = nutrient_score * 0.20Variables
| Variable | Description | Default |
|---|---|---|
do_score | Dissolved Oxygen Score(0-100) | 75 |
ph_score | pH Score(0-100) | 80 |
turbidity_score | Turbidity Score(0-100) | 70 |
temp_score | Temperature Score(0-100) | 85 |
nutrient_score | Nutrient Score(0-100) | 65 |
weighted_sum | Derived value= do_score * 0.30 + ph_score * 0.15 + turbidity_score * 0.20 + temp_score * 0.15 + nutrient_score * 0.20 | calculated |
How It Works
How to Calculate Water Quality Index
The WQI combines multiple water quality parameters into a single score.
Formula
WQI = DO(0.30) + pH(0.15) + Turbidity(0.20) + Temp(0.15) + Nutrients(0.20)
Rating Scale
Each parameter is first converted to a 0-100 sub-index score based on its measured value.
Worked Example
A water body with DO=75, pH=80, Turbidity=70, Temperature=85, Nutrients=65.
- 01DO: 75 * 0.30 = 22.5
- 02pH: 80 * 0.15 = 12.0
- 03Turbidity: 70 * 0.20 = 14.0
- 04Temperature: 85 * 0.15 = 12.75
- 05Nutrients: 65 * 0.20 = 13.0
- 06WQI = 22.5 + 12.0 + 14.0 + 12.75 + 13.0 = 74.3 (Good)
Frequently Asked Questions
What does the WQI measure?
The Water Quality Index consolidates multiple measurements into a single number indicating overall water quality. Higher scores indicate better quality for aquatic life and human use.
Why is dissolved oxygen weighted most heavily?
Dissolved oxygen is the most critical parameter for aquatic life. Most fish need DO above 5 mg/L. Low DO indicates pollution and eutrophication.
What causes low water quality?
Common causes include nutrient runoff (fertilizers), sewage discharge, industrial pollution, sediment erosion, thermal pollution, and acid rain.
Ready to run the numbers?
Open Water Quality Index Calculator