Air Quality Index Simulator: AQI from PM2.5, Ozone & NO₂

simulator intermediate ~10 min
Loading simulation...
AQI = 99 — Moderate air quality; sensitive groups should limit prolonged outdoor exertion

With PM2.5 at 35 µg/m³ and ozone at 60 ppb, the overall AQI is 99 (Moderate category). Air quality is acceptable but may pose a risk for unusually sensitive individuals.

Formula

AQI_p = (I_hi - I_lo) / (BP_hi - BP_lo) × (C_p - BP_lo) + I_lo
AQI_overall = max(AQI_PM2.5, AQI_O3, AQI_NO2, ...)
Gaussian plume: C(x) = Q / (2π σy σz u) × exp(-y²/2σy²)

Measuring Invisible Danger

Air quality is invisible but lethal — outdoor air pollution causes an estimated 4.2 million premature deaths annually worldwide. The Air Quality Index (AQI) translates complex pollutant concentrations into a single number that communicates health risk. This simulator lets you set concentrations of key pollutants and see how the AQI responds, with real-time visualization of dispersal patterns under different wind conditions.

The AQI Calculation

Each criteria pollutant (PM2.5, ozone, NO₂, SO₂, CO) is converted to an individual AQI using EPA breakpoint tables — piecewise linear functions that map concentration ranges to AQI bands (0–50 Good, 51–100 Moderate, 101–150 Sensitive, 151–200 Unhealthy, 201–300 Very Unhealthy, 301–500 Hazardous). The overall AQI is simply the maximum of all individual values, meaning a single elevated pollutant drives the entire index.

Pollutant Dispersal

Wind speed and atmospheric stability determine how quickly pollutants disperse from their sources. The Gaussian plume model — a foundational tool in air quality engineering — predicts concentration as a function of distance, wind speed, and atmospheric turbulence. Strong winds and unstable (convective) conditions favor rapid dispersal. Temperature inversions, common on clear nights and in valleys, trap pollutants near the ground, potentially for days.

Health Impacts and Thresholds

Fine particulate matter (PM2.5) is the deadliest common pollutant, causing cardiovascular and respiratory disease even at low concentrations. The WHO's 2021 guidelines recommend annual PM2.5 below 5 µg/m³ — a level exceeded by 99% of the world's population. Ground-level ozone inflames airways at concentrations above 70 ppb. Even 'moderate' AQI levels (51–100) pose risks for sensitive groups including children, the elderly, and people with asthma or heart conditions.

FAQ

What is the Air Quality Index (AQI)?

The AQI is a standardized scale from 0 to 500 that communicates how polluted the air is and what health effects it may cause. It is calculated from concentrations of criteria pollutants (PM2.5, PM10, O₃, NO₂, SO₂, CO) using EPA breakpoint tables. The overall AQI is the maximum of the individual pollutant AQIs.

What is PM2.5 and why is it dangerous?

PM2.5 refers to airborne particles smaller than 2.5 micrometers — small enough to penetrate deep into the lungs and enter the bloodstream. Long-term exposure increases risk of heart disease, stroke, lung cancer, and respiratory disease. The WHO guideline is 5 µg/m³ annual average; many cities exceed 25 µg/m³.

How does wind affect air quality?

Wind disperses pollutants by advection and turbulent mixing. Higher wind speeds reduce ground-level concentrations roughly proportionally. Calm conditions allow pollutant buildup, especially under temperature inversions that cap vertical mixing.

What causes ground-level ozone?

Ground-level ozone forms when nitrogen oxides (NOx) and volatile organic compounds (VOCs) react in sunlight. It is not emitted directly but produced photochemically, peaking on hot sunny afternoons. Unlike stratospheric ozone (which protects from UV), ground-level ozone is a respiratory irritant.

Sources

Embed

<iframe src="https://homo-deus.com/lab/environmental-science/air-quality/embed" width="100%" height="400" frameborder="0"></iframe>
View source on GitHub