An average is a single number that summarizes a set of values. In school, "average" usually means the arithmetic mean, but the weighted average and the moving average each answer a different question, so the right choice depends on what you are trying to capture.

mean=x1+x2++xnn\text{mean} = \frac{x_1 + x_2 + \cdots + x_n}{n}

Use the arithmetic mean when every value should count equally, a weighted average when some values should count more, and a moving average when ordered, time-based data needs smoothing.

The arithmetic mean: every value counts equally

The arithmetic mean adds all values and divides by how many there are. Why divide by nn? Because giving each of the nn observations the same share of the total is exactly what "equal influence" means.

The mean uses every value, which makes it easy to compare across groups, but it is sensitive to outliers — one unusually large or small number can pull it away from what feels typical.

The weighted average: some values matter more

When importance differs, weight each value:

weighted average=wixiwi\text{weighted average} = \frac{\sum w_i x_i}{\sum w_i}

Here xix_i is a value and wiw_i is its weight. Larger weights give more influence. The formula divides by wi\sum w_i because the weights, not the count, now define how the total should be shared. Course grades, investment returns by portfolio share, and average prices by quantity all follow this pattern. One condition matters: the total weight wi\sum w_i must not be 00.

The moving average: smoothing data over time

For data in time order, average a rolling window of recent values instead of the whole set. With window length kk:

MAt=xt+xt1++xtk+1k\text{MA}_t = \frac{x_t + x_{t-1} + \cdots + x_{t-k+1}}{k}

This smooths noise so a short-term trend is easier to see. It does not remove variation and does not predict the future; it summarizes recent data using the window you chose. A longer window looks smoother because it reacts more slowly.

One worked example that shows all three

A student's practice scores over five weeks are 7070, 7575, 8080, 8585, and 100100.

For one overall average across all five weeks, use the arithmetic mean:

70+75+80+85+1005=4105=82\frac{70 + 75 + 80 + 85 + 100}{5} = \frac{410}{5} = 82

Now suppose recent work should count more, with weights 1,1,1,2,21, 1, 1, 2, 2:

1(70)+1(75)+1(80)+2(85)+2(100)1+1+1+2+2=5957=85\frac{1(70) + 1(75) + 1(80) + 2(85) + 2(100)}{1 + 1 + 1 + 2 + 2} = \frac{595}{7} = 85

The newer scores carry more weight, so the result rises to 8585. To smooth the recent trend instead, take a 33-week moving average of the last three weeks:

80+85+1003=265388.3\frac{80 + 85 + 100}{3} = \frac{265}{3} \approx 88.3

The same five numbers produced three different answers because the goal changed. That is the core idea behind choosing the right average.

Try it yourself, then check the answer

Take five numbers from your own study data. Find the arithmetic mean, then a weighted average where the last two values count double, then a 33-value moving average for the last window. If your weighted average lands between the plain mean and the largest weighted values, your setup is consistent.

Calculation traps to watch for

  • Using the plain mean when the data already has weights. Equal weighting only makes sense when each value should contribute equally; otherwise it misleads.
  • Averaging averages without the original weights. If one class has 1010 students and another has 3030, you cannot average the two class averages as if the groups were equal. Use the underlying counts.
  • Forgetting to divide by the total weight. Multiplying values by weights is only half the job; you still divide by wi\sum w_i.
  • Naming a moving average without its window length. A 33-day and a 3030-day moving average are not interchangeable.

Where each average is used

Use the arithmetic mean for test scores or measurements where every observation counts equally. Use a weighted average when importance is already assigned, such as grade categories or quantities sold. Use a moving average for time-based data — temperatures, sales, traffic, study progress — when raw values jump around from period to period.

Frequently Asked Questions

What is the difference between an arithmetic mean and a weighted average?
The arithmetic mean gives every value the same influence: add the values and divide by the count. A weighted average gives some values more influence by multiplying each value by a weight, summing, and dividing by the total weight. Use weights when the problem says some parts matter more.
When should you use a weighted average?
Use a weighted average when some values should count more than others, such as course grades with different weightings, investment returns by portfolio share, or average prices by quantity. The total weight must not be zero, and the result is only meaningful if the weights match the situation you are modeling.
What is a moving average used for?
A moving average smooths data listed in time order by averaging a rolling window of recent values, making the short-term trend easier to see. It does not remove variation or predict the future. The window length matters: a longer window looks smoother because it reacts more slowly.
How do you calculate the arithmetic mean?
Add all the values and divide by how many there are. For practice scores of 70, 75, 80, 85, and 100, the mean is 410 divided by 5, which is 82. The mean uses every value, which makes it easy to compare across groups, but one extreme outlier can pull it away from what feels typical.

Need help with a problem?

Upload your question and get a verified, step-by-step solution in seconds.

Open GPAI Solver →