The mean from a frequency table is the sum of each value multiplied by its frequency, divided by the total frequency: mean = Σ(fx) ÷ Σf. That formula holds whether your table lists single values or class intervals. The one condition that changes everything is grouping — with intervals, you don't have exact values, so you estimate each one with its class midpoint. Everything below builds from that split.

Read the Table Before You Touch a Calculator

A frequency table is a tally wearing a suit. The left column holds the values (or ranges) of the variable, and the right column, usually labeled f, records how many times each value occurs. Before computing anything, check whether your frequencies sum to a stated total. If your table includes a "Total" row, that number is Σf and every later calculation depends on it.

Watch for a table that shows percentages instead of counts. A survey might report that 30% of respondents own two cars, and the relative frequency column sums to 1 (or 100%). In that case Σf equals 1, and the mean formula still works because the weighted sum is being divided by 1 — but if you mistakenly treat 30 as a raw count, your answer inflates.

Tables hide two common traps. First, class intervals like 10–19 and 20–29 are usually continuous in disguise, meaning the true boundaries are 9.5 to 19.5. Second, some tables use inequality notation (0 < x ≤ 5) where the upper boundary belongs to the class and the lower doesn't. Misreading either trap shifts every midpoint and corrupts the final mean by a small but real amount.

Finally, confirm units and context. A frequency table of waiting times in minutes and a table of shoe sizes use identical arithmetic, but the midpoint of a shoe-size class means something different from the midpoint of a time class. Write the variable name at the top of your working so you never divide hours by counts of days halfway through.

The Worked Example: Mean of a Discrete Frequency Table

Start with the simplest case: every value appears exactly as listed. Suppose a class of 20 students recorded how many books they read last month, and the results were condensed into a table where 1 book has frequency 3, 2 books has frequency 7, 3 books has frequency 6, and 4 books has frequency 4. The frequencies sum to 20, which matches the class size — a good sanity check.

Multiply each value by its frequency: 1×3 = 3, 2×7 = 14, 3×6 = 18, 4×4 = 16. The sum of those products, Σfx, is 51. Divide by Σf = 20 and the mean is 2.55 books per student. Notice the answer isn't a whole number even though no student read 2.55 books — a mean is a balance point, not a value anyone achieved.

Run the same audit on any discrete table by asking whether the mean looks plausible. The lowest possible value is 1 and the highest is 4, so a mean of 2.55 sits left of center, consistent with the frequency of 7 bunching around 2 books. If you'd computed 3.55, the table would have to be weighted toward 4s, and you'd know to recheck your multiplication.

Books read (x) Frequency (f) f × x
1 3 3
2 7 14
3 6 18
4 4 16
Total 20 51

Mean = 51 ÷ 20 = 2.55 books.

Estimating the Mean of Grouped Data With Midpoints

Grouped tables give you ranges, not exact values, so you substitute each class midpoint for x. Find the midpoint by adding the lower and upper class limits and dividing by 2. For the class 20–29, the midpoint is (20 + 29) ÷ 2 = 24.5. Using limits rather than true boundaries is the near-universal school convention, and the difference from using 19.5–29.5 is negligible for estimation purposes.

Take a grouped table of commute times in minutes for 40 employees: 1–10 (frequency 6), 11–20 (frequency 12), 21–30 (frequency 14), 31–40 (frequency 8). The midpoints are 5.5, 15.5, 25.5, and 35.5. Multiply: 6×5.5 = 33, 12×15.5 = 186, 14×25.5 = 357, 8×35.5 = 284. Σfx = 860, and 860 ÷ 40 = 21.5 minutes.

That 21.5 is an estimate, and it's worth saying so out loud. The grouped mean differs from the true mean whenever actual values cluster away from their class centers. If every employee in the 21–30 class actually commuted 21 minutes, the true mean would drop; the midpoint method cannot see that.

Commute (minutes) Midpoint (x) Frequency (f) f × x
1–10 5.5 6 33
11–20 15.5 12 186
21–30 25.5 14 357
31–40 35.5 8 284
Total 40 860

Midpoint Arithmetic: Where Class Midpoints Come From

A midpoint is the balance point of a class interval, and the formula is identical for every class: (lower limit + upper limit) ÷ 2. For 40–49 it's 44.5; for 100–120 it's 110. The answer is always a value halfway between the two limits, and it never needs to appear in your data.

Intervals with different widths break the rhythm. A table using 0–9, 10–19, then 20–49 has three classes of widths 9, 9, and 29. You still compute each midpoint the same way — 4.5, 14.5, 34.5 — but a wider class swallows more variation, so the estimate drifts further from the true mean. This is the moment to flag it rather than fix it.

If a table comes with open-ended classes like "60 or more," the midpoint isn't defined by the table alone. You need a convention from your course or fieldwork: some texts set the upper limit one class-width below, others ask you to collapse the open class into the adjacent one. Never invent an upper limit silently.

Check your midpoints against the variable's meaning. The midpoint of a class of ages (25–34) is 29.5, which is fine, but the midpoint of a class of household counts (5–9 members) is 7, which is also fine. The formula doesn't care; you should.

The Assumed-Mean Method, and When It Saves Real Time

The assumed-mean method, often called the step-deviation method, replaces awkward multiplication with small arithmetic. Choose any class midpoint as the assumed mean, usually one near the middle of the table. Compute each class's deviation from that assumed mean in units of class width, d = (x − A) ÷ h, where h is the class width. Then mean = A + h × (Σfd ÷ Σf).

For a table of test scores with midpoint 45 as the assumed mean and h = 10, deviations become 0, 1, 2 (for midpoints 45, 55, 65). A class with 10 points in that stretch multiplies as 10×1 = 10 instead of 10×55 = 550. The final answer matches the long method exactly, and the arithmetic is far less error-prone when your midpoints reach into the hundreds.

Use it when class widths are constant and midpoints are large. Skip it when widths vary, because h stops being a single number. For a table of wages in 500–999, 1000–1499, 1500–1999, the width is 500 throughout, and the method is a genuine time-saver. This is standard text material in the CBSE Class 10 statistics syllabus in India, where the assumed-mean approach is taught alongside the direct method.

One real number to anchor the payoff: a 6-class table with four-digit midpoints requires six two- to four-digit multiplications in the direct method, versus six single-digit multiplications with the step-deviation. On paper, that's the difference between a page of long multiplication and a row you can check in your head.

Step-by-Step: Both Methods on a Six-Class Table

Here's a complete walkthrough on a six-class table of weekly grocery spend in dollars for 50 households: 0–19 (f = 4), 20–39 (f = 9), 40–59 (f = 14), 60–79 (f = 13), 80–99 (f = 7), 100–119 (f = 3). The frequencies sum to 50, which matches the stated sample. Follow the steps in the order a statistician would.

1: Verify Σf. Add 4 + 9 + 14 + 13 + 7 + 3 and confirm it equals the stated 50. 2: Find each midpoint. Compute (0+19)/2 = 9.5, (20+39)/2 = 29.5, 49.5, 69.5, 89.5, and 109.5. 3: Multiply each midpoint by its frequency. 4×9.5 = 38, 9×29.5 = 265.5, 14×49.5 = 693, 13×69.5 = 903.5, 7×89.5 = 626.5, 3×109.5 = 328.5. 4: Sum the products. Σfx = 2,855. 5: Divide by Σf. 2,855 ÷ 50 = 57.1 dollars. 6: Cross-check with the assumed mean. Take A = 49.5 and h = 20, compute deviations as −2, −1, 0, 1, 2, 3, and confirm the result lands on 57.1 again.

If the frequencies don't sum to the stated total, find the row where you mistyped before dividing — a single missing count of 2 shifts a mean across 50 cases by about 1 to 2 units in a table like this one. If a midpoint alternates between two plausible values, use the limits-based convention and note it, because switching conventions mid-table is the second most common error.

Interpolation: Recovering the Median When Mean Won't Do

Students often reach for the mean when the question wants the median, and frequency tables are exactly where this distinction bites. For grouped data, the median sits at L + h × ((N/2 − cf) ÷ f), where L is the lower boundary of the median class, cf is the cumulative frequency before that class, f is the median class's frequency, and h is the width.

Run the grocery-spend table: cumulative frequencies are 4, 13, 27, 40, 47, 50. N/2 = 25, which falls in the 40–59 class (cumulative 27). L = 39.5, cf = 13, f = 14, h = 20. Median = 39.5 + 20 × ((25 − 13) ÷ 14) = 39.5 + 17.14 = 56.64 dollars.

The mean and median land close here (57.1 and 56.64) because the distribution is roughly symmetric. Skew it with one enormous top class and the mean climbs while the median barely moves — that gap is the reason income tables report both. Median ignores frequency weights; the mean carries every household's spend.

Three situations call for the median instead: open-ended top classes like "200 or more," distributions with outliers, and questions asking what a typical member looks like. Keep the mean for totals and budget projections, where a weighted average is the correct model.

Sample vs Population: The Divisor That Changes Your Answer

Every calculation so far divides by n = Σf, and that's correct when your frequency table describes a whole population — every student in the class, every employee on the payroll. When the table describes a sample drawn to estimate a larger population, you compute the sample variance by dividing by n − 1 instead of n. This is Bessel's correction, and the sample standard deviation is its square root.

Take a frequency table of 30 households with mean spend 57.1 dollars. Population variance divides by 30; sample variance divides by 29. The spread between the two is about 3.4%, small but not zero, and in tables with n under 20 the gap can exceed 5%. When an exam question says "sample," it means n − 1; when it says "these are all the observations," it means n.

Sample means are estimates, and their uncertainty is quantified by standard error = s ÷ √n. For n = 30 and s around 20, the standard error is about 3.65 dollars. Combine with a 95% confidence multiplier of 1.96 and the interval around 57.1 spans roughly 50 to 64 dollars. That's the honest range a frequency-table mean supports, and it's a fact most introductory tables never mention.

In practice, course problems usually specify the convention, and reporting practices at agencies like the U.S. Census Bureau follow the population formula for published totals. Read the question's wording twice before choosing the divisor, because a 1-in-30 shift in the denominator looks like an arithmetic error on a grading sheet.

Weighted Means and Grade Point Averages From the Same Formula

A frequency table is a weighted-mean machine that happens to repeat values. A GPA is the same math: grade points are x, credit hours are f, and the mean is Σ(credits × points) ÷ Σcredits. A student with an A (4.0) in a 3-credit course and a B (3.0) in a 4-credit course has Σfx = 24 and Σf = 7, so GPA = 3.43, not the 3.5 you'd get by averaging the two points.

Check every transcript you've ever puzzled over: a 4.0 in a one-credit seminar contributes a quarter of an A's pull, which is why a low grade in a heavy course stings. Frequency tables make that weighting visible — a single row with f = 4 contains more influence than four rows with f = 1.

The same structure appears in weighted surveys, where regions have different population counts, and in course grades where final exams carry 40% while quizzes carry 10%. Change percentages to weights summing to 1 and the Σfx ÷ Σf formula never needs to change.

When weights don't sum to 1 or 100, you can't average the percentages — you have to convert each weight back to a count or normalize the weights to sum to 1. That's a routine failure on student work; a mean of 82% and 68% taken at face value instead of weighted by 0.6 and 0.4 gives 75%, whereas the weighted result is 76.4%.

Checking Your Answer: Plausibility, Bounds, and the Common Blunders

The fastest review is an inequality. If the lowest value in a discrete table is a and the highest is b, the mean must fall between a and b — step outside that range and something is wrong. For grouped data, test whether the result lies between the lowest midpoint and the highest midpoint, and whether it sits on the same side of the median as the skew suggests.

The five errors that account for most wrong answers are worth listing plainly. Multiplying values by cumulative frequency instead of frequency. Using the class boundaries (9.5, 19.5) as midpoints. Dividing Σfx by the number of classes rather than Σf. Leaving an open-ended class undefined. Mixing relative frequencies (decimals) with raw counts in one column. Each one produces a number that looks reasonable, which is what makes the check necessary.

A single mis-typed cell does measurable damage. In the 20-student books table, if the frequency of 3 books were typed as 5 instead of 6, Σf becomes 19 and Σfx becomes 49, skewing the mean by 0.03 — small but visible to an automated grader. In the six-class grocery table, flipping a 14 to 13 changes the mean by about $1.17.

If you're computing in a spreadsheet, place the boundaries in column A, midpoints in B, frequencies in C, the products in D, and use =SUMPRODUCT(B2:B7, C2:C7)/SUM(C2:C7) as your terminal formula. Then verify one row by hand so you're certain the cells actually hold the numbers the table claims.

FAQ

What's the difference between the mean and the expected value of a frequency table?

They're the same calculation with different names. The expected value of a discrete random variable is Σ(x × P(x)), and when P(x) is relative frequency, this equals the frequency-table mean because dividing by Σf normalizes the weights. If your table's frequencies sum to 1, the products can be summed directly with no final division.

Is it wrong to use midpoints when the grouped table has uneven class widths?

It's permitted but increasingly inaccurate. Midpoints assume values spread evenly within each class, and a class that is 2x or 3x wider than its neighbors can hide real values far from the center. The result is still a legitimate estimate under that uniform-spread assumption, but with mixed widths the assumed-mean shortcut doesn't apply, so use the direct method and say the estimate is rough.

Can the mean ever fall outside the range of observed values?

In grouped data, yes — and this is the surprising case. If a table has wide classes and all values sit near class boundaries, the midpoint-based estimate can land slightly beyond the lowest or highest actual observation, because the midpoint never coincides with a real data point. The true arithmetic mean cannot go outside the observed range, so an answer beyond it signals the estimation error.

How do I handle a frequency table with an open class at the bottom, such as "under 5"?

Assume the class has a lower limit one class-width below the next class's lower boundary and compute the midpoint the standard way. If your course requires a different convention, follow the specified rule. Either way, record the assumption in your work so the estimate can be audited.

My table's frequencies are decimals — can I still use Σfx ÷ Σf?

Yes, provided every entry uses the same scale. Decimals or fractions that sum to 1 work identically to counts, because the ratio is unchanged. The one real hazard is mixing rows — a decimal frequency row combined with a count row will produce a meaningless denominator.

Does a higher Σf change the size of the mean?

Not by itself if the proportions stay the same. Scaling every frequency by the same multiplier (say 2x) leaves the mean unchanged because both numerator and denominator scale. What changes the mean is uneven scaling — if only the largest class's frequency is adjusted, the balance point moves toward that class, which is why data entry errors concentrate in the largest rows.

What should I do if the total frequency in the table doesn't match the stated sample size?

Stop the computation and reconcile. The mismatch means a row is missing, duplicated, or mistyped, and every downstream figure inherits the error. Check the stated sample size against the cumulative frequency column, then against the raw counts if available. If the data genuinely doesn't reconcile, report the totals you have rather than forcing them to fit.

Is the mean of a frequency table always the best summary?

No. For skewed distributions with outliers, the median or modal class often describes a typical case better. For open-ended classes, the median avoids assumptions the mean requires. Use the mean when you need a weighted total per unit, or when the distribution is roughly symmetric and your classes are narrow.