Standard Error Calculator
Type the standard deviation and the sample size to get the standard error of the…
Type the standard deviation and the sample size to get the standard error of the mean: how much the average would vary from sample to sample.
More optionsConfidence 95%
ExampleSE of the mean
2
Means of samples of 36 would typically differ from the true mean by about 2: √36 = 6 times less than single values vary (SD 12).
Type your own numbers, or drag the chart.
Dashed: single values. Solid: sample means. Drag the handle to change n.
- 95% margin (z* × SE)
- ±3.9199
- With 4 times the sample
- 1
- SD of single values
- 12
How this works: 9 sources,
How this works
Method
The standard error (SE) measures how much an estimate would vary from one sample to the next. For a mean it is the standard deviation divided by the square root of the sample size: SE = s/√n. Values with an SD of 12 averaged over 36 at a time give means with an SD of 12 ÷ 6 = 2. The dashed curve above is the spread of single values; the solid one is the much narrower spread of sample means. Full method
Sources
- Wikipedia, Standard error
- NIST/SEMATECH e-Handbook of Statistical Methods, 1.3.5.2 Confidence Limits for the Mean
- NIST/SEMATECH e-Handbook of Statistical Methods
- Abramowitz and Stegun, Handbook of Mathematical Functions, chapters 6, 7 and 26 (1964)
- SciPy 1.18 scipy.stats (reference values for the tests)
- statsmodels 0.15 (reference values for the A/B test and regression intervals)
- Welch, The generalization of Student’s problem when several different population variances are involved (Biometrika) (1947)
- Fleiss, Levin and Paik, Statistical Methods for Rates and Proportions, 3rd edition (sample size for two proportions) (2003)
- Hyndman and Fan, Sample quantiles in statistical packages (The American Statistician) (1996)
How it’s tested
2 worked examples for this page are checked by automated tests before every release: given the inputs, the tool must show the expected answer.
Privacy
On your device. Nothing you enter or open leaves this browser. About privacy labels
Changes
- First published: live curves with draggable cut-offs, and tests on pasted data (t-tests, ANOVA, chi-square, Fisher’s exact, correlation, regression, A/B), checked against SciPy.
How to calculate the standard error
The standard error (SE) measures how much an estimate would vary from one sample to the next. For a mean it is the standard deviation divided by the square root of the sample size: SE = s/√n. Values with an SD of 12 averaged over 36 at a time give means with an SD of 12 ÷ 6 = 2. The dashed curve above is the spread of single values; the solid one is the much narrower spread of sample means.
Don’t confuse the two. The standard deviation describes the data and doesn’t shrink as you collect more; the standard error describes the estimate and does, with the square root of n. Four times the data halves the standard error.
For a proportion the standard error is √(p(1 − p)/n): 40% from 600 people has an SE of √(0.4 × 0.6/600) = 0.02, or 2 points. The standard error is the building block of confidence intervals (estimate ± multiplier × SE) and of z and t tests (difference ÷ SE).
SE(mean) = s ÷ √n · SE(proportion) = √(p(1 − p) ÷ n)
- The standard error of the mean is the standard deviation of the sampling distribution of the mean, estimated by s/√n. Source: Wikipedia, Standard error.
- The sampling distribution of the mean is centred on the population mean with standard deviation σ/√n, which is why confidence limits use s/√N. Source: NIST/SEMATECH e-Handbook of Statistical Methods, 1.3.5.2 Confidence Limits for the Mean.
Standard error of the mean by sample size
The standard error of a mean for values with a standard deviation of 10, and how much smaller it is than the SD.
| Sample size | Standard error | Share of the SD | 95% margin (±1.96 SE) |
|---|---|---|---|
| 2 | 7.0711 | 70.7% | ±13.859 |
| 4 | 5 | 50% | ±9.8 |
| 9 | 3.3333 | 33.3% | ±6.533 |
| 16 | 2.5 | 25% | ±4.9 |
| 25 | 2 | 20% | ±3.92 |
| 36 | 1.6667 | 16.7% | ±3.267 |
| 50 | 1.4142 | 14.1% | ±2.772 |
| 100 | 1 | 10% | ±1.96 |
| 400 | 0.5 | 5% | ±0.98 |
| 1,000 | 0.3162 | 3.2% | ±0.62 |
Show all 12 rowsShow fewer
| 2,500 | 0.2 | 2% | ±0.392 |
| 10,000 | 0.1 | 1% | ±0.196 |
Common questions
Should I report the standard deviation or the standard error?
The SD to describe how spread out the data are, the SE (or better, a confidence interval) to describe how precise an average is. Error bars labelled SE look tighter than SD bars, so always say which.
What is the standard error of the difference between two means?
For independent samples, √(SE₁² + SE₂²). Two means each with an SE of 2 have a difference with an SE of about 2.83.
Where do I get the standard deviation?
From your data: paste them into the standard deviation calculator for the sample SD, then bring it here with the sample size.