The standard error of the mean (SEM) measures how much the mean of a sample would vary if you repeated the study many times. It is not a property of the individual data points but of the average you calculate from them. A small standard error means your sample mean is a precise estimate of the population mean; a large one means another sample could easily give a quite different average.
Standard error and standard deviation are often confused. The standard deviation describes how spread out the individual observations are and does not shrink as you collect more data. The standard error is the standard deviation divided by √n, so it falls steadily with sample size: quadrupling the sample halves the SE. Report the SD when describing your data and the SE (or better, a confidence interval) when describing the precision of the mean.
The calculator turns the standard error into a confidence interval using the t distribution with n − 1 degrees of freedom, which is correct for small samples when the population SD is unknown, and expresses it relative to the mean as the RSE.
How to use the Standard Error Calculator
- Enter
- Data
- Sample standard deviation (s)
- Sample size (n)
- Sample mean (for the interval)
- Confidence level
Everything is calculated in your browser, so results appear instantly and nothing you type is sent to a server.
How it works
With raw data the calculator finds the mean and the sample standard deviation and divides the SD by √n; with summary statistics it divides the SD you enter by √n. The confidence interval multiplies the SE by the critical t value for the chosen level.
Worked example
Seven measurements (12.1, 11.8, 12.4, 12.0, 11.9, 12.3 and 12.2) have mean 12.1 and sample standard deviation 0.2160. SE = 0.2160 ÷ √7 = 0.0816. With 6 degrees of freedom the 95% critical value is t* = 2.447, so the margin of error is 0.200 and the 95% confidence interval runs from 11.90 to 12.30. The relative standard error is 0.0816 ÷ 12.1 = 0.67%.
Standard deviation versus standard error
| Standard deviation | Standard error | |
|---|---|---|
| Describes | Spread of individual values | Precision of the mean |
| Formula | √(Σ(x − x̄)² ÷ (n − 1)) | s ÷ √n |
| As n grows | Settles near σ | Shrinks towards 0 |
| Use for | Describing data | Confidence intervals and tests |
Formula
SE = s ÷ √n = √(Σ(x − x̄)² ÷ (n(n − 1))) · CI = x̄ ± t* × SE with n − 1 degrees of freedom · RSE = SE ÷ |x̄| × 100%
Worked example
Inputs: Enter: Raw data; Data: 12.1, 11.8, 12.4, 12.0, 11.9, 12.3, 12.2; Confidence level: 95%.
Results: Standard error of the mean = 0.08165; Standard deviation = 0.216025; Sample size = 7; Mean = 12.1; Margin of error (t* × SE) = 0.19979; Confidence interval – lower = 11.90021.
Key terms
- Standard error of the mean
- The standard deviation of the sampling distribution of the mean, estimated by s ÷ √n.
- Margin of error
- The half-width of a confidence interval, t* × SE.
- Degrees of freedom
- n − 1 for a single sample mean; it sets the shape of the t distribution.
Frequently asked questions
Is standard error the same as standard deviation?
No; SD describes the spread of the data, SE describes the uncertainty in the mean. SE = SD ÷ √n, so it is always smaller for n > 1.
How is SE used?
To build confidence intervals and test statistics. A 95% interval is roughly the mean ± 2 SE; for small samples the calculator uses the exact t value.
How do I calculate the standard error by hand?
Find the sample SD, then divide by the square root of n. For s = 2.4 and n = 25, SE = 2.4 ÷ 5 = 0.48.
Why does a bigger sample give a smaller standard error?
The mean of more observations is more stable. Because of √n, four times the data halves the SE.
Should I report SD or SE?
Report the SD to describe variability in your data and the SE or a confidence interval to show how precise the mean is. Error bars must say which they show.
What is the standard error of the example data?
For 12.1, 11.8, 12.4, 12.0, 11.9, 12.3, 12.2: mean 12.1, s = 0.2160, SE = 0.2160 ÷ √7 = 0.0816, and the 95% CI is 11.90 to 12.30.
What is a good standard error?
One that is small relative to the mean or to the differences you care about. The relative standard error (SE ÷ mean) below about 10% is usually considered precise.
Sources
Guides on this topic
- How to Calculate Sample Size for a Survey (Formula + Examples): 385 responses give ±5% at 95% confidence for almost any large population. Here is the formula behind that number and how to adjust it for your survey.
- Standard Deviation Explained: How to Calculate It and What It Means: Standard deviation is the typical distance from the mean. Learn to calculate it by hand, when to divide by n − 1, and how to read it with the 68–95–99.7 rule.