Mean Calculator
Calculate the arithmetic mean (average) of any set of numbers instantly.
What Is the Mean?
The mean, commonly called the average, is the most widely used measure of central tendency in statistics. It is calculated by adding all the values in a dataset and dividing by the number of values. For example, the mean of {4, 8, 12} is (4 + 8 + 12) / 3 = 8. The mean takes every data point into account, which makes it useful for understanding the overall level of a dataset, but also means it can be pulled toward extreme values (outliers). This tool calculates the mean in real time as you type, and also shows the median, mode, and other statistics for complete analysis.
How to Calculate the Mean
- Enter your numbers in the text area above, separated by commas or spaces.
- Read the mean in the highlighted blue card — it updates instantly as you type.
- Review supporting stats including median, mode, range, sum, count, min, and max.
- Check the bar chart to see how individual values relate to the mean (shown as a dashed blue line).
The Mean Formula
The arithmetic mean is calculated as:
Mean = Sum of all values / Number of values
For a dataset with values x1, x2, ..., xn, the formula is x̄ = (x1 + x2 + ... + xn) / n. This is also called the sample mean. The mean is sensitive to every value in the dataset — changing even one number will shift the result. This property makes it a complete summary of the data, but it also means outliers have a disproportionate effect. When your data has extreme values, the median may be a more representative measure of center.
When to Use the Mean vs Other Measures
The mean is the best choice when your data is roughly symmetric without extreme outliers. It works well for test scores, temperature readings, and measurements where values cluster around a central point. Use the median instead when your data is skewed (like household incomes, where a few very high values pull the average up). Use the mode when you need to find the most common value, especially with categorical data like survey responses.
Frequently Asked Questions
What is the difference between mean and average?
In everyday language, "average" and "mean" are used interchangeably, and both refer to the arithmetic mean. Technically, "average" can refer to other measures of central tendency (like median or mode), but when someone says "the average," they almost always mean the arithmetic mean.
Does the mean work with negative numbers?
Yes. The mean handles negative numbers, decimals, and zero without issue. For example, the mean of {-5, 0, 10} is (-5 + 0 + 10) / 3 = 1.667. Enter negative numbers with a minus sign.
Why is my mean different from the median?
The mean and median only match when data is perfectly symmetric. If your data is skewed — for instance, most values are low but one is very high — the mean gets pulled toward the outlier while the median stays near the center of the data. A large gap between mean and median is a sign that your data is skewed.
Is there a limit to how many numbers I can enter?
There is no hard limit. The calculation works instantly for hundreds of values. The bar chart is most readable with up to about 50 values; beyond that, the statistics are still correct but individual bars become very narrow.