Standard Error Calculator
Calculate the standard error of the mean to quantify how precisely your sample mean estimates the true population mean. Use it when building confidence intervals or evaluating the reliability of survey or experimental data.
About this calculator
The standard error of the mean (SEM) measures how much sample means are expected to vary from the true population mean across repeated sampling. It is calculated as SE = s / √n, where s is the sample standard deviation and n is the sample size. A smaller SE indicates a more precise estimate. Using the SE and a chosen confidence level, you can construct a confidence interval: CI = x̄ ± z* × SE, where z* is the critical value from the standard normal distribution (e.g., 1.96 for 95% confidence) or from the t-distribution for small samples. The SEM shrinks as sample size grows, which is why larger studies produce narrower, more informative confidence intervals. It is distinct from standard deviation: SD describes variability among individual data points, while SEM describes variability of the mean estimate itself.
How to use
A researcher records resting heart rates for 36 patients and finds a sample mean of 72 bpm and a standard deviation of 12 bpm. Enter: Standard Deviation = 12, Sample Size = 36, Sample Mean = 72, Confidence Level = 95%. SE = 12 / √36 = 12 / 6 = 2.0 bpm. For a 95% confidence interval, multiply by z* = 1.96: margin of error = 1.96 × 2.0 = 3.92 bpm. The 95% CI is therefore 72 ± 3.92, or approximately [68.08, 75.92] bpm. This means we are 95% confident the true population mean resting heart rate lies within that range.
Frequently asked questions
What is the difference between standard deviation and standard error of the mean?
Standard deviation (SD) quantifies the spread of individual observations around the sample mean — it tells you how variable the raw data are. Standard error of the mean (SEM) quantifies the precision of the sample mean as an estimate of the population mean — it tells you how much the mean itself would vary across repeated samples. SEM is always smaller than SD because it equals SD divided by the square root of n. Reporting SD is appropriate when describing variability in a dataset; reporting SEM is appropriate when communicating the precision of a mean estimate.
How does increasing sample size affect the standard error?
Because SE = s / √n, the standard error decreases as sample size increases — but at a diminishing rate following the square root relationship. Quadrupling your sample size halves the standard error. This means early increases in sample size yield dramatic precision gains, while very large samples produce only marginal further improvement. This relationship is one of the core justifications for power analysis before a study: collecting too few observations leaves estimates imprecise, while vastly over-sampling wastes resources for minimal precision gain.
When should I use a t-distribution instead of a z-distribution to build a confidence interval?
Use the t-distribution when the population standard deviation is unknown and the sample size is small (generally n < 30), because the t-distribution has heavier tails that account for the extra uncertainty in estimating variability from few data points. As n grows beyond 30, the t-distribution converges toward the standard normal (z) distribution, and the difference becomes negligible. In practice, many statisticians use the t-distribution by default regardless of sample size when the population SD is unknown, since it is always the more conservative and technically correct choice in that situation.