Statistics Calculator
Mean, median, standard deviation, quartiles, regression and charts.
How to use the Statistics Calculator
- 1Paste numbers, or two columns for regression.
- 2Read the descriptive statistics and the box plot and histogram.
- 3Copy the results and check the formulas used.
About Statistics Calculator
The Statistics Calculator computes descriptive statistics for a list of numbers: count, sum, mean, median, mode, minimum, maximum, range, quartiles and interquartile range, sample and population standard deviation and variance, standard error, coefficient of variation, skewness, excess kurtosis and a confidence interval for the mean at 90, 95 or 99%. Paste values separated by commas, spaces or line breaks, or paste cells from Excel or Google Sheets.
Quartiles follow the method you choose: inclusive as in Excel's QUARTILE.INC and R's default, exclusive as in QUARTILE.EXC, or Tukey's hinges. A box plot marks outliers beyond 1.5 × IQR, and a histogram with automatic (Freedman–Diaconis), Sturges or custom bins shows the distribution next to a frequency table. With two columns of X, Y pairs, the tool adds Pearson's r, R², Spearman's rank correlation, the least-squares regression line, the standard error of the estimate, a scatter plot and a table of residuals.
A list of the formulas used makes this standard deviation calculator useful for students checking homework as well as for quick analyses of test scores, measurements or survey data.
Frequently asked questions
Should I use the sample or the population standard deviation?
Use the population formula, which divides by n, when your data covers the whole group you care about. Use the sample formula, which divides by n − 1, when the data is a sample used to estimate a larger population; this correction (Bessel's) removes the bias in the variance estimate.
Why do different programs give different quartiles?
There is no single definition of quartiles for a finite list. Methods differ in whether the median belongs to each half and how they interpolate between values, so QUARTILE.INC, QUARTILE.EXC and Tukey's hinges can give different Q1 and Q3 for the same data, especially for small samples.
What counts as an outlier?
By Tukey's rule, any value below Q1 − 1.5 × IQR or above Q3 + 1.5 × IQR. The rule flags unusual values for a closer look; it doesn't mean they are errors that must be removed.
What is the difference between Pearson and Spearman correlation?
Pearson's r measures how closely the points follow a straight line. Spearman's ρ is Pearson's r computed on the ranks of the values, so it captures any monotonic relationship and is less affected by outliers.
More in Math & Science
Plot functions, find roots and intersections, and explore with sliders.
Solve linear, quadratic, polynomial and systems of equations step by step.
Multiply, invert and find determinants, eigenvalues and more.