How to Calculate Mean, Median, Mode
Mean, median, and mode are three ways to describe the center of a data set. Each provides different insight depending on data distribution.
The Formula
Mean = sum(x_i) / nWhere:
x_iData Point — Each value in the data setnCount — Total number of valuesMeanMean — The arithmetic averageStep-by-Step Example
Here's how to calculate mean, median, mode step by step:
- 1Find the mean: Add all values together and divide by the count.
- 2Find the median: Sort values and pick the middle one (or average of two middle).
- 3Find the mode: Identify the value that appears most frequently.
Following these 3 steps gives you the final mean, median, mode value.
Skip the Math
Home prices in a neighborhood might have a mean of $500K but a median of $350K if a few mansions skew the average upward.
Use the Free CalculatorWhy You Need This Calculation
- These three measures of central tendency summarize data sets and are foundational to all statistical analysis.
Common Mistakes
Forgetting to sort data before finding the median.
Always arrange values in ascending order first.
Assuming every data set has exactly one mode.
A set can be bimodal, multimodal, or have no mode.
Using the mean with heavily skewed data.
Median is more robust for skewed distributions.