What Is Standard Error of the Mean?
The standard error of the mean measures how precisely your sample mean estimates the population mean. It is the sample standard deviation divided by the square root of the sample size, so it falls as you collect more data, but only with the square root of n.
Standard error and standard deviation are often confused. The standard deviation describes the spread of individual values; the SEM describes the uncertainty of the mean. Enter raw values or the summary statistics, and the verdict beneath the results explains which one to report.
Below you will find the SEM formula, a variables table, a worked example, the relationship between SEM and confidence intervals, and answers to common questions such as SD versus SEM.
How to Use the Standard Error of the Mean Calculator
- Choose raw data or summary statistics.
- For raw data, paste your values. For summary mode, enter the sample standard deviation s and the sample size n (the mean is optional but needed for the interval).
- Pick a confidence level. 95% is the usual default.
- Read the SEM, margin of error and confidence interval. The steps list shows each calculation, including the t critical value used.
Standard Error of the Mean Formula
Standard error of the mean
Sample standard deviation
Confidence interval for the mean
t* comes from the t distribution with n − 1 degrees of freedom, so small samples get a wider interval than a z-based shortcut would give.
Standard Error of the Mean Variables Explained
| Symbol | Meaning | Notes |
|---|---|---|
| SEM | Standard error of the mean | Same units as your data |
| s | Sample standard deviation | Divides by n − 1 |
| n | Sample size | Number of observations |
| x̄ | Sample mean | The centre of the confidence interval |
Standard Error of the Mean Worked Example
Using the example values (press “Load example” above to try them):
- Input taken from raw data: n = 7, s = 2.4103, x̄ = 14.1429.
- Standard error: SEM = s ÷ √n = 2.4103 ÷ √7 = 2.4103 ÷ 2.64575 = 0.911006.
- Critical value: t* = 2.4469 for 95% confidence with n − 1 = 6 degrees of freedom.
- Margin of error = t* × SEM = 2.4469 × 0.911006 = 2.22915.
Result: Standard error of the mean (SEM) = 0.911006; Mean (x̄) = 14.1429.
SEM vs standard deviation: which one should you report?
Standard deviation describes the spread of individual observations. The SEM describes the uncertainty in the estimate of the mean. They answer different questions, and mixing them up is one of the most common errors in published results.
Use the standard deviation when you want to describe your data: how variable are the participants, the measurements or the products? Use the SEM, or better, a confidence interval, when you want to say how precisely you know the mean. Because SEM is always smaller than SD (for n above 1), reporting SEM in place of SD makes data look less variable than they are, which is why many journals discourage it for describing samples.
| Standard deviation (SD) | Standard error (SEM) | |
|---|---|---|
| Describes | Spread of the data | Precision of the sample mean |
| Formula | Σ(x − x̄)² / (n − 1), then root | s / √n |
| Changes with n | Stays about the same | Falls as n grows |
| Use it to | Describe variability | Build confidence intervals and tests |
| Error bars in charts | Show data spread | Show uncertainty of the mean |
How to interpret the standard error
A small SEM means the sample mean is a precise estimate of the population mean. Quadrupling the sample size only halves the SEM because of the square root, so precision gets progressively more expensive. The table under the chart shows this for your own numbers.
As a rough rule, the population mean is within about two standard errors of the sample mean about 95% of the time, which is why 95% intervals are close to x̄ ± 2 × SEM for moderate and large samples. For small samples, use the t critical value this calculator applies, which is noticeably larger than 2 when n is below about 30.
| Interval | Coverage | Typical use |
|---|---|---|
| x̄ ± 1 SEM | about 68% | Error bars in some figures |
| x̄ ± 1.96 SEM | 95% | Standard confidence interval |
| x̄ ± 2.58 SEM | 99% | Stricter interval |
Assumptions and when the SEM can mislead
- Observations are independent. Repeated measures on the same subject, or clustered data, make the real standard error larger than s/√n.
- The sample is random or representative. A large biased sample still gives a precise but wrong mean.
- The mean is a sensible summary. With heavy skew or outliers the SEM can be inflated and the mean itself may be a poor summary; consider a median and bootstrap interval.
- For small samples the sampling distribution of the mean is only close to normal if the data are roughly normal.
Where Standard Error of the Mean Is Used
Reporting a mean
Writing results as mean ± SEM when the precision of the mean is what matters.
Building confidence intervals
Using SEM as the building block of an interval for the population mean.
Planning sample size
Seeing how many more observations are needed to reduce the standard error.
Comparing groups
Feeding the standard error into a t-test or z-test.
Common Standard Error of the Mean Mistakes to Avoid
- Report the SEM together with n so readers can recover the standard deviation (SD = SEM × √n).
- Prefer a confidence interval to bare SEM bars when comparing groups.
- If the two groups overlap heavily on SEM bars, that does not by itself prove a non-significant difference; run a proper test.
- Use the sample standard deviation (n − 1), not the population one, when estimating from a sample.
Standard Error of the Mean Terms and Definitions
- Sampling distribution
- The distribution of a statistic (here the mean) across many repeated samples.
- Degrees of freedom
- n − 1 for a single-sample mean; controls the shape of the t distribution.
- Margin of error
- Half-width of a confidence interval: t* × SEM.
Standard Error of the Mean FAQs
What is the formula for the standard error of the mean?
SEM = s / √n, where s is the sample standard deviation and n is the number of observations.
Is a smaller SEM always better?
A smaller SEM means a more precise estimate of the mean, but it says nothing about bias. A large biased sample can have a tiny SEM and still be wrong.
How do I get the SD back from the SEM?
Multiply the SEM by the square root of the sample size: SD = SEM × √n.
What is the difference between SEM and a confidence interval?
The confidence interval is built from the SEM: it is the mean plus or minus a critical value times the SEM. The interval communicates the uncertainty on a scale people can read directly.
Why does the SEM get smaller with more data?
Averaging more observations cancels more random noise. The SEM decreases in proportion to 1/√n, so you need four times the data to halve it.
Can I calculate SEM with n = 1?
No. With one observation there is no way to estimate the spread, so the sample standard deviation and SEM are undefined.
Should I use the population or sample standard deviation?
Use the sample standard deviation (divide by n − 1) when your data are a sample from a larger population, which is almost always the case.