Skip to content

How to Find the Mean: Formula with Examples

All Calculators Practice Questions

The mean is the average you already know: add the values, divide by how many there are. Written down, it is one line of algebra, which is why the mean is the measure most coursework asks for first.

The formula

x̄ = Σx ÷ n

  • Σx is the sum of all the values.
  • n is how many values there are, counting repeats.
  • x̄ is the mean, read as “x bar”.

Worked example: whole numbers

For the test scores 12, 15, 15, 18, 20:

  1. Add them: 12 + 15 + 15 + 18 + 20 = 80.
  2. Count them: n = 5.
  3. Divide: 80 ÷ 5 = 16.

The mean score is 16.

Worked example: negative numbers

For −5, 10, −15, 20:

  1. Add them, keeping the signs: −5 + 10 − 15 + 20 = 10.
  2. Count them: n = 4.
  3. Divide: 10 ÷ 4 = 2.5.

Only the signs need care. Adding a negative number lowers the total, and the arithmetic is otherwise identical.

Worked example: decimals

For 1.5, 2.5, 3.5:

  1. Add them: 1.5 + 2.5 + 3.5 = 7.5.
  2. Count them: n = 3.
  3. Divide: 7.5 ÷ 3 = 2.5.

Worked example: with a frequency table

If the value 12 appears 3 times, 15 appears 2 times and 18 appears once, there are six values in total with a sum of 36 + 30 + 18 = 84, so the mean is 84 ÷ 6 = 14.

Common mistakes

  • Dividing by the number of different values instead of the number of values. Both 15s count, so n is 5, not 4.
  • Losing a minus sign while adding. Write the sum out with the signs before you total it.
  • Rounding too early. Keep full precision until the end, then round to the number of decimal places your work requires.
  • Using the mean when the data is skewed. With a few very large values the median usually describes the data better.

Sharing the total equally

The arithmetic mean is the sum of all values divided by the number of values. Suppose four students read 3, 5, 6, and 10 pages. The sum is 24 pages. Divide 24 by 4 to get a mean of 6 pages. This does not mean that every student read six pages; it is the equal-share value of the total.

A quick check for the mean

A quick check is to multiply the mean by the count. Here, 6 times 4 returns the original sum, 24. The mean may be a decimal even when the data are whole numbers. For example, 2, 3, 4, and 6 have sum 15 and mean 3.75. Include units and make sure no value is accidentally omitted.

Frequently asked questions

Can a mean be a decimal?

Yes. Division can produce a decimal answer.

Does the mean use every observation?

Yes. Every number contributes to the total.

What if the list contains zero?

Count zero as an observation when it belongs in the data.

Enter your own numbers in the mean calculator to check your sum and your division.

For extra study, see the printable statistics formulas cheat sheet.

Last updated:

How are these results calculated?

The calculator uses the median-of-halves method for quartiles. For an odd number of values, the middle value is included in both halves. Percentiles use linear interpolation with position (p ÷ 100) × (n − 1). Other tools may use different rules.

Method and references

For an independent explanation of statistical methods, see the NIST/SEMATECH e-Handbook of Statistical Methods. This is a reference for general methods, not a claim of endorsement or external review. Check the calculator’s displayed steps for the exact operation used.

Scroll to Top