Statistics

Mean

The mean is the arithmetic average of a set of numerical values. Add all values and divide by the number of values.

Meaning

What Is Mean?

The mean is the arithmetic average of a set of numerical values. Add all values and divide by the number of values.

Examples

Examples of Mean

1Mean of 2, 4, 6 = 4
2Mean of 5, 5, 8, 10 = 7
3Mean of 3 and 9 = 6
Understand

Formula and Key Points

Formula / rule
Mean = Sum of values ÷ Number of values
  • The mean uses every value in the data set.
  • Extreme values can strongly affect the mean.
  • The mean is one measure of central tendency.
CSE Connection

Why This Matters in Computer Science

Used in data analysis, machine-learning evaluation, experiments, monitoring and performance measurement.

Step by Step

Worked Example

Problem

Find the mean of 4, 7, 8 and 9.

  1. Add the values: 4 + 7 + 8 + 9 = 28.
  2. Count the values: 4.
  3. Divide 28 by 4.
✓
Final Answer7
Try Your Own Problem in Math Solver →
Compare

Mean, Median and Mode

MeasureMeaningExample use
MeanArithmetic averageGeneral numerical centre
MedianMiddle ordered valueData with outliers
ModeMost frequent valueMost common category/value
FAQ

Mean: Frequently Asked Questions

How do you calculate the mean?

Add all values and divide by how many values there are.

Is mean the same as average?

In basic statistics, average often refers to the arithmetic mean.