See the distribution the mean can hide.
Paste a dataset, inspect its shape and compare center, spread and outliers in one view.
How to use this tool
Direct answer
The mean is the balance point, the median is the middle value, and the gap between them tells you about the shape.
Paste your data once and read it properly: where the middle sits, how far the values scatter around it, whether two variables move together, and how many ways a set can be arranged. Every branch shows the intermediate steps, not just the final figure.
What the answer includes
- Paste your values into "Data set", separated by commas or spaces
- You get count, sum, minimum, maximum, range, mean, median and mode
- Comparing the mean against the median tells you which way the data leans: mean above median means a right skew
- The chart puts the mean on the actual min-to-max scale of your data, split into thirds
What can change it
- Mathematical result based on the inputs. Verify units, assumptions, and rounding before technical use.
- One extreme value can drag the mean a long way while barely moving the median — that is exactly why income figures are usually reported as medians
- A data set can have no mode, one mode or several. Reporting a mode for continuous measurements is usually meaningless
- The range only uses two numbers out of the whole set, so it is extremely sensitive to a single outlier
Deadline or next step: if the mean and the median are far apart, quote the median and say why.
Answer supported by: NIST / SEMATECH · NIST / SEMATECH
Values can be separated by commas, spaces or semicolons — anything non-numeric is ignored. The second list is only used by the weighted-average and regression branches.
Last reviewed:
Responsible editor: Martín Rodríguez
Formula and sources verified. Educational guidance only. It does not replace qualified professional advice.
Frequently asked questions
What is the difference between mean, median and mode?
The mean is the sum divided by the count — the balance point of the data. The median is the middle value once everything is sorted, with the average of the two middle values when the count is even. The mode is whatever value appears most often. They coincide in a perfectly symmetric distribution and separate as soon as it skews, which is why the gap between the mean and the median is itself a useful diagnostic: mean above median means a few large values are pulling the average up.
When should I report the median instead of the mean?
Whenever the distribution is skewed or contains outliers you do not want to let dominate. Household income is the standard example: a handful of very high incomes drag the mean far above what a typical household earns, so official statistics report the median. The mean is the better choice for symmetric data and whenever you need a figure that adds up correctly across groups, since medians cannot be combined by weighting the way means can.
Why does the sample standard deviation divide by n − 1?
Because the sample mean is itself estimated from the same data, and it sits by construction slightly closer to the sample points than the true population mean does. Dividing by n would therefore systematically understate the spread. Dividing by n − 1, known as Bessel's correction, makes the variance an unbiased estimator of the population variance. The correction matters most on small samples: with n = 5 it inflates the variance by 25%, with n = 100 by about 1%.
What is the difference between variance and standard deviation?
Variance is the average of the squared distances from the mean, so it is expressed in squared units — squared dollars, squared centimeters — which nobody can interpret directly. The standard deviation is its square root, which brings it back into the original units and makes it comparable to the mean. Variance remains the quantity that behaves nicely in algebra: variances of independent variables add, standard deviations do not.
What is the coefficient of variation for?
It is the standard deviation divided by the mean, expressed as a percentage, and it lets you compare the spread of data sets that use different units or sit at very different scales. A standard deviation of 5 is enormous around a mean of 10 and negligible around a mean of 10,000. As rough guidance, under 15% counts as tightly clustered, 15–30% as moderate, and above 30% as genuinely scattered. It is only meaningful for ratio data with a positive mean.
How do I calculate a weighted average?
Multiply each value by its weight, add up those products, and divide by the sum of the weights. The mistake to avoid is dividing by the number of items instead of by the total weight. For a GPA the values are grade points and the weights are credit hours, so a 3.0 earned in a four-credit course counts twice as much as a 4.0 earned in a two-credit seminar. Weights do not need to sum to one; the formula normalises them for you.
What does R² actually mean?
R² is the share of the variation in Y that the fitted line accounts for. An R² of 0.82 means the line explains 82% of how much Y moves, leaving 18% to everything the model does not capture. It equals the square of the correlation coefficient r for a simple linear regression. What it does not tell you is whether the relationship is causal, whether a straight line was the right shape, or whether one outlier is doing all the work.
Does a high correlation prove that one thing causes the other?
No. A strong fit is consistent with X causing Y, with Y causing X, with a third variable driving both, and with pure coincidence in a small sample. Ice cream sales and drowning deaths correlate strongly, and the cause of both is summer. Establishing causation needs either an experiment where you control X, or a design that rules out the plausible confounders. The regression tells you about association only.
What is the difference between a combination and a permutation?
A permutation counts arrangements where order matters; a combination counts selections where it does not. Picking three people for a committee is a combination — the same three people are the same committee whatever order you name them in. Picking a president, a treasurer and a secretary from the same three is a permutation, because swapping roles gives a different outcome. The two are linked by P(n,k) = C(n,k) × k!, since each selection can be ordered k! ways.
How many combinations are there in a 6-of-49 lottery?
C(49,6) = 49! ÷ (6! × 43!) = 13,983,816. Order does not matter on a lottery ticket, so it is a combination rather than a permutation — the permutation count P(49,6) is 720 times larger, at just over 10 billion. Because there are fourteen million equally likely tickets, buying one of each would guarantee the jackpot, and would also cost far more than most jackpots pay out.
What is the standard error of the mean?
It is the standard deviation divided by the square root of the sample size, and it estimates how much your sample mean would bounce around if you repeated the sampling. It is the quantity behind confidence intervals: roughly 95% of sample means fall within about two standard errors of the true mean. Note the square root — quadrupling your sample size only halves the standard error, which is why precision gets expensive fast.
How many values do I need for these statistics to mean anything?
The arithmetic works from n = 1 for the mean and n = 2 for a sample standard deviation, but working is not the same as being informative. With fewer than about ten values a standard deviation is very unstable, and a regression on three points can show a near-perfect R² purely by chance. Treat small-sample results as a description of the numbers you have, not as an estimate of anything wider.
Editorial transparency
Who is responsible for this page
Choose your situation
Main query:Statistics Calculator
What do you want to solve?
Your next step
Continue your decision
Use the result you just obtained to continue with a directly related calculation.
Related tools in other countries and languages
Check the language, units and assumptions of each tool.