Hello. This module follows pollution measurements as they are summarized and, later, turned into AQI numbers. We will start with the measurements themselves: hourly PM2.5 concentrations. By the end of this lesson, you will be able to calculate an ordinary average and a weighted average, then explain why either one can disagree with the latest hourly reading.
The distinction matters when two reports appear to conflict. A reading taken over one hour and a number summarizing several hours can both be calculated correctly while describing different periods.
A simple average: every hour counts equally
Suppose a monitor reports four consecutive hourly PM2.5 concentrations of , , , and micrograms per cubic meter, written . The most recent hour is , but the four-hour simple average is:
The average has not made the high hour disappear. That hour contributes one quarter of the result. It also has not told us that the air right now measures . It describes the four hours taken together.
A moving average repeats this calculation as new measurements arrive. Each new four-hour result uses the latest four readings: it includes the new hour and drops the oldest. The short video below demonstrates that sliding window with a different kind of time series. Substitute “hourly PM2.5 concentration” for “daily price” as you watch.
What is Moving Average? 📈 [Explained]
Watch “What is Moving Average?” by VRDNation for the mechanics of a moving average and its smoothing effect.
Watch the calculation, especially how the oldest observation leaves the window when a new one arrives. Then skip to the smoothing explanation. For air quality, remember that a smoother line can also respond later than the newest measurement.
Here is what happens if the concentration stays at after the first high hour. The four-hour average rises in stages rather than jumping immediately to .
| Four readings, oldest to newest | Latest hour | Four-hour simple average |
|---|---|---|
This is both the advantage and the cost of averaging. A single brief peak has less influence on the summary, but a sustained change takes time to appear fully. The same delay occurs when concentrations fall: after four hours at , a new reading of produces a four-hour average of . The latest hour has improved, while the average still contains three earlier high hours.
For equally long hourly intervals, a complete 24-hour simple average uses the same arithmetic with 24 values. If 23 hours measure and one hour measures , the average is:
That number describes the entire 24-hour period; it is not the concentration during the peak. Nor is the concentration itself an AQI value. Converting a suitable concentration summary into an AQI is a separate step.
A weighted average: recent hours can count more
A simple average treats every hour in its window alike. For a report intended to reflect changing conditions more promptly, we can give recent hours greater weights. The calculation is still an average: multiply each measurement by its weight, add those products, and divide by the sum of the weights.
where is an hourly concentration and is its weight. Dividing by the sum of the weights, rather than by the number of hours, is essential.
For a four-hour illustration, give the newest hour a weight of , the preceding hour , then , then for the oldest. With the readings , ordered oldest to newest, the result is:
Compare the three descriptions of this moment: the latest hour is , the four-hour simple average is , and this weighted average is . The weighted value is closer to the latest reading because the latest reading has more influence. It still incorporates older hours, so it does not jump all the way to .
The same weights applied as the window moves give the following results:
| Four readings, oldest to newest | Latest hour | Simple average | Weighted average |
|---|---|---|---|
Notice the last row. Weighting recent hours makes the summary respond faster to improvement as well as deterioration: is lower than the simple average of . Yet it remains above the latest reading of , because the older high measurements still count. More responsive does not mean instantaneous.
These four-hour weights are a teaching example, not an official US NowCast calculation. The EPA’s PM NowCast uses a weighted average drawn from the past 12 hourly measurements, with weights that respond to how variable the measurements have been. Its fact sheet supplies the method; focus here on why it weights hours, rather than on converting the result into an AQI.
Read the EPA’s “PM NowCast” fact sheet to connect the weighted-average idea to a real-time particulate-matter report.
Under “How the NowCast Works,” read the explanation of when recent hours receive more weight. Then, under “Calculating the NowCast,” follow steps 1 through 7. Identify the measurements being averaged, how the weight factor is chosen, and why the calculation divides by the sum of the weights. Leave step 8, conversion to AQI, for a later lesson.
Reading a chart without mistaking smoothing for disagreement
The graph below plots several descriptions of PM2.5 during one day. Its black line shows raw observations, while its blue NowCast line responds more gradually. The purple line is labeled “Daily avg.” and remains much lower during the evening rise; the green line is a forecast.

During the evening rise, the black observations reach roughly while the blue NowCast is lower. That separation is consistent with a weighted summary retaining some influence from earlier, cleaner hours. The purple line is lower still, as a longer-period summary can be when a rise occurs late in its period.
Do not assume, solely from the label “Daily avg.” on a chart that changes hour by hour, exactly how that line was constructed. Establish its time window and calculation method before comparing its number with another service’s. The forecast is different again: it is a prediction, not an average of the observations plotted up to that moment.
The general lesson is not that one of these lines must be wrong. Before comparing reported numbers, identify what was measured or estimated, which hours were included, and how much influence each hour received. Averaging can soften a short peak and can make a sustained rise or fall appear later than it does in the latest hourly observation.
Key takeaways
A simple average gives each included hourly concentration equal weight. A weighted average follows the same basic arithmetic but gives some hours more influence; recent-heavy weighting can respond faster while still lagging the newest reading. Both results retain the concentration’s unit, , and neither is automatically an AQI value.
Next, we will distinguish a completed daily report, a rolling average, a NowCast, and a forecast by the period each represents.