Standard Error Calculator

Standard error of a sample mean, a sample proportion, or a difference of two means, from the standard deviation and sample size.

The population σ if known, otherwise the sample s.

Results

Standard error of the mean (σ ÷ √n)
2.5
Variance of the sample mean (σ² ÷ n)
6.25
Sample size needed to halve it
144
The standard error falls with √n, so four times the data halves it.

How it’s calculated

The standard error is the standard deviation of an estimate across repeated samples. It tells you how much a sample mean or proportion would typically vary from sample to sample, which is why it sits at the heart of confidence intervals and tests. It is not the same as the standard deviation of the data: the standard deviation describes the spread of individual values, the standard error describes the precision of a summary computed from them.

mean: SE = σ ÷ √n (use s when σ is unknown) proportion: SE = √( p̂ (1 − p̂) ÷ n ) difference of two independent means: SE = √( s₁²/n₁ + s₂²/n₂ )

Example (hand calculation with the formulas of OpenStax §7.1, §8.3 and §10.1): for a population with σ = 15 and samples of n = 36, the sample means have standard error 15 ÷ √36 = 2.5. For a proportion of 50% with n = 100 the standard error is √(0.5 × 0.5 ÷ 100) = 0.05, which is 5 percentage points. For two groups with s₁ = 3, n₁ = 9 and s₂ = 4, n₂ = 16, the standard error of the difference is √(1 + 1) ≈ 1.4142.

These formulas assume independent observations from a large population. They do not include any correction for sampling a large share of a small population.

Frequently asked questions

What is the difference between standard deviation and standard error?

Standard deviation measures how spread out individual values are. Standard error measures how precisely a statistic, such as the mean, is estimated, and it shrinks as the sample grows.

How do I get a margin of error from the standard error?

Multiply the standard error by a critical value, about 1.96 for a 95% interval when a normal approximation is reasonable. The confidence interval calculator does this for you.

Which standard deviation do I use for the mean?

Use the population σ if you truly know it. Otherwise use the sample standard deviation s, which divides by n − 1.

Why does a proportion of 50% give the largest standard error?

The product p̂(1 − p̂) is biggest at 50%, so it is the most cautious value to plan with when you do not know the proportion in advance.

Embed this calculator

Add this free calculator to your own website. Copy the code below into your page’s HTML:

Need this calculator branded, changed or built around your own prices?See custom business solutions →

Sources

Formulas are taken from the free public references above. Results are provided “as is” for informational and educational purposes only. See our disclaimer.

Added · Last updated · How we check our calculators

Spotted a mistake or missing option? Report a problem· Suggest a calculator