Not sure which lesson to do first? Find your level and get a plan →

Math · Statistics & Probability · Grade 6-8

Aggregation

Aggregation is the process of collapsing many individual values into one summary statistic — a total, a count, an average, or a proportion.


Quick Answer

Aggregation is the process of collapsing many individual values into one summary statistic — a total, a count, an average, or a proportion. Use it whenever a question wants one number for a whole group: total sales for the month, the average score of a class, the count of late buses, the share of students who walk to school. A long list becomes easy to report and compare, but every summary throws some detail away, so pick the summary that keeps the detail the question needs.

Why This Matters

Nobody can read 10,000 receipts, but anyone can read "sales were $48,000 this month." Aggregation is how raw records become reports, grades and headlines. Done carelessly it misleads: averaging two class averages without weighting by class size, or comparing totals from groups of different sizes, produces a confident number that answers the wrong question.

Intuitive Explanation

Picture a teacher holding 30 graded quizzes. Reading all 30 scores aloud tells the principal almost nothing; saying "the class averaged 82" tells her a lot. That is aggregation: many rows in, one number out. The number can be a sum (total points), a count (how many scored above 90), a mean (82) or a proportion (24 of 30 passed, so 80%). Each one answers a different question, so choosing which to compute is the real decision.

Every aggregate loses information on purpose. An average of 82 could come from 30 students who all scored about 82, or from 15 who scored 64 and 15 who scored 100. The summary is identical; the classes are not. That is why good reports pair a center with a spread, or show the data next to the summary.

Not every calculation on a data set is aggregation. Converting each student's score from points to a percent still leaves 30 separate numbers; that is rescaling (normalization), not summarizing. A dot plot of the 30 scores shows every value at once; that is a display. Count the numbers before and after: thirty in and one out means you aggregated.

Think of it like this. Aggregation works like a blender: thirty pieces of fruit go in and one smoothie comes out. You can taste the overall flavor, but you can no longer pick out the one sour strawberry. Unlike a smoothie, the original data still exist, so you can always go back and summarize them a different way.

Core idea. Aggregation combines a pile of individual data values into a single number like a sum, count, mean, or proportion.


When to Use

Aggregate when the question asks for one figure that describes a whole group: a total, a count, an average, or a percent of the group. Many rows in and one number out is the sign. If the groups differ in size and you want to compare them, aggregate each to a rate or proportion rather than a raw total. If you must keep every value but put them on a common scale, use normalization; if you need to see how the values spread, draw a display.

Tip. Ask: Am I collapsing many individual values into a single summary number for the group?

How to Recognize It

Count how many values you start with and how many the answer needs, and check whether the groups you might compare are the same size.

  1. Does the question want one number for the whole group, like a total, a count, an average or a percent?

    Yes means aggregate, and pick the summary that fits: a total for how much altogether, a count for how many, a mean or median for a typical value. If every value must stay but be rescaled, that is normalization.

  2. Are you comparing groups of different sizes, such as a class of 20 and a school of 600?

    Yes means raw totals will favor the bigger group, so turn each group's total into a rate or percent first. Groups of equal size can be compared by their totals.

  3. Are the numbers you are combining already averages of groups with different sizes?

    Yes means do not average the averages. Go back to the totals: a class of 10 averaging 90 and a class of 30 averaging 70 have a combined mean of 900+210040=75, not 80.

  4. Does the question care about how the values are spread out, or about one unusual value?

    Yes means a single summary will hide what you need; a total or mean cannot show that half a group scored 60 and half scored 100. Show the values in a dot plot or histogram, or add a measure of spread.

Aggregation compared with Mean, Normalization, and Data visualization

All four rows start from a list of individual values. Ask what the answer keeps: one number for the group (aggregation, with the mean as one kind), every value on a common scale (normalization), or every value drawn so you can see the spread (visualization).

Aggregation

Meaning
Use this when you have many individual values and need one number that summarizes the whole group.
Key test
Am I collapsing many individual values into a single summary number for the group?
Example
Five students read 4, 7, 3, 6, 5 books. Report the total and the mean as single summary numbers.

Mean

Meaning
One specific aggregation: the arithmetic average.
Key test
Use when the particular summary you want is the average, not a sum or count.
Formula
xˉ=∑xn
Example
Average of 30 quiz scores

Normalization

Meaning
Rescales values to be comparable; it doesn't collapse them into one.
Key test
Use when adjusting for group size, not when summarizing into a single figure.
Formula
countpopulation×mult
Example
Sales per store

Data visualization

Meaning
Shows individual values as a picture rather than reducing them to one number.
Key test
Use when you want to see the spread, not summarize it away.
Example
Bar graph of all 30 scores

Formula & Notation

Worked Examples

Example 1 — Aggregate a table

Easy

Five students read 4, 7, 3, 6, 5 books. Report the total and the mean as single summary numbers.
Show the steps and the answer
  1. Add the five values: 4+7+3+6+5=25.

    The total answers 'how many books did the group read altogether', so it uses every value once.

  2. Divide the total by the number of students: 255=5.

    The mean shares the total out evenly, so it answers 'how many books did a typical student read'.

  3. Check the mean: the values sit at 5−1, 5+2, 5−2, 5+1 and 5+0.

    The deviations −1+2−2+1+0 add to 0, which is exactly what deviations from a correct mean must do.

  4. Attach units: 25 books in total, 5 books per student.

    A total and a mean answer different questions, so their units differ: 'books' versus 'books per student'.

Answer: Total 25 books, mean 5 books per student

Takeaway: Five numbers became two summaries: the total describes the group, the mean describes a typical member.

Example 2 — Comparing unequal groups

Standard

Class A: 25 of 50 passed. Class B: 30 of 100 passed. Which class did better — use the totals?
Show the steps and the answer
  1. Compare the raw counts: B has 30 passers, A has 25.

    This is what 'use the totals' invites, and it makes B look better.

  2. Look at the class sizes: 50 versus 100.

    B had twice as many students who could pass, so its count is inflated by size alone.

  3. Aggregate each class to a proportion: A: 2550=0.50, B: 30100=0.30.

    Dividing by class size turns each count into 'passers per student', which compares fairly across sizes.

  4. Compare the proportions: 50%>30%.

    Half of A passed but less than a third of B did, so A did better despite having fewer passers.

Answer: A: 2550=50% vs B: 30100=30%, so A did better

Takeaway: When group sizes differ, aggregate each group to a rate before comparing; raw totals reward the bigger group.

Example 3 — Find the mistake: an average of averages

Application

Two classes took the same test. Class A has 10 students with mean score 90; Class B has 30 students with mean score 70. Priya writes: "The mean for all 40 students is 90+702=80." Find the mistake and correct it.
Show the steps and the answer
  1. Rebuild each class's total: A scored 10×90=900 points, B scored 30×70=2100 points.

    A class mean hides a total; multiplying by the class size recovers it.

  2. Aggregate the underlying data: 900+2100=3000 points over 10+30=40 students.

    The combined mean must count every student exactly once.

  3. Divide: 300040=75.

    This is the true mean of all 40 scores.

  4. Explain Priya's error: 90+702 gives the two classes equal weight.

    Her average counts each Class A student three times as much as each Class B student, which pulls the result toward A's higher score.

Answer: The combined mean is 75, not 80.

Takeaway: To combine averages from groups of different sizes, go back to the totals; a plain average of averages works only when the groups are the same size.

Where You'll See It

  • A café's monthly sales report

    A café rings up about 2,400 sales a month. The owner doesn't read every receipt; she looks at the monthly total, say $19,200, and the average sale, $19,200 divided by 2,400, which is $8. Two aggregates answer two questions: how much came in, and how much a typical customer spends.

  • A baseball batting average

    A hitter's season is hundreds of separate at-bats. The batting average aggregates them into one proportion: 150 hits in 500 at-bats is 150500=0.300. Because it divides by at-bats instead of counting hits, it can compare a regular starter with a player who batted only 200 times.

  • Grade point average across courses

    A GPA is a weighted aggregate. An A (4.0) in a 4-credit course and a C (2.0) in a 1-credit course give 4(4.0)+1(2.0)5=3.6, not the plain average 3.0, because the bigger course counts for more of the student's work.

Common Mistakes

  1. The slip: Aggregating groups of different sizes by raw totals

    Instead: compare proportions or rates when group sizes differ, not bare counts.

  2. The slip: Trusting one summary number to tell the whole story

    Instead: an aggregate hides spread, outliers, and subgroups.

  3. The slip: Averaging numbers that are already averages without weighting

    Instead: combine the underlying counts, not the summaries directly.


Mini Practice

Try these on your own. Tap Reveal when you want to check.

  1. Daily step counts are 6000,8500,7200,9100,5200. Give the total and the mean.

    Hint: Add all five days, then divide by the number of days.

  2. Class A has 20 students with mean score 80. Class B has 30 students with mean score 70. What is the mean for all 50 students?

    Hint: Rebuild each class's total score before combining.

  3. On three teams, 12 of 15, 9 of 10 and 18 of 25 players passed a fitness test. What fraction of all players passed?

    Hint: Add the passers and add the players before dividing.

  4. Room 1's scores are all between 70 and 80. Room 2's scores are half 50s and half 100s. Both average 75. What does the average hide?

    Hint: Would a student in each room have a similar experience?

  5. Store X sold 500 items with 10 staff. Store Y sold 600 items with 20 staff. You want to know whose workers sell more each. Compare total sales or sales per worker?

    Hint: Do the stores have the same number of workers?

  6. Team A has 4 players averaging 10 points. Team B has 16 players averaging 20 points. Lee says the combined average is 10+202=15. Correct him.

    Hint: The teams are different sizes. Combine the total points.

Want the full set?

50 practice questions for this concept — free to try, every one with a complete worked solution showing the why, not just the answer.

Frequently Asked Questions

Can a group look worse overall even though it does better in every part?

Yes, and it has a name: Simpson's paradox. Suppose Hospital A saves a higher share of both mild and severe cases than Hospital B, but treats mostly severe cases. Its overall survival rate, with all cases pooled, can still come out lower than B's. Pooling hides that the hospitals faced different mixes of patients, so check the subgroups before trusting the combined number.

Is the median an aggregation too?

Yes. Any rule that turns a whole list into one number counts: sum, count, mean, median, mode, largest, smallest, or the share above some cutoff. They throw away different details, though. The mean can be dragged by one huge value, while the median ignores how far the extreme values are from the middle, so pick the one that keeps what your question needs.

Why do a total and an average sometimes tell different stories?

Because a total grows with the number of members and an average does not. A team of 12 that scores 600 points in a season beats a team of 6 that scores 420 in total, but the smaller team averages 70 points per player against 50. Which number is fair depends on the question: whole-team output, or a typical player.

Learning Path

Aggregation

You are here

Next →

Nothing after this yet
You need the Mean and Data (Abstract), the idea that a data set is a list of recorded values, first. Aggregation adds the choice of which single summary (sum, count, mean, proportion) answers the question, and an eye for what that summary hides. It leads straight into summary tables, comparing groups by rates, and weighted averages that combine results from groups of different sizes.

See Also