Skip to content
Statistics

Standard Error Calculator (SEM, Proportion, Confidence Interval)

Calculate the standard error of the mean (SEM) or the standard error of a proportion in seconds. Choose between entering raw data, summary statistics (sample SD and n), or proportion inputs, add an optional confidence level, and get the result with a full step-by-step worked solution. The result updates as you type.

Your details

Choose how you want to supply your data.
The sample standard deviation (use the n-1 Bessel-corrected version).
Total number of observations in the sample.
Choose a confidence level to also compute the margin of error and interval bounds.
Standard Error (SE)Small sample - interpret with care
0.9

The standard error of the mean or proportion.

Sample size (n)25
Margin of error1.764
Critical value1.96
0.981.6% below · Standardised sample means (z)
01.593.182100198
Sample size (n)
Standard Error
Sample size (n)SE vs sample size
23.18
61.84
101.42
141.2
181.06
220.96
260.88
300.82
340.77
380.73
420.69
460.66
500.64
540.61
580.59
620.57
660.55
700.54
740.52
780.51
820.5
860.49
900.47
940.46
980.45
1020.45
1060.44
1100.43
1140.42
1180.41
1220.41
1260.4
1300.39
1340.39
1380.38
1420.38
1460.37
1500.37
1540.36
1580.36
1620.35
1660.35
1700.35
1740.34
1780.34
1820.33
1860.33
1900.33
1940.32
1980.32

Standard error: 0.9000 (n = 25)

  • With 25 observations the standard error is 0.9000, meaning the sample mean is estimated to be within roughly ±1.8000 of the true population mean in about 95% of repeated samples.
  • Your sample size (25) is below 30. The t-distribution is used for the confidence interval, which produces wider bounds than the z-distribution to account for the extra uncertainty in estimating the population spread.
  • The margin of error at the 95% level is 1.7640. Add and subtract this from your sample mean to get the confidence interval.

Next stepConsider increasing your sample size toward 30 or more to use z-based inference and tighten the confidence interval.

Formula

SExˉ=sn,SEp^=p^(1p^)n\text{SE}_{\bar{x}} = \dfrac{s}{\sqrt{n}}, \qquad \text{SE}_{\hat{p}} = \sqrt{\dfrac{\hat{p}(1-\hat{p})}{n}}

Worked example

Ten measurements: 12, 15, 14, 10, 13, 16, 11, 14, 15, 12. Mean = 13.2, sample SD = 1.932, n = 10. SE = 1.932 / sqrt(10) = 0.611. For a 95% CI with df = 9, the t critical value is 2.262, giving a margin of error of 2.262 x 0.611 = 1.382. The 95% CI is (11.818, 14.582).

What is standard error?

The standard error of the mean (SEM) measures how much the sample mean is expected to vary from one random sample to another. If you drew many samples from the same population and computed the mean of each, those means would form a distribution - the standard error is the standard deviation of that sampling distribution. A smaller SE means your sample mean is a more precise estimate of the population mean.

Standard error formula

For the standard error of the mean, the formula is SE = s / sqrt(n), where s is the sample standard deviation (calculated with n-1 in the denominator, known as Bessel's correction) and n is the sample size. For a proportion, the formula is SE = sqrt(p(1-p)/n), where p is the observed sample proportion. Both formulas share the same inverse-square-root relationship with n: doubling n reduces SE by a factor of sqrt(2) (about 29%), and quadrupling n cuts SE in half.

Standard error vs. standard deviation

These two measures are often confused but describe different things. The standard deviation (SD) describes how spread out the individual data points are within your sample. The standard error (SE) describes how spread out the sample means would be across many repeated samples. As sample size grows, the SD stays roughly constant (it estimates a population parameter) while the SE shrinks toward zero (the estimate becomes more precise). A large SD does not imply a large SE if you have a large sample.

Confidence intervals and margin of error

The SE is the building block for a confidence interval. Multiply the SE by the appropriate critical value (a t value for small samples with n under 30, or a z value for larger ones) to get the margin of error. The confidence interval then runs from the sample mean minus the margin of error to the sample mean plus the margin of error. A 95% CI, for example, will contain the true population mean in 95% of repeated experiments - not a statement about any single interval.

How sample size affects the standard error (SD = 1)

Sample size (n)SE (SD = 1)Relative precision
50.447 Low
100.316 Low
200.224 Moderate
300.183 Moderate
500.141 Good
1000.100 Good
2000.071 High
5000.045 High

For a fixed sample standard deviation of 1, the SE shrinks as n increases. To halve the SE you must quadruple n.

Frequently asked questions

What is the difference between standard error and standard deviation?

Standard deviation measures how spread out individual observations are within one sample. Standard error measures how precisely the sample mean estimates the population mean - it is the standard deviation of the sampling distribution of the mean. SE = SD / sqrt(n), so a larger sample always produces a smaller SE even if the raw data are just as variable.

When should I use a t critical value instead of a z?

Use a t critical value when your sample size is below 30 and you are estimating a mean (not a proportion). The t-distribution has heavier tails than the normal distribution, reflecting the extra uncertainty from estimating the population SD with a small sample. As n grows the t-distribution converges to z, so for n of 30 or more the difference is negligible.

How do I calculate the standard error of a proportion?

Use the formula SE = sqrt(p(1-p)/n), where p is the sample proportion (between 0 and 1) and n is the total sample size. For example, if 42 out of 100 respondents agreed with a statement, p = 0.42 and n = 100, giving SE = sqrt(0.42 x 0.58 / 100) = sqrt(0.002436) = 0.0494. Multiply by 1.96 (the 95% z critical value) for the margin of error: about 0.097, or roughly plus or minus 10 percentage points.

Does a larger sample always reduce the standard error?

Yes, as long as the population SD is fixed. Because SE = SD / sqrt(n), increasing n always decreases SE. However, the returns diminish quickly: you need to quadruple the sample size to halve the SE. Going from n = 25 to n = 100 cuts SE in half; going from 100 to 400 cuts it in half again.

What is a "good" standard error?

There is no universal threshold. The SE is meaningful in context: a good SE is one small enough that your confidence interval is narrow enough to answer your research question. Compare the SE to the effect size or difference you are trying to detect. If the margin of error is larger than the effect you care about, your sample is too small to draw firm conclusions.

Can I compute a standard error from just n and the SD without the raw data?

Yes. The SE of the mean depends only on the sample SD and n, not on the individual values. Use the "Summary stats" mode in this calculator: enter s (the sample standard deviation) and n, and the SE is computed as s / sqrt(n). You do need the raw data only if you want the calculator to compute the SD for you.

Sources

Written by Dr. Hannah Brandt, PhD Statistician · Munich, Germany

Applied statistician translating rigorous probability theory into clear, accurate tools for researchers and practitioners.

Search 3,500+ calculators

Loading search…