About the Standard Error Calculator
A sample mean would change slightly with every new sample, and the standard error measures how much. This standard error calculator finds it from raw data, from a standard deviation and sample size, or for a proportion: a standard deviation of 12 with 36 observations gives a standard error of 2, and a 95 percent margin of about 3.92. Larger samples give smaller standard errors.
For a mean, SE = s ÷ √n, where s is the sample standard deviation and n the sample size. For a proportion, SE = √(p(1 − p) ÷ n). Because n sits under a square root, precision improves slowly: quadrupling the sample halves the standard error. The standard error is not the same as the standard deviation. The standard deviation describes how spread out individual values are; the standard error describes how uncertain the average is.
Example: for the data 12, 15, 11, 14, 13, 16, 12 and 15, the mean is 13.5 and the sample standard deviation is about 1.772811, so the standard error is 1.772811 ÷ √8 ≈ 0.626783. With t = 2.364624 for 7 degrees of freedom, the 95% margin of error is about ±1.482107. For a survey in which 45 of 100 people agree, the standard error of the proportion is about 0.049749, or 4.97 percentage points.
Standard errors feed confidence intervals and hypothesis tests. Build full intervals with the confidence interval calculator, see survey margins with the margin of error calculator, and compare means with the t-test calculator.
How to use the Standard Error Calculator
- Choose what you haveRaw data, a standard deviation and sample size, or a proportion.
- Enter the valuesPaste the data, or type s and n, or p and n.
- Read the standard errorSee the standard error with the mean or proportion it belongs to.
- Use the marginSee the 95% margin of error built from the standard error.
Standard Error Calculator features
- Standard error of the mean from raw data
- SE from standard deviation and sample size
- Standard error of a proportion
- 95% margin of error with the t or z value
- Mean, SD and n shown
- Formulas worked with your numbers
- Paste data from spreadsheets
Common uses
- Error bars on charts
- Reporting results in papers and lab reports
- Survey precision
- Comparing the reliability of estimates
- Statistics coursework
The standard error in practice: precision of estimates, error bars and sample size
The standard error measures how precisely a sample statistic, such as a mean or a proportion, estimates the true value in the population. It is not the same as the standard deviation, which describes how spread out individual values are. This guide explains the difference with examples, shows how sample size controls precision, explains error bars in charts and how researchers combine studies using standard errors.
Spread of values versus precision of an estimate
The standard deviation describes individual variation: how much people's heights, prices or test scores differ from one another. The standard error describes how much a sample's average would vary if you repeated the sampling many times. Individual heights may vary by 7 cm, but the average height of 400 randomly chosen people is known far more precisely.
A worked example: an average
A survey of 36 households finds that monthly electricity use has a standard deviation of 12 units. The standard error of the mean is 12 ÷ √36 = 2 units. A 95% confidence interval for the average is therefore roughly the sample mean plus or minus 2 × 2, about 4 units, even though individual households differ by much more.
A worked example: a proportion
In a sample of 600 customers, 40% say they would recommend a shop. The standard error of that proportion is the square root of 0.4 × 0.6 ÷ 600, which is 0.02, or 2 percentage points. A 95% interval is roughly 40% plus or minus 4 points, or 36% to 44%.
Sample size and the square root
The standard error shrinks with the square root of the sample size. Quadrupling the sample halves the standard error, and increasing it a hundredfold reduces it to a tenth. This is why very precise estimates are expensive: each extra digit of precision needs a hundred times more data.
Error bars
Charts often show error bars around averages, but they may represent the standard deviation, the standard error or a confidence interval, which look very different. Standard deviation bars show the spread of individual values; standard error bars are much narrower; and 95% confidence interval bars are about twice as wide as standard error bars. Always say which one a chart uses, and check the caption when reading charts made by others.
Combining studies
When researchers combine several studies in a meta-analysis, they give more weight to studies with smaller standard errors, because those estimates are more precise. A common approach weights each study by one over the square of its standard error. That way, a large, careful study counts for more than a small, noisy one.
Precision is not accuracy
A small standard error means an estimate is precise, not necessarily that it is correct. If the sample is biased, for example because only certain customers answered a survey, the estimate can be precise but wrong. Standard errors capture random sampling variation only, so careful sampling matters as much as sample size.
Common mistakes
- Confusing the standard error with the standard deviation.
- Drawing error bars without saying what they show.
- Assuming a small standard error rules out bias.
- Forgetting that precision grows only with the square root of sample size.
Related tools
For intervals, use Confidence Interval Calculator. For survey precision, try Margin of Error Calculator, and for spread, Standard Deviation Calculator.
Standard errors in news reports
Reports about unemployment, inflation and household spending usually come from samples, and official statisticians publish standard errors or confidence intervals alongside them. A monthly change in an unemployment rate of 0.1 percentage points may be well within the sampling error, meaning it could reflect random variation rather than a real change. Checking the published standard error before reading meaning into a small movement avoids over-interpreting noise.
The standard error of a difference
When comparing two independent averages, the standard error of the difference is the square root of the sum of the two squared standard errors. If two branches have average daily sales with standard errors of 3 and 4 units, the standard error of their difference is √(9 + 16) = 5 units. A difference between the branches of less than about 10 units, twice that figure, could easily be due to chance.
Small populations
The usual formula assumes the population is much larger than the sample. When you sample a large share of a small population, such as 200 of the 500 employees in a company, the true standard error is smaller than the formula suggests. The finite population correction, the square root of (N − n) ÷ (N − 1), adjusts for this. For 200 of 500, the factor is about 0.78, reducing the standard error by roughly a fifth.
Standard errors in medical studies
Medical papers often report treatment effects with standard errors or confidence intervals. A drug that lowers blood pressure by an average of 5 mmHg with a standard error of 1 mmHg has a clearly measurable effect, while the same average with a standard error of 4 mmHg is far less certain. Comparing an effect with its standard error, as a t-test does, shows which results are firm and which may be chance.
Limits
Calculations assume random sampling; complex survey designs and clustered data need adjusted standard errors.
Frequently asked questions
What is the standard error?
The standard deviation of a statistic's sampling distribution: how much the statistic, such as a sample mean, would vary across repeated random samples. Smaller standard errors mean more precise estimates.
How do I calculate the standard error of the mean?
Divide the sample standard deviation by the square root of the sample size: SE = s ÷ √n. With s = 10 and n = 25, SE = 10 ÷ 5 = 2.
What is the difference between standard deviation and standard error?
Standard deviation measures the spread of individual values. Standard error measures the uncertainty of a summary such as the mean, and it shrinks as the sample grows, while the standard deviation does not.
How do I calculate the standard error of a proportion?
SE = √(p(1 − p) ÷ n). For 45% agreement among 100 people, √(0.45 × 0.55 ÷ 100) ≈ 0.0497, or about 5 percentage points. It is largest when the proportion is 50%.
How does sample size affect the standard error?
The standard error falls with the square root of n. Doubling the sample size divides it by about 1.41, and quadrupling the sample halves it.
Should error bars show SD or SE?
It depends on the message. SD bars show how variable the individual values are; SE bars, or confidence interval bars, show how precisely the mean is known. Always state which you used.
How do I get a confidence interval from the standard error?
Multiply the standard error by a critical value, about 1.96 for 95% with large samples or a t value for small ones, and add and subtract it from the estimate.
What is the standard error of the difference between two means?
For independent samples, SE = √(s₁²/n₁ + s₂²/n₂). It is used in two-sample t-tests and in intervals for the difference between groups. For two samples with SDs of 6 and 5 and 8 values each, it is √(36/8 + 25/8) ≈ 2.76.