The AQI is calculated based on the concentrations of major air pollutants including ground-level ozone, particulate matter (PM10 and PM2.5), carbon monoxide, sulfur dioxide, and nitrogen dioxide. Each of these pollutants has a different impact on health and is measured in varying units. The AQI converts these concentrations into a single scale ranging from 0 to 500, with higher values indicating worse air quality.