Standard Error Calculator
Calculate the standard error of the mean from raw data or from a standard deviation and sample size, with a 95% interval.
Everything you type here is processed on your own device. No input is sent to a server, logged, or stored.
What the Standard Error Calculator does
The standard error calculator on this page will calculate the standard error of the mean from raw data or from a standard deviation and sample size, with a 95% interval. Fill in all 3 fields and the result updates as you type — there is no Calculate button to press and no page reload. It is most often used for adding correct error bars to a chart of means. There are more free online tools on FreeToolsWorld.org.
How to use it
- Paste your raw data to get the standard error straight from it.
- Or, if you only have summary statistics, enter the standard deviation and the sample size instead.
- Read the standard error, and the approximate 95% interval around the mean.
- Check the last row to see how much more data a tighter estimate would take.
How it works
The standard deviation describes how spread out the individual values are. The standard error describes how much the sample mean would bounce around if you repeated the whole study. They are different questions with different answers, and quoting one when you meant the other is probably the most common error in published charts: error bars labelled "SD" are far wider than error bars labelled "SEM" on the same data, and which you show changes how convincing the figure looks.
Dividing by the square root of n is what makes larger samples more reliable, and it is also why reliability gets expensive. Halving the standard error needs four times the data, not twice; cutting it to a tenth needs a hundred times. The row at the bottom of this page spells that out for your own sample size.
The 95% interval shown here uses 1.96 standard errors, the normal-distribution multiplier. For small samples the correct multiplier comes from the t-distribution and is larger — about 2.31 at n = 9, and over 2.5 below n = 6 — so the interval on this page is slightly too narrow for small data sets. It is reported as approximate for that reason, and for n under about 30 a t-based interval is the honest choice.
When to use it
- Adding correct error bars to a chart of means.
- Reporting a mean with its precision in a results section.
- Working out how much more data a study needs.
- Converting between a published standard deviation and standard error.
Common mistakes to avoid
- Labelling standard-error bars as standard deviation or the reverse. They differ by a factor of √n.
- Using 1.96 for a small sample. Below about n = 30 the t-multiplier is noticeably larger and the interval wider.
- Expecting the standard error to shrink in proportion to n. It shrinks with the square root of n.
Frequently asked questions
What is the difference between SD and SEM?
The standard deviation measures the spread of individual observations; the standard error measures the uncertainty in the mean of those observations. SEM = SD / √n, so the standard error is always the smaller of the two and keeps shrinking as you collect more data while the standard deviation does not.
Which should go on my error bars?
Standard deviation if you want to show how variable the underlying measurements are, standard error or a confidence interval if you want to show how precisely you have pinned down the mean. Whichever you choose, label it — an unlabelled error bar is unreadable.
How do I halve my standard error?
Collect four times as much data. The √n in the denominator means precision improves with the square root of sample size, which is why large studies cost so much more than small ones for modest gains.