Skip to content

Standard Error Calculator

Standard error of the mean (s/√n) from data or summary statistics, of a proportion or of a difference of means, with finite population correction.

Your details

Gives the confidence interval bounds and the relative standard error.

Only for sampling without replacement from a small, known population; leave blank otherwise.

Confidence level

Results update as you type

Standard error

2

Critical value
t* = 2.0301 (df = 35)
Margin of error
4.060216
Confidence interval
95.939784 – 104.060216
Relative standard error
2%

Step-by-step solution
  1. SE = s / √n = 12 / √36 = 2
  2. t* (df = 35) = 2.0301 ; 2.0301 × 2 = 4.060216

The standard error tells you how precisely a sample statistic estimates the population value. Take many samples of the same size and compute the mean of each: those means scatter around the true mean, and their standard deviation is the standard error of the mean (SEM). A small standard error means your estimate would not move much from one sample to the next.

This standard error calculator covers the four cases you meet most often:

  • the standard error of the mean from a sample standard deviation ss and a sample size nn;
  • the same from raw data: paste your numbers and the calculator finds the mean, the sample standard deviation (with n−1n - 1) and the SEM;
  • the standard error of a proportion, such as a poll result or a conversion rate;
  • the standard error of the difference between two means, the building block of the two-sample t-test.

For each one you also get the critical value, the margin of error and, when the estimate is known, the confidence interval at 90, 95 or 99 %. If you sampled a large share of a small, known population without replacement, enter its size to apply the finite population correction.

How to use this calculator

  1. Choose what the standard error is for: a mean (from summary statistics or from raw data), a proportion, or a difference of two means.
  2. Enter the inputs: ss and nn, or the data list, or the observed percentage and nn, or ss and nn for each group.
  3. If you sampled without replacement from a small population, enter its size NN; otherwise leave it blank.
  4. Pick the confidence level for the margin of error and the interval.
  5. Read the standard error. The steps show the formula with your numbers; the confidence interval calculator covers more interval types.

The formula

Standard error of the mean (sample standard deviation ss, sample size nn):

SExˉ=sn,s=∑(xi−xˉ)2n−1SE_{\bar x} = \frac{s}{\sqrt{n}}, \qquad s = \sqrt{\frac{\sum (x_i - \bar x)^2}{n - 1}}

Finite population correction when nn units are drawn without replacement from NN:

SE=snN−nN−1SE = \frac{s}{\sqrt{n}} \sqrt{\frac{N - n}{N - 1}}

Proportion p^\hat p: SEp^=p^(1−p^)/nSE_{\hat p} = \sqrt{\hat p (1 - \hat p) / n}.

Difference of two means (unequal variances): SExˉ1−xˉ2=s12/n1+s22/n2SE_{\bar x_1 - \bar x_2} = \sqrt{s_1^2/n_1 + s_2^2/n_2}, with Welch–Satterthwaite degrees of freedom.

From standard error to confidence interval: estimate ±\pm critical value ×SE\times SE, with $t^$ on n−1n - 1 degrees of freedom for a mean and $z^$ (1.96 at 95 %) for a proportion.

Worked example

From s and n. A sample of 36 has s=12s = 12: SE=12/36=2SE = 12 / \sqrt{36} = 2. At 95 %, $t^* = 2.0301$ (35 df), so the margin of error is 4.06; with a mean of 100 the interval runs from 95.94 to 104.06. If those 36 came from a population of only 500, the correction factor is 0.9643 and the standard error drops to 1.9286.

From data. For 2, 4, 4, 4, 5, 5, 7, 9: mean 5, s=2.1381s = 2.1381, $SE = 2.1381 / \sqrt 8 = $ 0.7559. With $t^* = 2.3646$, the 95 % margin is 1.7875 and the interval 3.21 – 6.79.

Proportion. 40 % of 600 respondents: SE=0.4×0.6/600=0.02SE = \sqrt{0.4 \times 0.6 / 600} = 0.02, i.e. 2 percentage points; the 95 % margin is about 3.92 points.

Two means. s1=8,n1=30s_1 = 8, n_1 = 30 and s2=10,n2=35s_2 = 10, n_2 = 35: $SE = \sqrt{64/30 + 100/35} = $ 2.2339.

Standard deviation or standard error?

They answer different questions. The standard deviation describes how spread out the individual observations are; it does not shrink as you collect more data. The standard error describes how uncertain the mean is; it shrinks with n\sqrt n, so four times as many observations halve it. Report the SD when you describe a sample (for example "age 42 ± 11 years") and the SE or, better, a confidence interval when you describe how well you know the average. To get the standard deviation itself, use the standard deviation calculator.

When the finite population correction matters

The usual formula assumes the population is effectively infinite, or that you sample with replacement. If you inspect 200 of the 400 parts in a batch, you have already seen half of it, and the uncertainty is smaller than s/ns/\sqrt n suggests. The factor (N−n)/(N−1)\sqrt{(N-n)/(N-1)} takes this into account. It is close to 1 when the sample is under about 5 % of the population, and reaches 0 when you measure everyone.

Frequently asked questions

How do you calculate the standard error of the mean?

Divide the sample standard deviation by the square root of the sample size: SE = s/√n. For 36 values with s = 12, SE = 12/6 = 2.

Is the standard error the same as the standard deviation of the mean?

Yes. The standard error of the mean is the standard deviation of the sampling distribution of the mean, which is why it is sometimes called the standard deviation of the mean. It is not the standard deviation of the data.

How is the standard error related to a confidence interval?

A confidence interval is the estimate plus or minus a critical value times the standard error. At 95 % with a large sample, the margin is about 2 standard errors; for small samples use the t value, which this calculator shows.

What is a good standard error?

There is no universal threshold: it depends on the scale of the data and on the precision you need. The relative standard error (SE divided by the mean) helps compare: many statistical agencies flag estimates whose relative standard error exceeds about 25 to 30 % as unreliable.

Should I use n or n − 1?

Compute the sample standard deviation with n − 1 (Bessel’s correction), then divide it by √n. The calculator does this automatically in the raw data mode.

Sources

Last updated:

More Statistics calculators

People also use