The Air Quality Index Calculator computes AQI from measured pollutant concentrations, applying UK standards and indicating health categories and dominant pollutant.
Report an issue
Spotted a wrong result, broken field, or typo? Tell us below and we’ll fix it fast.
What Is a Air Quality Index Calculator?
An Air Quality Index (AQI) calculator converts pollutant concentrations into a standardized scale. The scale usually runs from 0 to 500. Low values indicate clean air. High values signal higher health risk. The calculator applies rules from public agencies to deliver a single, easy number.
Different pollutants affect health in different ways. Agencies set health breakpoints for each pollutant and averaging time. The AQI calculator maps a measured concentration to these breakpoints. The most concerning pollutant sets the final reported AQI for the location and time.
The result helps you interpret complex data across varying units. For example, it can turn µg/m³ for particles and ppb for ozone into a uniform health index. That consistency supports public warnings and operational decisions.

Formulas for Air Quality Index
The AQI formula is a piecewise linear mapping. It converts a pollutant concentration into a sub-index using the breakpoint range that contains the value. Each pollutant has its own breakpoint table and averaging time.
- Identify breakpoints: choose C_lo and C_hi that bound the measured concentration C.
- Use the matching AQI bounds: I_lo and I_hi for that breakpoint range.
- Compute sub-index: I = (I_hi − I_lo) / (C_hi − C_lo) × (C − C_lo) + I_lo.
- Repeat for each pollutant and averaging time required, such as 24-hour PM2.5 or 8-hour ozone.
- Final AQI = maximum of all valid sub-indices for the period.
Some agencies define rounding or truncation rules before plugging values into the equation. For example, particles may be truncated to a certain decimal place. Ozone may use specific decimals in ppm or ppb. Always align with the guidance for your jurisdiction.
The Mechanics Behind Air Quality Index
The AQI approach rests on chemistry, exposure science, and risk communication. The method blends measured mass of particles and moles of gases into a single scale. It uses defined breakpoints that reflect known health effects at population level.
- Time averaging: different pollutants use different averaging windows, such as 24 hours for PM2.5 or 8 hours for ozone.
- Breakpoint tables: each pollutant has segments that map concentration ranges to AQI ranges.
- Sub-index selection: calculate a sub-index for every pollutant, then report the maximum value.
- Nowcasting: near-real-time PM may use weighted averages to reflect recent spikes more strongly.
- Dominant pollutant: the “driving” pollutant is reported so users know what is causing risk.
Because pollutants are measured in different units, conversion is key. Gases often appear in ppb or ppm, which reflect moles in air. Particles appear as mass per volume. The AQI does not mix them directly. Instead, each uses its own breakpoint rule to land on the same index scale.
Inputs and Assumptions for Air Quality Index
To compute AQI correctly, you need consistent pollutant data and the right reference tables. Your inputs should match the averaging times and units expected by the standard you follow.
- Concentrations for PM2.5, PM10, ozone (O3), carbon monoxide (CO), nitrogen dioxide (NO2), and sulfur dioxide (SO2).
- Correct averaging period for each pollutant, such as 24-hour PM2.5 or 8-hour ozone.
- Units for each pollutant, for example µg/m³ for particles and ppb or ppm for gases.
- Breakpoint tables from your agency or standard (EPA, WHO, or national equivalents).
- Optional temperature and pressure if you must convert ppb/ppm to mass units.
Edge cases occur when values lie outside published breakpoints or when data are missing. Many agencies cap AQI at 500 and flag extraordinary events. Some require a minimum data capture percentage to calculate an average. Review your program’s rules before reporting results.
How to Use the Air Quality Index Calculator (Steps)
Here’s a concise overview before we dive into the key points:
- Choose your jurisdiction’s AQI method and download the matching breakpoint tables.
- Collect pollutant data for the required averaging times and confirm the units.
- Convert units where needed so each pollutant matches the method’s expectations.
- For each pollutant, find the breakpoint range that contains the measured concentration.
- Apply the linear formula to compute each pollutant’s sub-index.
- Select the highest sub-index as the final AQI and record the dominant pollutant.
These points provide quick orientation—use them alongside the full explanations in this page.
Case Studies
A coastal city records a 24-hour PM2.5 of 35.0 µg/m³, 8-hour ozone of 0.055 ppm, and 1-hour NO2 of 60 ppb. Using EPA breakpoints, PM2.5 maps into the Moderate range with a sub-index near 100. Ozone maps lower, around the Good to Moderate boundary. The maximum sub-index is from PM2.5, so the AQI is about 100 and the dominant pollutant is PM2.5. Residents with asthma should moderate outdoor exertion if they are sensitive.
What this means
A mountain valley experiences winter stagnation with PM2.5 at 80 µg/m³, ozone at 0.030 ppm, and CO at 3.0 ppm. The PM2.5 value maps to Unhealthy for Sensitive Groups or higher, depending on the exact breakpoint location. Ozone remains Good, and CO is Moderate. The AQI is driven by PM2.5, signaling a need for alerts and possibly temporary emission controls. People with heart and lung disease should reduce strenuous activity outdoors.
What this means
Limits of the Air Quality Index Approach
AQI is a simplification. It compresses complex chemistry, diverse exposure patterns, and personal risk into a single number. That number is useful for daily choices. Yet it cannot capture every nuance of health risk or pollutant mix.
- One number hides the mixture: different pollutants can have different health effects even at the same AQI.
- Short spikes may be smoothed by averaging, masking brief but intense exposures.
- Vulnerable groups vary: sensitive individuals may react at lower levels than the general population.
- Breakpoints reflect policy choices and may differ by country or update cycle.
- Indoor exposure can differ greatly from outdoor AQI, depending on buildings and filtration.
Use AQI as a guide, not a medical diagnosis. For critical operations or clinical advice, consult detailed concentration data, local regulations, or health professionals. When the stakes are high, examine the full time series, not just the daily index.
Units & Conversions
AQI calculations rely on correct units. Particles are reported as mass per volume, such as µg/m³. Gases often use mixing ratios like ppb or ppm, which relate to moles of gas in air. To compare or model across pollutants, conversions may be needed using molecular mass and the ideal gas law.
| Quantity | From | To | Conversion |
|---|---|---|---|
| Carbon monoxide (CO) | 1 ppm | µg/m³ | ≈ 1,145 µg/m³ (MW 28.01; factor 40.9 × ppm) |
| Nitrogen dioxide (NO2) | 1 ppb | µg/m³ | ≈ 1.88 µg/m³ (MW 46.01; factor 0.0409 × ppb) |
| Ozone (O3) | 1 ppb | µg/m³ | ≈ 1.96 µg/m³ (MW 48.00; factor 0.0409 × ppb) |
| Sulfur dioxide (SO2) | 1 ppb | µg/m³ | ≈ 2.62 µg/m³ (MW 64.07; factor 0.0409 × ppb) |
| Mass concentration | 1 mg/m³ | µg/m³ | 1 mg/m³ = 1,000 µg/m³ (exact) |
These conversions assume ideal gas behavior at 25 °C and 1 atm, where the molar volume is about 24.45 L/mol. The factor 40.9 comes from 1,000 ÷ 24.45. Always confirm temperature and pressure if you need higher accuracy, because moles per volume change with conditions.
Common Issues & Fixes
Most AQI errors come from unit mismatches, wrong averaging times, or breakpoint misalignment. Another common issue is rounding where truncation is required by the method.
- Problem: Using ppb instead of ppm for ozone. Fix: Convert and match the breakpoint units.
- Problem: Averaging NO2 hourly data into 24 hours when the method needs 1 hour. Fix: Follow specified time windows.
- Problem: Rounding concentrations rather than truncating. Fix: Apply the rule in your guidance document.
- Problem: Missing a pollutant that drives the AQI that day. Fix: Clearly mark “insufficient data” and avoid false low AQI values.
Build a checklist for unit checks, time windows, and breakpoint versions. Automate conversions and validations in your workflow. Document any assumptions, especially when default temperature and pressure are used.
FAQ about Air Quality Index Calculator
Which pollutants are usually included in AQI?
Most AQI systems include PM2.5, PM10, ozone, carbon monoxide, nitrogen dioxide, and sulfur dioxide. Local rules may omit or add pollutants based on monitoring capacity.
Why does only one pollutant appear as the AQI?
The reported AQI is the maximum sub-index across pollutants. Listing the dominant pollutant helps users see the main driver of health risk for that period.
Do temperature and pressure matter for AQI?
They matter when converting ppb or ppm to mass units. The ideal gas law ties moles to volume. If breakpoints use mixing ratios, conversions may not be needed.
How often should I update the AQI?
Daily AQI is common, but many platforms update hourly with nowcasting for particles. Follow your agency’s guidance for public reporting frequency.
Glossary for Air Quality Index
Averaging Time
The period over which measurements are averaged before computing a sub-index, such as 1 hour, 8 hours, or 24 hours.
Breakpoint
The concentration interval and its corresponding AQI range used in the linear mapping for a specific pollutant.
Dominant Pollutant
The pollutant with the highest sub-index for the period. It sets the final AQI reported to the public.
Sub-index
The AQI value computed for a single pollutant using its concentration, averaging time, and breakpoint range.
NowCast
A weighted averaging method that emphasizes recent data to estimate near-real-time PM air quality.
Units
The measurement formats used for pollutants, such as µg/m³ for mass concentration or ppb for gas mixing ratios.
Mass
The amount of matter measured, often in micrograms for particles in air. AQI maps this mass per volume to a health index.
Moles
A count of particles based on Avogadro’s number. Gas mixing ratios like ppb relate to moles of pollutant per mole of air.
Sources & Further Reading
Here’s a concise overview before we dive into the key points:
- AirNow: AQI Basics and Health Categories
- U.S. EPA: Technical Assistance Document for the Reporting of Daily AQI
- U.S. EPA: National Ambient Air Quality Standards (NAAQS) Table
- WHO: Global Air Quality Guidelines 2021
- CDC/NIOSH: PPM to mg/m³ Conversion Calculator and Guidance
These points provide quick orientation—use them alongside the full explanations in this page.