Your Equation

Library / Foundations: Maths / FMA-05

Foundations: Maths

Mean from a frequency table

Average of grouped or tallied data.

Ref
FMA-05
Rev
v1
Field
Foundations: Maths
Result
x̄

Multiply each value x by its frequency f, add the products (Σfx) and divide by the total frequency (Σf). For grouped data use class midpoints for an estimate.

Add up all the values, counting each as often as it occurs, then divide by how many values there are.

Calculator

Solve for
505,000
5500
  • Sum of values372
  • Number of values30

What drives the result

Each variable is moved across its typical range while the others stay at the values above. The longest bar is the key driver.

Mean () current value 12.4
ΣfxSum of frequency × valueKey driver
1.67167
ΣfTotal frequency
0.74474.4
  • The mean is the balance point of the data; one extreme value can pull it far.
  • With grouped data the mean is only an estimate because the exact values inside each class are unknown.
Chart data as tables

Ranked variables

VariableTypical rangeLowest resultHighest resultSwing ()Local stepChange in result
Σfx Sum of frequency × value50 to 5,000 1.667166.7165+10%+10 %
Σf Total frequency5 to 500 0.74474.473.66+10%−9.09 %

Sweep of Sum of frequency × value

Sum of frequency × valueMean
501.667
88.912.964
158.15.27
281.29.372
50016.67
889.129.64
1,58152.7
2,81293.72
5,000166.7

Sweep one variable

Mean ()Hover, touch, or use the arrow keys on the chart
050100150 50100200500100020005000 Sum of frequency × value, log scale now 12.4

Variables and how each one contributes

x̄

Mean

Result ·

What the equation gives you. Everything else feeds it.

Σfx

Sum of frequency × value

· typical 50 to 5,000

The total of every value counted by its frequency. Directly proportional.

Σf

Total frequency

· typical 5 to 500

The number of data values. Inversely proportional.

Worked example with the values above

  1. Total of all values: Σfx = 372.
  2. Number of values: Σf = 30.
  3. Mean = 372 / 30 = 12.4.

Assumptions and limits

  • Frequencies are counts of equally weighted data.
  • For grouped data, values are spread evenly around the midpoint.

Common mistakes

  • Dividing Σfx by the number of classes instead of Σf.
  • Using class boundaries instead of midpoints.

Statistics and uncertainty

The mean of n measurements has a standard error s/√n, so quadrupling the number of readings halves the uncertainty in the mean.

Where it is used

  • Average measurement from repeated trials.
  • Summarising tallied test results.

Maths you need

  • Tables: read frequencies
  • Division: total divided by count

Related formulas

Practise this formula