Air Quality Index Calculator Formula
Understand the math behind the air quality index calculator. Each variable explained with a worked example.
Formulas Used
Air Quality Index (AQI)
aqi = aqi_valueAnnual Exposure Dose
annual_exposure = annual_dosevs WHO Guideline (5 ug/m3)
vs_who = pm25 / 5 * 100Reduction to Meet WHO
reduction_needed = pm25 - 5Variables
| Variable | Description | Default |
|---|---|---|
pm25 | PM2.5 Concentration(ug/m3) | 35 |
hours_outdoors | Daily Hours Outdoors(hours) | 2 |
days_exposure | Annual Exposure Days(days) | 250 |
aqi_value | Derived value= pm25 * 4.167 | calculated |
annual_dose | Derived value= pm25 * hours_outdoors * days_exposure | calculated |
How It Works
How to Calculate Air Quality Index
The AQI converts pollutant concentrations into a standardized scale.
Simplified PM2.5 to AQI
AQI (approx) = PM2.5 * 4.167 (for values up to ~100 AQI)
AQI Categories
The WHO guideline for annual PM2.5 is 5 ug/m3.
Worked Example
PM2.5 of 35 ug/m3, spending 2 hours outdoors daily for 250 days/year.
pm25 = 35hours_outdoors = 2days_exposure = 250
- 01AQI: 35 * 4.167 = 146 (Unhealthy for sensitive groups)
- 02Annual exposure: 35 * 2 * 250 = 17,500 ug*hr/m3
- 03vs WHO: 35 / 5 * 100 = 700% above guideline
- 04Reduction needed: 35 - 5 = 30 ug/m3
Ready to run the numbers?
Open Air Quality Index Calculator