Standard Error Calculator
Calculate the standard error of the mean, proportion, or difference between means. The standard error measures how much a sample statistic is expected to vary from the true population parameter due to random sampling. See also our Standard Deviation Calculator, Confidence Interval Calculator, and Sample Size Calculator.
How to Use the Standard Error Calculator
The standard error (SE) is a measure of the precision of a sample statistic as an estimate of the corresponding population parameter. It quantifies how much the sample statistic (mean, proportion, or difference) would vary if you repeatedly drew samples of the same size from the population. A smaller standard error indicates a more precise estimate. The standard error decreases as sample size increases, following an inverse square root relationship.
This calculator supports three types of standard error calculations. The SE of the mean measures how precisely the sample mean estimates the population mean. The SE of a proportion measures the precision of a sample proportion as an estimate of the population proportion. The SE of the difference measures the precision of the difference between two sample means or proportions. Each type uses a different formula but shares the same fundamental concept.
The standard error is the building block for confidence intervals and hypothesis tests. A 95% confidence interval is approximately the point estimate ± 1.96 × SE. The test statistic in a z-test or t-test is the observed difference divided by the standard error. Understanding the standard error helps you interpret how reliable your sample results are and whether observed differences are likely due to chance or represent real population differences.
Standard Error Formulas
SE of the Mean:
SE = s / √n
(or σ/√n if population σ is known)
SE of a Proportion:
SE = √(p(1-p) / n)
SE of Difference of Means:
SE = √(s₁²/n₁ + s₂²/n₂)
SE of Difference of Proportions:
SE = √(p₁(1-p₁)/n₁ + p₂(1-p₂)/n₂)
Relationship to CI:
95% CI = estimate ± 1.96 × SE
99% CI = estimate ± 2.576 × SE
Example Calculation
A sample of 25 measurements has a standard deviation of 15. Calculate the standard error of the mean and the 95% confidence interval width.
Given: s = 15, n = 25
SE = s / √n = 15 / √25 = 15 / 5 = 3.000
95% CI half-width = 1.96 × SE = 1.96 × 3 = 5.88
The sample mean estimates the population mean
with a standard error of 3 units.
If sample mean = 50:
95% CI = 50 ± 5.88 = (44.12, 55.88)
To halve the SE to 1.5, you would need:
n = (s/SE)² = (15/1.5)² = 100 observations
Standard Error Factor (SE = factor × σ)
| Sample Size (n) | SE Factor (1/√n) | 95% CI Width |
|---|---|---|
| 10 | 0.3162 | ±0.6198σ |
| 25 | 0.2000 | ±0.3920σ |
| 50 | 0.1414 | ±0.2772σ |
| 100 | 0.1000 | ±0.1960σ |
| 200 | 0.0707 | ±0.1386σ |
| 500 | 0.0447 | ±0.0877σ |
| 1000 | 0.0316 | ±0.0620σ |
| 10000 | 0.0100 | ±0.0196σ |
Frequently Asked Questions
What is the difference between standard deviation and standard error?
Standard deviation (SD) measures the spread of individual observations in a dataset — how much individual values vary from the mean. Standard error (SE) measures the precision of a sample statistic (like the mean) as an estimate of the population parameter. SE = SD/√n, so SE is always smaller than SD (for n > 1). SD describes the data; SE describes the precision of the estimate.
When should I report SE vs SD?
Report SD when you want to describe the variability in your data (how spread out individual measurements are). Report SE when you want to indicate the precision of an estimated parameter (how confident you are in the mean or proportion). In scientific papers, error bars should be clearly labeled as either SD or SE, as they convey different information. SE is appropriate for comparing groups; SD is appropriate for describing distributions.
Why does SE decrease with larger sample sizes?
As sample size increases, the sample mean becomes a more precise estimate of the population mean because random fluctuations tend to cancel out with more observations. The SE decreases proportionally to 1/√n, meaning you need to quadruple the sample size to halve the SE. This is a consequence of the Central Limit Theorem, which states that the sampling distribution of the mean becomes narrower as n increases.
Can the standard error be larger than the standard deviation?
For the SE of the mean, no — since SE = SD/√n and n ≥ 1, SE ≤ SD always. However, for other statistics (like regression coefficients or odds ratios), the standard error can potentially be larger than the point estimate itself, which would indicate very imprecise estimation. This often occurs with small sample sizes or when estimating parameters near zero.
How is standard error used in hypothesis testing?
In hypothesis testing, the test statistic is typically calculated as: test statistic = (observed - expected) / SE. For a z-test: z = (x̄ - μ₀) / SE. For a t-test: t = (x̄ - μ₀) / SE. The SE serves as the denominator that standardizes the observed difference, converting it to a number of standard errors away from the null hypothesis value. Larger test statistics (more SEs from null) indicate stronger evidence against H₀.
What is the standard error of a regression coefficient?
In regression analysis, each coefficient has an associated standard error that measures the precision of that estimate. SE(β) = √(MSE / Σ(xᵢ - x̄)²) for simple regression. A smaller SE indicates a more precisely estimated coefficient. The t-statistic for testing if a coefficient equals zero is β/SE(β). Multicollinearity inflates standard errors of regression coefficients, making them less precise.