how to calculate mean

Mean Calculator

Enter numbers separated by commas, spaces, or semicolons.

Result will appear here.

What is the mean?

The mean (also called the arithmetic average) is one of the most common measures of center in math and statistics. If you are learning how to calculate mean, the core idea is simple: add all values together, then divide by how many values there are.

People use mean to summarize data quickly. For example, you can find the mean test score in a class, the mean daily sales in a store, or the mean number of hours slept in a week.

Mean formula

Standard formula

Mean = (Sum of all values) / (Number of values)

  • Sum of all values: Add every number in your data set.
  • Number of values: Count how many numbers are included.

How to calculate mean step by step

  1. Write down all numbers in your data set.
  2. Add the numbers to get the total sum.
  3. Count the number of values.
  4. Divide the sum by the count.

That is the complete process for how to calculate mean in most school, business, and everyday problems.

Examples of calculating mean

Example 1: Whole numbers

Data: 5, 10, 15, 20

  • Sum = 5 + 10 + 15 + 20 = 50
  • Count = 4
  • Mean = 50 / 4 = 12.5

Example 2: Decimals

Data: 2.5, 3.5, 4.0

  • Sum = 2.5 + 3.5 + 4.0 = 10.0
  • Count = 3
  • Mean = 10.0 / 3 = 3.333...

Example 3: Negative and positive values

Data: -4, 2, 6

  • Sum = -4 + 2 + 6 = 4
  • Count = 3
  • Mean = 4 / 3 = 1.333...

How to calculate weighted mean

Sometimes values do not all carry equal importance. In that case, use a weighted mean. The weighted mean formula is:

Weighted Mean = (Sum of value × weight) / (Sum of weights)

Example: Suppose homework is worth 40% and exam is worth 60%. If homework score is 90 and exam score is 80:

  • (90 × 0.40) + (80 × 0.60) = 36 + 48 = 84
  • Weighted mean = 84

Mean vs. median vs. mode

  • Mean: Average of all values.
  • Median: Middle value when numbers are sorted.
  • Mode: Most frequently occurring value.

The mean is useful, but it can be affected by outliers (very high or very low numbers). In highly skewed data, median may describe the center better.

Common mistakes when calculating mean

  • Forgetting to include all values in the sum.
  • Dividing by the wrong count.
  • Mixing categories that should not be averaged together.
  • Rounding too early in multi-step calculations.

Quick tips for accurate results

  • Double-check your total sum before dividing.
  • Use parentheses or a calculator for long lists.
  • Keep extra decimal places until the final answer.
  • For large data sets, consider using spreadsheet formulas like =AVERAGE(...).

Final takeaway

If you remember one thing about how to calculate mean, remember this: add all numbers, then divide by how many numbers there are. With that single method, you can solve most average problems in school, work, and daily life.

🔗 Related Calculators