๐ Standard Error Calculator
By ToolNimba Editorial Team ยท Updated 2026-06-20
Separate numbers with commas, spaces or new lines.
The standard error tells you how precisely your sample mean estimates the true population mean.
The standard error of the mean (SE or SEM) measures how precisely your sample mean estimates the true population mean. This calculator works two ways: paste a list of raw data values and it computes the sample standard deviation and the standard error for you, or skip straight ahead by entering a standard deviation s and a sample size n. Either way you get the standard error, the sample size n, and the standard deviation s side by side.
What is the Standard Error Calculator?
The standard error of the mean answers a precision question. If you took your sample again and again, each sample would produce a slightly different mean. The standard error is the typical amount those sample means would bounce around the true population mean. A small standard error means your estimate is tight and trustworthy; a large one means it is noisy. It is reported constantly in research papers, lab reports, and survey results, usually as "mean plus or minus SE".
The formula is simple: SE = s / sqrt(n), where s is the sample standard deviation and n is the number of observations. The standard deviation describes how spread out the individual data points are, while the standard error describes how spread out the sample means would be. They are different things, and confusing them is the single most common mistake people make. Because n sits under a square root, the standard error shrinks slowly as you collect more data: to halve your standard error you must collect four times as many observations.
When you start from raw data, the standard deviation must be the sample standard deviation, which divides the sum of squared deviations by n minus 1 rather than by n. This adjustment, called Bessel's correction, corrects the bias you get when estimating a population spread from a limited sample. This calculator always uses the n minus 1 version, so the s it reports matches what statistics textbooks, spreadsheets (the STDEV or STDEV.S function), and most software call the sample standard deviation.
The standard error is also the building block for confidence intervals. A rough 95 percent confidence interval for the mean is the sample mean plus or minus about 1.96 times the standard error (or plus or minus 2 SE as a quick approximation). So once you have the standard error, you are one short step away from a range that is likely to contain the true population mean, which is usually the number people actually care about.
When to use it
- Reporting a sample mean in a lab report or research paper as "mean plus or minus standard error".
- Building a confidence interval for a survey or experiment result from the sample mean and its standard error.
- Deciding whether a larger sample is worth collecting by seeing how slowly the standard error falls as n grows.
- Converting a standard deviation you already have from software into a standard error without re-entering every data point.
How to use the Standard Error Calculator
- Choose a mode: "From raw data" to paste your numbers, or "From summary" if you already know s and n.
- In raw-data mode, paste your values separated by commas, spaces, or new lines; the tool finds n and computes s for you.
- In summary mode, type the sample standard deviation s and the sample size n into the two boxes.
- Read the standard error, n, and s from the result panel; raw-data mode also shows the mean and variance.
Formula & method
Worked examples
Find the standard error of the data set 4, 8, 15, 16, 23, 42.
- There are n = 6 values. The mean is (4 + 8 + 15 + 16 + 23 + 42) / 6 = 108 / 6 = 18.
- Sum the squared deviations from the mean: 196 + 100 + 9 + 4 + 25 + 576 = 910.
- Sample variance = 910 / (6 - 1) = 910 / 5 = 182, so s = sqrt(182) = 13.49.
- Standard error = s / sqrt(n) = 13.49 / sqrt(6) = 13.49 / 2.449 = 5.51.
Result: SE is about 5.51 (with s = 13.49, n = 6).
You already know the sample standard deviation is 20 and the sample size is 100. Find the standard error.
- Use the summary formula directly: SE = s / sqrt(n).
- sqrt(100) = 10.
- SE = 20 / 10 = 2.
- Notice that to halve this to 1 you would need n = 400, four times the data.
Result: SE = 2.
How the standard error shrinks as the sample size grows (with s fixed at 20)
| Sample size n | sqrt(n) | Standard error = 20 / sqrt(n) |
|---|---|---|
| 4 | 2 | 10 |
| 16 | 4 | 5 |
| 25 | 5 | 4 |
| 100 | 10 | 2 |
| 400 | 20 | 1 |
Standard deviation versus standard error
| Measure | What it describes | Formula |
|---|---|---|
| Standard deviation (s) | Spread of the individual data points | sqrt( sum of (x - mean) squared / (n - 1) ) |
| Standard error (SE) | Spread of the sample mean as an estimate | s / sqrt(n) |
Common mistakes to avoid
- Confusing standard error with standard deviation. The standard deviation describes how spread out the raw data points are. The standard error describes how precisely the sample mean estimates the population mean, and it is always smaller (it equals s divided by sqrt(n)). Reporting one when you mean the other changes the meaning of your result.
- Using the population formula (dividing by n) for s. When you compute s from a sample, divide the sum of squared deviations by n - 1, not by n. Using n underestimates the spread. This calculator uses n - 1, the same as a spreadsheet STDEV.S function.
- Forgetting the square root on n. The formula is s / sqrt(n), not s / n. Dividing by n instead of sqrt(n) makes the standard error far too small. Always take the square root of the sample size first.
- Expecting the standard error to drop linearly with more data. Because n is under a square root, returns diminish quickly. Doubling your sample size only divides the standard error by about 1.41, and to halve it you need four times as much data. Plan sample sizes with that in mind.
Glossary
- Standard error (SE)
- The standard deviation of the sampling distribution of the mean; it measures how precisely a sample mean estimates the population mean. SE = s / sqrt(n).
- Standard error of the mean (SEM)
- Another name for the standard error of a sample mean. SEM and SE of the mean refer to the same quantity.
- Standard deviation (s)
- A measure of how spread out individual data values are around their mean. The sample version divides by n - 1.
- Sample size (n)
- The number of observations in your data set. Larger n produces a smaller standard error.
- Bessel's correction
- Dividing by n - 1 instead of n when estimating variance or standard deviation from a sample, which removes downward bias.
- Confidence interval
- A range likely to contain the true population mean, often the sample mean plus or minus about 1.96 standard errors for 95 percent confidence.
Frequently asked questions
What is the standard error of the mean?
The standard error of the mean is how much a sample mean is expected to vary from the true population mean. It is the standard deviation of all possible sample means, and you compute it as the sample standard deviation s divided by the square root of the sample size n. A smaller standard error means a more precise estimate.
What is the formula for standard error?
The standard error of the mean is SE = s / sqrt(n), where s is the sample standard deviation and n is the number of observations. If you start from raw data, first compute s using the sample formula (dividing the sum of squared deviations by n - 1), then divide by the square root of n.
What is the difference between standard error and standard deviation?
The standard deviation measures how spread out your individual data points are. The standard error measures how spread out the sample mean is as an estimate of the population mean. The standard error equals the standard deviation divided by sqrt(n), so it is always smaller and it shrinks as you collect more data.
How do I calculate standard error from standard deviation?
Divide the standard deviation by the square root of the sample size: SE = s / sqrt(n). For example, if s is 20 and n is 100, then SE = 20 / sqrt(100) = 20 / 10 = 2. Use the summary mode of this calculator to do it instantly.
Does this calculator use n or n - 1 for the standard deviation?
It uses n - 1, the sample standard deviation, also known as Bessel's correction. This matches what statistics textbooks and the STDEV or STDEV.S function in spreadsheets report, and it is the correct choice when your data is a sample rather than an entire population.
How does sample size affect the standard error?
A larger sample size lowers the standard error, but only through a square root. Doubling n divides the standard error by about 1.41, and to cut it in half you need four times as many observations. That is why very precise estimates require large samples.