About the Water Quality Index Calculator
The weighted arithmetic water quality index turns a test report into a single figure. Each parameter gets a quality rating qᵢ = |(measured − ideal) ÷ (standard − ideal)| × 100, and a weight wᵢ = K ÷ standard, so that parameters with tight limits count for more. WQI is the weighted mean of the ratings.
The standards used here are the BIS 10500:2012 acceptable limits for drinking water — pH 8.5, TDS 500 mg/L, turbidity 1 NTU, hardness 200, chloride 250, nitrate 45, fluoride 1.0, iron 0.3, sulphate 200 — with dissolved oxygen handled the other way round, where 14.6 mg/L is ideal and 5 the standard. Fluoride, iron and turbidity therefore carry much more weight than TDS or hardness.
The classes are 0-25 excellent, 26-50 good, 51-75 poor, 76-100 very poor and above 100 unfit for drinking. What the index cannot see matters as much as what it reports: no bacteria, no coliform, no pesticides, no arsenic and no heavy metals. Water with an excellent WQI can still make you ill, and a bacteriological test is a separate job.
