Home / Environmental Engineering / Water Treatment / Water Quality Index (Simplified)

Formula & Calculator

Water Quality Index (Simplified)

The Water Quality Index (WQI) combines several water quality measurements (like pH, dissolved oxygen, turbidity, and bacteria) into a single number that describes overall water quality. Each parameter is given a weight and a quality rating, then weighted and averaged. For example, a WQI of 90 means excellent water, while 40 means poor. It is used by environmental agencies to communicate water quality to the public in a simple way.

Environmental Water Treatment Water Quality

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.

Presets
Parameter Weight Wi Sub-index Qi Wi·Qi
ΣWi = — Σ(Wi·Qi) = —

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

RangeClassMeaning
0 – 25ExcellentWater quality is protected with a virtual absence of threat or impairment
25 – 50GoodWater quality is protected with only a minor degree of threat or impairment
50 – 75FairWater quality is usually protected but occasionally threatened or impaired
75 – 100PoorWater quality is frequently threatened or impaired; conditions often depart from natural
> 100UnsuitableWater 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

ParameterWeight WiWi/ΣWWhy this weight
Dissolved Oxygen0.1717 %Most direct indicator of the capacity to support aquatic life
Fecal Coliform0.1616 %Direct measure of the human-health risk from pathogens
pH0.1111 %Controls metal solubility and most chemical equilibria
BOD₅0.1111 %Organic load and the oxygen demand it will exert
Temperature0.1010 %Sets dissolved-gas solubility and metabolic rates
Total Phosphate0.1010 %Primary driver of eutrophication in fresh water
Nitrates0.1010 %Nutrient load and a health concern in drinking water
Turbidity0.088 %Light penetration, sediment transport and treatment cost
Total Solids0.077 %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

QuantityRelation
Weighted arithmetic WQIWQI = Σ(Wi · Qi) / ΣWi
Contribution of parameter iCi = Wi·Qi / Σ(Wj·Qj)
Sensitivity to Qi∂WQI/∂Qi = Wi / ΣWj
Target Qi for a target WQIQi′ = (WQIt·ΣWj − Σj≠i Wj·Qj) / Wi
Weighted geometric WQIWQIgeo = exp( Σ(Wi·ln Qi) / ΣWi )
Minimum possible WQImin(Qi) — achieved when all Qi are equal
Maximum possible WQImax(Qi)
Sub-index scale0 = pristine · 100 = severely degraded · >100 = unsuitable
Dissolved oxygen (% sat)DO% = DO / DOsat(T,S) × 100
Turbidity1 NTU ≈ 1 FNU · 1 NTU ≈ 0.25 mg/L kaolin
Conductivity / TDSTDS (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 units1 CFU = 1 colony-forming unit · MPN = most probable number
BOD / COD ratioBOD₅ / COD ≈ 0.4–0.8 for biodegradable effluent

Formula

WQI = Σ( Wi · Qi ) / Σ Wi
  • 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

How to Use This Tool

  1. Pick a preset for the water body you have in mind, or start from the default nine parameters.
  2. Edit the parameter names, weights and sub-indices. Add or remove rows as needed.
  3. In Advanced, read the per-parameter contributions and the sensitivity column, and try the target-WQI solver.
  4. Click Calculate WQI.
  5. 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
Scenario: A river has sub‑indices: DO=80, pH=90, Turbidity=70 with weights 0.3, 0.3, 0.4. Calculate the WQI.
ParameterValue
DO80 (weight 0.3)
pH90 (weight 0.3)
Turbidity70 (weight 0.4)
1WQI = (80×0.3 + 90×0.3 + 70×0.4) / (0.3+0.3+0.4) = (24+27+28)/1.0 = 79
Result 79 ✓ Good water quality
Scenario: A lake has DO=95, pH=95, Turbidity=90 with equal weights 0.3, 0.3, 0.4. Find WQI.
ParameterValue
DO95
pH95
Turbidity90
1WQI = (95×0.3 + 95×0.3 + 90×0.4)/1.0 = (28.5+28.5+36)/1.0 = 93
Result 93 ✓ Excellent
Environmental insight: WQI scores: 0-25 (poor), 26-50 (fair), 51-75 (good), 76-100 (excellent).

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

Suggest an improvement

Found a mistake? Have a better example? Let us know.
You may send up to 3 suggestions per 24 hours.

Page details

1,518

Views
  • Published July 11, 2026
  • Last updated October 2, 2026