Water Quality Index Calculator
Weighted arithmetic WQI: WQI = Σ(Wi · Qi) / ΣWi. Enter a weight and a sub-index for each parameter, and read the classification, the gauge and the contribution breakdown.
Parameters, weights and sub-indices
Each row is one water-quality parameter. Wi is its relative weight (the weights need not sum to 1 — the formula normalizes automatically). Qi is the quality rating on the 0–100 scale, where 0 is pristine and 100 is severely degraded. Pick a preset, edit any row, or add and remove parameters.
Results
Enter the parameters and press Calculate. Your answer will appear here.
How the index is built
Each parameter contributes Wi·Qi to the numerator. Those products are summed, then divided by the sum of the weights. Because the same ΣWi is used in the denominator, the result is a weighted average of the Qi values — it always lies between the smallest and largest Qi you entered.
Contribution of each parameter
Bars show each parameter's share of the numerator Σ(Wi·Qi). The longest bar is the parameter that dominates the index. Lowering the Qi of a long bar moves the WQI the most.
WQI classification bands
| Range | Class | Meaning |
|---|---|---|
| 0 – 25 | Excellent | Water quality is protected with a virtual absence of threat or impairment |
| 25 – 50 | Good | Water quality is protected with only a minor degree of threat or impairment |
| 50 – 75 | Fair | Water quality is usually protected but occasionally threatened or impaired |
| 75 – 100 | Poor | Water quality is frequently threatened or impaired; conditions often depart from natural |
| > 100 | Unsuitable | Water quality is almost always threatened or impaired; conditions usually depart from natural |
This five-band scheme follows the widely used Brown–McClelland–Deininger formulation (1972) of the weighted arithmetic index, adopted by the U.S. National Sanitation Foundation and many national agencies.
Standard weights of the nine core parameters
| Parameter | Weight Wi | Wi/ΣW | Why this weight |
|---|---|---|---|
| Dissolved Oxygen | 0.17 | 17 % | Most direct indicator of the capacity to support aquatic life |
| Fecal Coliform | 0.16 | 16 % | Direct measure of the human-health risk from pathogens |
| pH | 0.11 | 11 % | Controls metal solubility and most chemical equilibria |
| BOD₅ | 0.11 | 11 % | Organic load and the oxygen demand it will exert |
| Temperature | 0.10 | 10 % | Sets dissolved-gas solubility and metabolic rates |
| Total Phosphate | 0.10 | 10 % | Primary driver of eutrophication in fresh water |
| Nitrates | 0.10 | 10 % | Nutrient load and a health concern in drinking water |
| Turbidity | 0.08 | 8 % | Light penetration, sediment transport and treatment cost |
| Total Solids | 0.07 | 7 % | Overall mineral and suspended load |
Weights sum to 1.00 in this canonical set. Other agencies adjust the weights, add metals, or replace some parameters — the tool accepts whatever weights you supply, and normalizes by their sum automatically.
Key relations and unit conversions
| Quantity | Relation |
|---|---|
| Weighted arithmetic WQI | WQI = Σ(Wi · Qi) / ΣWi |
| Contribution of parameter i | Ci = Wi·Qi / Σ(Wj·Qj) |
| Sensitivity to Qi | ∂WQI/∂Qi = Wi / ΣWj |
| Target Qi for a target WQI | Qi′ = (WQIt·ΣWj − Σj≠i Wj·Qj) / Wi |
| Weighted geometric WQI | WQIgeo = exp( Σ(Wi·ln Qi) / ΣWi ) |
| Minimum possible WQI | min(Qi) — achieved when all Qi are equal |
| Maximum possible WQI | max(Qi) |
| Sub-index scale | 0 = pristine · 100 = severely degraded · >100 = unsuitable |
| Dissolved oxygen (% sat) | DO% = DO / DOsat(T,S) × 100 |
| Turbidity | 1 NTU ≈ 1 FNU · 1 NTU ≈ 0.25 mg/L kaolin |
| Conductivity / TDS | TDS (mg/L) ≈ 0.55–0.75 × EC (µS/cm) |
| Nitrate as N vs NO₃ | 1 mg/L NO₃-N = 4.43 mg/L NO₃ |
| Phosphate as P vs PO₄ | 1 mg/L PO₄-P = 3.07 mg/L PO₄ |
| Coliform units | 1 CFU = 1 colony-forming unit · MPN = most probable number |
| BOD / COD ratio | BOD₅ / COD ≈ 0.4–0.8 for biodegradable effluent |
Formula
- WQI: overall water quality index on the 0–100 scale (can exceed 100)
- Wi: relative weight assigned to parameter i
- Qi: quality rating (sub-index) of parameter i, typically 0–100
- n: number of parameters included
Example — a moderately polluted river. Take nine parameters with the standard weights (DO 0.17, Fecal Coliform 0.16, pH 0.11, BOD₅ 0.11, Temperature 0.10, Total Phosphate 0.10, Nitrates 0.10, Turbidity 0.08, Total Solids 0.07) and sub-indices Qi of 70, 75, 55, 75, 40, 70, 65, 72, 60 respectively. Then ΣWi = 1.00 and Σ(Wi·Qi) = 0.17·70 + 0.16·75 + 0.11·55 + 0.11·75 + 0.10·40 + 0.10·70 + 0.10·65 + 0.08·72 + 0.07·60 ≈ 65.4, giving WQI ≈ 65.4 — a "Fair" classification.
The index is a weighted average of the individual quality ratings, so it always lies between the smallest and largest Qi. If all Qi were equal to some value q, the WQI would be exactly q regardless of the weights. The weights only determine how strongly each parameter pulls the average toward its own rating.
The sub-index Qi is not the raw measurement. Each parameter has its own rating curve that maps a physical value — mg/L of BOD, NTU of turbidity, percent saturation of DO — to a number between 0 and 100. Those curves are parameter-specific and are usually defined by the regulating agency: a pH of 7.5 might map to Q = 10, a pH of 5.0 to Q = 70, and a pH of 3.5 to Q = 100. The tool here accepts the Qi directly, so you can use whatever rating curves your agency specifies. If you have raw measurements, look up or compute the Qi first, then enter them.
Two properties of the weighted arithmetic form are worth noting. First, the average is compensatory: a very bad parameter can be partly hidden by several good ones. A river with excellent DO but very high fecal coliform might still return a "Fair" WQI because the other parameters pull the average back. A weighted geometric WQI, exp(Σ Wi ln Qi / ΣWi), is less compensatory and will punish any single very bad parameter more severely — some agencies prefer it for that reason. Second, because the denominator is ΣWi, the weights are relative, not absolute. Doubling every weight leaves the WQI unchanged. Only the ratios between weights matter.
The index is only as good as the parameters and sub-indices that go into it. Adding more parameters improves representativeness but dilutes the influence of any single one; the choice of weights is a policy decision, not a physical law. The standard nine-parameter set and the weights shown above are the most widely cited starting point, but most agencies modify them for local conditions — adding heavy metals in mining districts, dropping temperature in tropical climates, replacing fecal coliform with E. coli where that is the measured indicator.
Advanced mode adds the per-parameter contribution fractions, the sensitivity ∂WQI/∂Qi = Wi/ΣWj, the range of the entered Qi, and a target-WQI solver that shows what a single parameter's Qi would have to become to reach a chosen WQI, holding the other parameters fixed.
References
- Wikipedia, Water quality index: history of the weighted arithmetic index and the classification bands
- Brown, R.M., McClelland, N.I., Deininger, R.A., O'Connor, M.F. (1972). A water quality index — crossing the physical barrier. Proceedings of the International Conference on Water Pollution Research, Jerusalem.
- NSF International: the original nine-parameter set and its rating curves
- WHO Guidelines for Drinking-water Quality: parameter significance and health limits
- NIST SP 811, Guide for the Use of the SI: unit conversion factors
How to Use This Tool
- Pick a preset for the water body you have in mind, or start from the default nine parameters.
- Edit the parameter names, weights and sub-indices. Add or remove rows as needed.
- In Advanced, read the per-parameter contributions and the sensitivity column, and try the target-WQI solver.
- Click Calculate WQI.
- Read the classification band, then check the gauge, the contribution chart and the flow diagram.
What This Tool Offers
- Weighted arithmetic WQI = Σ(Wi·Qi) / ΣWi, with any number of parameters
- Editable parameter table with live Wi·Qi and running totals
- Five-band classification (Excellent, Good, Fair, Poor, Unsuitable)
- Colour-band gauge with a marker at the computed WQI
- Horizontal bar chart of each parameter's contribution
- Sensitivity ∂WQI/∂Qi and target-WQI solver (Advanced)
- Presets for pristine stream, clean river, moderate, polluted urban, industrial and eutrophic lake
- Standard nine-parameter weight reference and full unit relations
Variables
| Symbol | Quantity | Unit |
|---|---|---|
| WQI | Water quality index | |
| Wi | Weight assigned to parameter i | |
| Qi | Sub-index quality rating for parameter i (0-100) |
What it means
The Water Quality Index (WQI) is a simplified method to express the overall quality of water based on several measured parameters (e.g., dissolved oxygen, pH, nutrients). Each parameter is assigned a weight (Wi) representing its relative importance, and a sub‑index (Qi) based on its measured value relative to standards. The WQI is the weighted average of these sub‑indices. It is used to communicate water quality to the public and to compare the quality of different water bodies. Different WQI models exist, but the weighted sum approach is common. Example: Suppose three parameters have weights 0.4, 0.3, 0.3 and sub‑indices 80, 70, 90. WQI = (0.4×80 + 0.3×70 + 0.3×90) / (0.4+0.3+0.3) = (32+21+27)/1 = 80. This would be considered good water quality. WQI simplifies complex data but may lose some detail.
Worked example
Water Quality Index – Two Examples
Real‑World| Parameter | Value |
|---|---|
| DO | 80 (weight 0.3) |
| pH | 90 (weight 0.3) |
| Turbidity | 70 (weight 0.4) |
| Parameter | Value |
|---|---|
| DO | 95 |
| pH | 95 |
| Turbidity | 90 |
Common mistakes
- Wi: Weight assigned to each parameter (importance factor) – sum of Wi may or may not be 1.
- Qi: Sub‑index (quality rating) for each parameter – often between 0 and 100.
- Weighted average: The formula gives a weighted average score; if ΣWi ≠ 1, the result is a weighted sum divided by the sum of weights.
- Parameter selection: The choice of parameters and weights is subjective; use established WQI methods (e.g., NSF, CCME) for consistency.
- Interpretation: Higher WQI indicates better water quality; thresholds vary by method.
Applications
The simplified water quality index (WQI) aggregates multiple water quality parameters into a single score, using weighting factors (Wi) and sub‑index values (Qi) for each parameter. This index enables water resource managers to communicate overall water quality to the public and policymakers, to track trends, and to classify water bodies for different uses. WQI is applied to rivers, lakes, and groundwater, incorporating parameters such as dissolved oxygen, pH, temperature, and nutrients. While simplistic, this approach provides a transparent and interpretable measure of water quality. By using WQI, environmental agencies can prioritise restoration efforts, allocate resources, and evaluate the effectiveness of pollution control measures.
- Assessment of surface water quality for regulatory and public reporting
- Classification of water bodies for suitability (e.g., drinking, recreation, irrigation)
- Evaluation of watershed management and pollution control effectiveness
- Public education and citizen science initiatives
- Identification of water quality trends and problem areas
Related calculators · Water Treatment
Recently updated formulas
Suggest an improvement
Found a mistake? Have a better example? Let us know.
You may send up to 3 suggestions per 24 hours.