Air Quality by Zip Code Calculator
The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.
This calculator converts the Air Quality Index (AQI) for a specific zip code into a plain-language category (Good, Moderate, Unhealthy, etc.) and shows the concentration of the main pollutant in micrograms per cubic meter (µg/m³). You enter the AQI value you see on your local air quality app or website, and the tool returns the health category, the associated color, and the equivalent PM2.5 concentration. This is useful when you want to understand what a number like “AQI 85� actually means for your outdoor plans.
Formula
The AQI is a linear index defined by the U.S. Environmental Protection Agency (EPA). For each pollutant, the index is calculated using breakpoints that map a concentration range to an AQI range. For PM2.5 (fine particulate matter), the relevant breakpoints are:
- AQI 0–50 → PM2.5 0.0–12.0 µg/m³
- AQI 51–100 → PM2.5 12.1–35.4 µg/m³
- AQI 101–150 → PM2.5 35.5–55.4 µg/m³
- AQI 151–200 → PM2.5 55.5–150.4 µg/m³
- AQI 201–300 → PM2.5 150.5–250.4 µg/m³
- AQI 301–500 → PM2.5 250.5–500.4 µg/m³
The formula to convert AQI to concentration uses the linear interpolation equation: Concentration = ( (AQI – AQI_low) / (AQI_high – AQI_low) ) × (Conc_high – Conc_low) + Conc_low. In this calculator, we simplify by using the PM2.5 breakpoints above, which is the most common pollutant used for daily AQI reports. For other pollutants (ozone, CO, SO₂, NO₂), the breakpoints differ, but the category thresholds (Good, Moderate, etc.) remain the same.
Worked Example
Suppose the AQI in your zip code is 50, which is the default value. Using the PM2.5 breakpoints, AQI 50 falls in the 0–50 range. The concentration is directly 12.0 µg/m³ (the upper bound of that range). The category is “Good� (green). If you enter AQI 85, it falls in the 51–100 range. Using the interpolation: (85 – 51)/(100 – 51) × (35.4 – 12.1) + 12.1 = (34/49) × 23.3 + 12.1 ≈ 16.2 + 12.1 = 28.3 µg/m³. The category is “Moderate� (yellow).
How to Find Your Zip Code’s AQI
Several free websites and apps provide real-time AQI by zip code. The most authoritative source in the U.S. is AirNow.gov, operated by the EPA. You can enter your zip code on the site’s homepage and see the current AQI for your area. Many state and local air quality agencies also publish daily AQI forecasts. For global coverage, apps like IQAir and Plume Labs use a mix of government monitors and low-cost sensors. When you look up your zip code, you’ll typically see a number (e.g., 45) and a color (green, yellow, orange, red, purple, maroon). The number is the AQI; the color corresponds to the category.
How to Interpret the Result
The AQI category tells you how healthy the air is for the general population. “Good� (0–50) means air quality is satisfactory and poses little or no risk. “Moderate� (51–100) is acceptable, but there may be a slight concern for a very small number of people who are unusually sensitive. “Unhealthy for Sensitive Groups� (101–150) means people with lung disease, older adults, children, and those with heart disease should reduce prolonged outdoor exertion. “Unhealthy� (151–200) means everyone may begin to experience health effects; sensitive groups may experience more serious effects. “Very Unhealthy� (201–300) triggers a health alert, and “Hazardous� (301+) indicates emergency conditions. The PM2.5 concentration output helps you understand the actual particle mass in the air, which is useful if you want to compare with other measurements or research.
Common Mistakes and Limitations
- Using the wrong pollutant: The AQI is calculated for the “dominant� pollutant, which is often PM2.5 but can be ozone on hot, sunny days. This calculator assumes PM2.5; if your local report says the dominant pollutant is ozone, the concentration output will not match.
- Ignoring the difference between 1-hour and 24-hour averages: AQI is typically reported as a 24-hour average for PM2.5, but some sensors show real-time 1-hour values. The 1-hour value can fluctuate widely and may not reflect your actual exposure over the day.
- Assuming a single zip code is uniform: Air quality can vary within a zip code due to traffic, industrial sources, and weather. A monitor several miles away may not represent your exact street.
- Rounding too early: When interpolating, keep at least one decimal place until the final step to avoid a misleading category boundary.
Why AQI Categories Matter for Your Health
The category is not just a label—it is tied to health recommendations. For example, on a day with AQI 150 (“Unhealthy for Sensitive Groups�), children and adults with asthma are advised to avoid prolonged outdoor exertion. On a day with AQI 200 (“Unhealthy�), even healthy adults are advised to reduce prolonged outdoor exertion. These recommendations are based on epidemiological studies that link short-term exposure to particulate matter with respiratory and cardiovascular hospitalizations. The color scale (green to maroon) is designed to be intuitive: green means go, yellow means caution, orange means sensitive groups should take action, red means everyone should take action, purple means a health alert, and maroon means a health warning of emergency conditions.
How to Choose a Reliable Air Quality Source
When you look up your zip code’s AQI, consider the source. Government monitors (like those on AirNow) are regulatory-grade and are the most accurate, but they are sparse—often one monitor per county. Low-cost sensor networks (like PurpleAir) provide more local data but can overestimate PM2.5 due to calibration differences. Many apps blend both, but they may use different correction factors. For a quick check, AirNow is the most consistent with official health recommendations. If you are in a region with no nearby monitor, the AQI may be based on model estimates, which are less accurate. Always check the date and time of the reading; air quality can change rapidly during wildfires or rush hour.
Frequently Asked Questions
Can I get the AQI for my zip code directly from this calculator?
No, this calculator only converts an AQI number you already have into a category and a PM2.5 concentration. To get the AQI for your zip code, you need to visit a live source like AirNow.gov or an app that provides real-time data. Once you have the number, enter it here to understand what it means.
What is the difference between AQI and PM2.5?
AQI is a dimensionless index that combines several pollutants into one number. PM2.5 is a specific pollutant—particles less than 2.5 micrometers in diameter. The AQI for PM2.5 is calculated from its concentration using the breakpoints listed above. So an AQI of 100 corresponds to a PM2.5 concentration of 35.4 µg/m³ (24-hour average).
Why does the AQI change throughout the day?
Air quality varies with emissions (traffic, industry), weather (wind, rain), and atmospheric chemistry. For example, ozone peaks in the afternoon on sunny days, while PM2.5 can spike during morning rush hour or wildfires. Real-time AQI readings reflect these short-term changes, while the daily AQI is a 24-hour average.
Is it safe to exercise outdoors when AQI is 100?
An AQI of 100 is “Moderate,� which is generally safe for the public, but sensitive individuals may experience mild symptoms. If you are healthy, you can exercise outdoors, but consider reducing intensity if you notice any coughing or shortness of breath. For AQI above 100, people with respiratory conditions should limit exertion.
How accurate are zip-code-level AQI readings?
Accuracy depends on the distance to the nearest monitoring station. In urban areas, monitors are often within 10–20 miles, which can miss localized pollution from highways or factories. In rural areas, the nearest monitor might be 50 miles away. For the most accurate personal exposure, consider a portable sensor or check multiple sources.
Related
Formula used
in aqi | AQI value | - | 50 | 0 out cat | Category | - | if(aqi
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.