Average Calculator
Mean, median, mode and range together, so outliers cannot hide.
Get population or sample standard deviation, variance, mean and standard error from any dataset, with every deviation and squared deviation shown so the working is visible.
About precision. Results are computed in double-precision floating point, which is exact for whole numbers up to about sixteen digits and very slightly approximate beyond that. Figures are rounded for display, so a long chain of calculations can differ from a hand-worked answer in the last decimal place. Where an exact fraction or radical exists, this page shows it alongside the decimal.
Standard deviation measures how spread out a set of numbers is, in the same units as the numbers themselves. Two datasets can share a mean and describe completely different situations, and this is the figure that tells them apart.
Everything runs in your browser. A column of salaries, test scores or clinical measurements is never uploaded anywhere.
Four steps, and the only contested one is the divisor.
| Symbol | Meaning | Unit | Typical range |
|---|---|---|---|
n | Number of values | count | 2 – 5,000 |
Mean | Arithmetic average | same as data | — |
SS | Sum of squared deviations | units² | — |
Variance | SS ÷ n or ÷ (n − 1) | units² | — |
SD | Square root of the variance | same as data | — |
The n − 1 in the sample formula is called Bessel's correction. A sample mean sits slightly closer to its own data than the true population mean does, so the squared deviations come out a little too small; dividing by a smaller number compensates. The effect matters at small n and becomes negligible as the dataset grows.
A standard deviation of 8.56 around a mean of 53.25 says that typical values sit roughly eight and a half units either side of the average — between 44.69 and 61.81. Nine of the twelve values, or 75%, fall inside that band. Widening to two standard deviations gives 36.13 to 70.37, which captures eleven of the twelve, or 91.7%.
The two answers here are 8.561276 and 8.196798 — the sample figure is 4.4% larger. On twelve values that gap is noticeable; on a thousand values the two would agree to three decimal places. Use the sample formula unless you genuinely have every member of the group, which in practice is rare enough that most software defaults to it.
The first few values, their deviations, and those deviations squared.
| Value | Deviation from 53.25 | Squared | Note |
|---|---|---|---|
| 42 | −11.25 | 126.5625 | The lowest value |
| 58 | +4.75 | 22.5625 | |
| 47 | −6.25 | 39.0625 | |
| 61 | +7.75 | 60.0625 | |
| 72 | +18.75 | 351.5625 | The largest deviation, by far |
| Total | 0.0000 | 806.2500 | Deviations always sum to zero |
Look at the 72. Its deviation of 18.75 squares to 351.56, which is 43.6% of the entire sum of squares from one value out of twelve. That is squaring doing its job: a single distant value dominates the measure, which is exactly what you want when the question is how spread out the data is.
For data that follows a normal distribution, standard deviation has a very specific meaning: about 68% of values fall within one standard deviation of the mean, 95% within two, and 99.7% within three. This dataset gives 75% and 91.7%, which is reasonably close for twelve values — small samples rarely match the theoretical proportions exactly, and expecting them to is a common error.
The coefficient of variation is the figure worth reaching for when comparing datasets in different units. It is the standard deviation as a percentage of the mean — 16.08% here — which lets you say that one process is more variable than another even when one is measured in seconds and the other in kilograms. Raw standard deviations cannot be compared across units at all.
Five things standard deviation does not tell you.
The shape of the distribution. A dataset clustered tightly around the mean and one split into two distant groups can share a standard deviation entirely. The number summarises spread and says nothing about whether the data has one peak, two, or a long tail — which is why a histogram is worth more than any summary statistic.
Whether outliers are real. The 72 in this dataset raises the standard deviation substantially. Whether that is genuine variation or a mis-transcribed 27 is a question about the data, not about the arithmetic, and no formula will answer it.
Anything about causation. Two processes with the same variability are not related, and a change in standard deviation over time does not explain itself.
Whether the mean is the right centre. On heavily skewed data the mean sits away from the bulk of the values, and a standard deviation calculated around it describes spread around a point where little of the data actually is. Check the mean against the median with the average calculator before trusting either.
Whether your sample is representative. Standard error estimates sampling variation on the assumption that the sample was drawn fairly. If the sampling was biased, a small standard error simply means you have measured the bias precisely.
Where the measure earns its keep is in process control. A production line, a support queue or a delivery time with a stable mean and a rising standard deviation is deteriorating even though the headline figure has not moved — customers experience the variability, not the average, and a service that is sometimes excellent and sometimes terrible reads as unreliable however good the mean looks.
That is the argument for plotting spread alongside centre as a matter of routine rather than reaching for it only when something has already gone wrong.
Used carefully, it remains the most informative single number you can put beside a mean. A monthly average with no measure of spread is half a report, and it is the half that hides whether the process is under control or merely averaging out.
Find the mean, subtract it from each value, square the results, add them up, divide by n or n − 1, then take the square root. Here that gives 8.561276 for a sample.
Population divides by n and is for when you have every member of the group. Sample divides by n − 1 and is for a subset of something larger, which is nearly always the case.
Because a sample mean sits slightly closer to its own data than the true mean does, making the squared deviations a little too small. Dividing by a smaller number compensates — this is Bessel's correction.
The average squared deviation from the mean, and the step before the standard deviation. It is in squared units, so it is rarely worth interpreting directly.
To stop positive and negative deviations cancelling, and to weight large deviations more heavily. The square root at the end returns the answer to the original units.
The standard deviation divided by the square root of n — 2.471 here. It estimates how much the mean itself would move if you drew a different sample of the same size.
On normally distributed data, about 68% of values; two covers 95% and three covers 99.7%. This dataset gives 75% and 91.7%, which is reasonable for only twelve values.
Use the coefficient of variation — standard deviation as a percentage of the mean, 16.08% here. Raw standard deviations in seconds and kilograms cannot be compared at all.
Enormously, because of the squaring. The single value of 72 contributes 43.6% of the entire sum of squares here, from one of twelve values.
No. The whole calculation runs in your browser, so salaries, scores or clinical measurements never leave your device.
Six tools that pick up where this one leaves off.
Mean, median, mode and range together, so outliers cannot hide.
MathSingle, combined and at-least-once probabilities without the algebra.
MathSquare, cube and nth roots with simplified radical form.
MathThree percentage questions in one tool, with the working shown.
MathWeighted assignment scores turned into a current course grade.
EverydayTurn start and end values into a fair annualised return figure.
FinanceCookies. We use cookies for site functionality and to serve ads via Google AdSense. Nothing you type into a calculator is ever stored or sent anywhere. Read our Cookie Policy.