Standard Error of the Mean Calculator
The standard error of the mean (SEM) quantifies the precision with which a sample mean estimates the true population mean. It is defined as the sample standard deviation divided by the square root of the sample size. When you see error bars on scientific charts or the plus or minus values in clinical trials, those often represent the SEM. A small SEM indicates that repeated samples would produce mean values clustered close together, while a large SEM suggests more variability from sample to sample. Enter the standard deviation and sample size below to compute the SEM instantly.
Standard error of the mean formula
SEM = s / √n
Where s is the sample standard deviation and n is the sample size. The SEM decreases as n increases: doubling the sample size reduces SEM by a factor of the square root of 2, approximately 1.41.
SEM versus standard deviation
- Use standard deviation to describe the variability of individual observations within a sample.
- Use SEM to describe the precision of the sample mean as an estimate of the population mean.
- In scientific papers, error bars labeled SD show data spread; error bars labeled SEM show estimation precision. They serve different purposes and should not be confused.
- For a sample size of 100 and SD of 10, SEM = 10 / 10 = 1.00, meaning the sample mean is accurate to within about 1 unit.
Frequently asked questions
What is the standard error of the mean?
The standard error of the mean (SEM) measures how much the sample mean is expected to vary from sample to sample. It equals the sample standard deviation divided by the square root of the sample size. A smaller SEM means the sample mean is a more precise estimate of the true population mean.
How is SEM different from standard deviation?
Standard deviation (SD) measures the spread of individual data points around the mean within a single sample. SEM measures the precision of the sample mean as an estimate of the population mean. SEM is always smaller than SD because SEM equals SD divided by the square root of n.
Can I calculate SEM from a dataset entered directly?
This calculator accepts the pre-computed standard deviation and sample size. If you have raw data, first compute the sample standard deviation and count the data points, then enter those values here.
Why does SEM decrease as sample size increases?
With more data, the sample mean becomes a more reliable estimate of the population mean. Mathematically, SEM equals SD divided by the square root of n, so as n grows, the denominator grows and SEM shrinks proportionally.
How is SEM used in confidence intervals?
The SEM is the key component of confidence intervals for the mean. The margin of error equals a critical value (z or t) multiplied by the SEM. So a smaller SEM directly produces a narrower, more precise confidence interval.
Official sources
- NIST/SEMATECH e-Handbook of Statistical Methods: Measures of Scale.
- NIST/SEMATECH e-Handbook: Engineering Statistics Handbook.
Reviewed by the CalculatorHub team, edited by James Graham, 15 June 2026. See our methodology.