Mean Median Mode Calculator
Calculate mean, median, and mode for any data set with step-by-step solutions
Drag & drop or click to add images or PDF
What are Mean, Median, and Mode?
Mean, median, and mode are the three primary measures of central tendency in statistics. They each describe the center of a data set in a different way.
Mean (Arithmetic Average)
The mean is the sum of all values divided by the number of values:
The mean is sensitive to outliers — a single very large or small value can shift the mean significantly.
Median
The median is the middle value when data is sorted in ascending order. For data points:
- If is odd: median
- If is even: median
The median is robust to outliers and is preferred for skewed distributions.
Mode
The mode is the value that appears most frequently. A data set can be:
- Unimodal — one mode
- Bimodal — two modes
- Multimodal — more than two modes
- No mode — all values appear equally often
These three measures together give a comprehensive picture of where the "center" of a data set lies.
How to Calculate Mean, Median, and Mode
Calculating the Mean
- Add all data values together:
- Divide by the total count
- Result:
Weighted Mean: When values have different weights:
Calculating the Median
- Sort the data in ascending order
- Count the number of values
- If is odd: the median is the value at position
- If is even: the median is the average of values at positions and
Calculating the Mode
- Count the frequency of each value
- Identify the value(s) with the highest frequency
- If all values appear once, there is no mode
Comparison Table
| Measure | Best For | Affected by Outliers? | Unique? |
|---|---|---|---|
| Mean | Symmetric data | Yes | Always |
| Median | Skewed data | No | Always |
| Mode | Categorical data | No | Not always |
When to Use Each Measure
- Mean: Use for normally distributed data without extreme outliers (e.g., test scores in a large class).
- Median: Use for skewed data or when outliers are present (e.g., household income).
- Mode: Use for categorical data or to find the most common value (e.g., most popular shoe size).
Relationship Between Mean, Median, and Mode
For a perfectly symmetric distribution: mean median mode.
For a right-skewed distribution: mean median mode.
For a left-skewed distribution: mean median mode.
Common Mistakes to Avoid
- Forgetting to sort data before finding the median — the median requires ordered data; using unsorted data gives an incorrect result.
- Confusing mean and median for skewed data — the mean is pulled toward outliers, so for skewed distributions the median is a better measure of center.
- Claiming "no mode" when there are tied frequencies — if multiple values share the highest frequency, they are all modes (bimodal or multimodal).
- Dividing by the wrong count — ensure you divide by the total number of data points, not the number of distinct values.
- Including outliers without consideration — always check for extreme values that might make the mean misleading.
Examples
Frequently Asked Questions
The mean is the arithmetic average (sum divided by count), the median is the middle value when data is sorted, and the mode is the most frequently occurring value. They each measure the center of a data set differently.
Use the median when your data is skewed or contains outliers. For example, median household income is more representative than mean income because a few very wealthy households can inflate the mean.
Yes. A data set with two modes is called bimodal, and one with more than two modes is called multimodal. If all values appear with equal frequency, the data set has no mode.
Outliers strongly affect the mean by pulling it toward the extreme value. The median and mode are resistant to outliers and remain stable even when extreme values are present.
Related Solvers
Related Guides
Try AI-Math for Free
Get step-by-step solutions to any math problem. Upload a photo or type your question.
Start Solving