Descriptive Statistics Calculator
Paste your numbers to get the mean, median, mode, range, variance, standard deviation, standard error, skewness, kurtosis and a confidence interval for the mean. Switch between sample and population formulas, and test the mean against a value you choose. Everything runs in your browser and nothing is uploaded.
A list of numbers separated by commas, spaces, semicolons or new lines. Or paste a table with a header row and choose the column.
Dot plot
What each statistic tells you
Centre: where the data sit
- Mean is the sum divided by the count. It uses every value, so it is also pulled by extreme ones.
- Median is the middle value of the sorted data, or the average of the two middle values when the count is even. Extreme values barely move it.
- Mode is the most frequent value. A dataset can have no mode (all values different), one mode, or several.
- Geometric mean is the n-th root of the product of values. It suits growth rates and ratios and needs every value to be positive.
- 10% trimmed mean drops the lowest and highest 10% of values before averaging, a compromise between the mean and the median.
Spread: how far values scatter
- Range is the maximum minus the minimum. Simple, but decided by two values only.
- Variance and standard deviation measure typical distance from the mean. The standard deviation is the square root of the variance and is in the same units as the data.
- Median absolute deviation (MAD) is the median of the distances from the median. It is a robust alternative to the standard deviation.
- Coefficient of variation is the standard deviation divided by the mean, as a percentage. It compares spread between variables measured in different units.
Shape and precision
- Skewness is about 0 for a symmetric distribution, positive when the tail runs to the high side and negative when it runs to the low side. As a rough guide, between −0.5 and 0.5 is close to symmetric.
- Excess kurtosis is 0 for a normal distribution. Positive values mean heavier tails and more extreme values than a normal curve, negative values mean lighter tails.
- Standard error of the mean is the standard deviation divided by √n. It shows how precisely the sample mean estimates the true mean.
- Confidence interval for the mean is mean ± t × SE, with t taken from the Student t distribution with n−1 degrees of freedom (Student, 1908). A 95% interval comes from a method that captures the true mean in about 95 out of 100 repeated samples.
Sample or population?
If your numbers are everything you care about, such as the scores of every student in one class, treat them as a population and divide by n. If they are a subset used to learn about a larger group, treat them as a sample and divide by n−1. Dividing by n−1 corrects the tendency of a sample to understate the true spread. Most coursework and most research uses the sample versions, so that is the default. The confidence interval and the t-test only make sense for samples.
Worked example you can check by hand
Take the 10 values 5, 12, 8, 10.5, 7, 9, 12, 15, 8, 11. They add up to 97.5, so the mean is 9.75. Sorted, they run 5, 7, 8, 8, 9, 10.5, 11, 12, 12, 15, so the median is (9 + 10.5)/2 = 9.75. The values 8 and 12 each appear twice, so the data have two modes. The range is 15 − 5 = 10.
The squared deviations from 9.75 add up to 76.625. For a sample, the variance is 76.625/9 = 8.514 and the standard deviation is 2.918. For a population, it is 76.625/10 = 7.663, giving a standard deviation of 2.768. The standard error is 2.918/√10 = 0.923. With t = 2.262 for 9 degrees of freedom, the 95% confidence interval for the mean is 9.75 ± 2.087, which is 7.66 to 11.84.
Here the mean and median are equal and there are two modes, which is a reminder that the same centre can hide different shapes. Check the dot plot too.
Choosing between mean, median and mode
| Situation | Better summary |
|---|---|
| Roughly symmetric numeric data | Mean, with the standard deviation |
| Skewed data or outliers (incomes, house prices, reaction times) | Median, with the IQR or MAD |
| Categories or counts of the most common value | Mode |
| Growth rates, ratios, compound returns | Geometric mean |
| Comparing variability of variables with different units | Coefficient of variation |
Common mistakes
- Using the wrong divisor. A calculator set to population gives a smaller standard deviation than software that assumes a sample. Check which one your task needs.
- Reporting the mean of skewed data alone. One extreme value can move it a long way. Show the median too.
- Treating a confidence interval as a range for individual values. It describes the mean, not where most observations fall. For that, look at the standard deviation or quartiles.
- Trusting the t interval for tiny or very skewed samples. It assumes the mean is approximately normally distributed, which holds well for larger samples but not for a handful of heavily skewed values.
- Reading a non-significant t-test as proof of no difference. With small n the test has little power. Look at the interval as well.
- Computing the coefficient of variation for data with a mean near zero or an arbitrary zero, such as temperatures in Celsius.
Frequently asked questions
What does the “test mean against” box do?
It runs a one-sample t-test. The null hypothesis is that the true mean equals the value you enter. The tool reports t, the degrees of freedom and a two-tailed p-value. A small p-value, usually below 0.05, means your sample mean would be unusual if the true mean really were that value.
Why does the tool show no mode for my data?
When every value appears only once there is no mode. The tool shows “none” rather than listing every value.
Why is the geometric mean missing?
It is only defined when all values are positive. Zeros or negative values make it undefined.
Why are skewness and kurtosis missing for small data?
Skewness needs at least 3 values and excess kurtosis needs at least 4. Even then, estimates from fewer than about 20 values are very unstable.
Which skewness and kurtosis formulas are used?
The sample setting uses the adjusted Fisher–Pearson versions (G₁ and G₂), which match Excel’s SKEW and KURT functions and SPSS. The population setting uses the unadjusted moment formulas (g₁ and g₂). Joanes and Gill (1998) compare them.
Is my data uploaded anywhere?
No. Every calculation runs as JavaScript on this page, and nothing is sent to a server.
Further reading
- Student (W. S. Gosset) (1908). The probable error of a mean. Biometrika, 6(1), 1–25.
- Joanes, D. N., & Gill, C. A. (1998). Comparing measures of sample skewness and kurtosis. Journal of the Royal Statistical Society, Series D (The Statistician), 47(1), 183–189.
- Tukey, J. W. (1977). Exploratory Data Analysis. Addison-Wesley.