Calculate mean (average) and median (middle value) instantly. Understand your data with step-by-step solutions and smart outlier detection.
Mean (Average)
-
Median (Middle)
-
Count
-
Sum
-
Range
-
Min
-
Max
-
Data is sorted ascending to identify the median.
Formula: Sum ÷ Count
÷
=
Method:
=
Enter data above to see instant results.
Note: Non-numeric characters are filtered out. Calculations treat all values with equal weight.
The mean (often called the arithmetic average) is the most common way to measure the "center" of a dataset. It is calculated by adding all the values together (the sum) and dividing by the total number of values (the count).
Formula: Mean = (x₁ + x₂ + ... + xₙ) ÷ n
The mean is highly useful for symmetric data where values are evenly distributed. However, it is sensitive to outliers—a single extremely high or low number can pull the mean away from the true "center."
The median is the middle value of a dataset when it is sorted from smallest to largest. It represents the exact midpoint: half the data is smaller than the median, and half is larger.
The median is "robust," meaning it is rarely affected by outliers. This makes it the preferred measure for skewed data like income or housing prices.
| Use MEAN when... | Use MEDIAN when... |
|---|---|
| Data is symmetric (bell curve) | Data is skewed (long tail) |
| There are no extreme outliers | Outliers are present |
| Precision is needed for all values | Representative "typical" value is needed |
| Example: Height of students in a class | Example: Household income, Home prices |
An outlier is a data point that differs significantly from other observations. Imagine five people in a room with yearly incomes of $35k, $40k, $45k, $38k, and $1,000,000 (a CEO).
Mean Income: $231,600
Misleading. Only the CEO earns this much or more. It does not represent the "typical" person in the room.
Median Income: $40,000
Accurate. This perfectly represents the typical salary of the group, ignoring the CEO's extreme outlier.
This is why economists and real estate agents almost always report median income and home prices—the mean is too easily distorted by the ultra-wealthy or luxury mansions.
Mean is the arithmetic average. Median is the middle value. Mode is the value that appears most frequently. They are all measures of "central tendency" but behave differently when data is skewed.
Use the median when your data contains outliers or is skewed (like income data). The median provides a better "typical" value in these cases because it resists extreme numbers.
First, sort your numbers from lowest to highest. If you have an odd amount of numbers, the median is the one exactly in the middle. If you have an even amount, take the two middle numbers, add them up, and divide by 2.
Yes! A dataset is "bimodal" if two values appear with the same highest frequency, or "multimodal" if more than two do.
