Standard Deviation of Sample Mean Calculator
Compute the standard deviation of the sample mean (standard error) from any population SD and sample size, or find the minimum sample size for a target margin of error.
📊 What is the Standard Deviation of the Sample Mean?
The standard deviation of the sample mean, universally called the standard error of the mean (SEM or SE), is a measure of how much the average of a random sample is expected to vary from the true population mean. Rather than describing the spread of individual data points, SE describes the precision of the sample mean as an estimator. The formula is SE = sigma divided by the square root of n, where sigma is the population standard deviation and n is the number of observations in the sample.
This statistic appears in virtually every area where data-driven decisions are made. Pharmaceutical researchers use SE to set the width of confidence intervals around a drug's measured effect. Quality engineers on a production line use SE to decide whether the mean output of a batch differs from the specification target by more than sampling noise alone. Political pollsters report a "margin of error" that is nothing more than 1.96 times the SE of a proportion. Economists compare average wages across regions using SE to separate real differences from measurement noise.
A common point of confusion is treating SE and standard deviation as interchangeable. They are not. The sample standard deviation s (or population SD sigma) describes the variability of individual observations around the mean: it stays roughly constant no matter how large your sample grows. SE, by contrast, shrinks predictably as sample size increases. A dataset of 100 measurements has an SE that is one-tenth the population SD (because sqrt(100) = 10). Collect 10,000 measurements and the SE is one-hundredth the SD. This relationship means precision improves with more data, but at a diminishing rate governed by the square root.
This calculator has two modes. Compute Standard Error takes your population SD and sample size and returns SE plus the margins of error at three confidence levels. Find Sample Size works in reverse: you specify the precision you want (the desired margin of error) and the confidence level, and the calculator returns the minimum sample size that delivers that precision along with the actual SE and margin of error you will achieve after rounding up to a whole number.
📐 Formula
📖 How to Use This Calculator
Steps
💡 Example Calculations
Example 1 - IQ Score Survey (sigma = 15, n = 100)
Population SD 15, sample of 100 people - standard exam setting
Example 2 - Blood Pressure Study (sigma = 12, need MOE = 2 at 95%)
Planning a study: population SD 12 mmHg, target margin of error 2 mmHg at 95% confidence
Example 3 - Manufacturing Quality Control (sigma = 0.5 mm, n = 25)
Dimensional inspection: 25 parts sampled, process SD = 0.5 mm
❓ Frequently Asked Questions
🔗 Related Calculators
What is the standard deviation of the sample mean?
The standard deviation of the sample mean, also called the standard error of the mean (SEM or SE), measures how much the sample mean is expected to vary from sample to sample. It equals the population standard deviation sigma divided by the square root of the sample size n: SE = sigma divided by sqrt(n). A smaller SE means the sample mean is a more precise estimate of the population mean.
What is the formula for standard error of the mean?
SE = sigma divided by sqrt(n), where sigma is the population standard deviation and n is the sample size. If the population SD is unknown, substitute the sample standard deviation s for sigma to get the estimated SE: s divided by sqrt(n). The result is the expected spread of sample means across repeated samples of size n.
How is the standard deviation of the sample mean different from the standard deviation?
Population or sample standard deviation (sigma or s) measures the spread of individual data points around the mean. The standard deviation of the sample mean (SE) measures the spread of sample means across many possible samples. SE equals sigma divided by sqrt(n), so it is always smaller than sigma for n greater than 1, and it shrinks as sample size grows.
What does a small standard error of the mean indicate?
A small SE indicates that the sample mean is a precise estimate of the population mean. It means repeated samples of the same size would produce similar sample means. Small SE results from a large sample size, a small population SD, or both. A large SE suggests high sampling variability and a less reliable estimate.
How does sample size affect the standard error?
SE = sigma divided by sqrt(n), so SE decreases as n increases. The relationship is not linear: doubling n reduces SE by a factor of sqrt(2) (about 29%). Quadrupling n halves SE. To reduce SE by 90% you need 100 times the original sample size. This diminishing return is why very large samples are needed for high-precision estimates.
What is the 95% margin of error and how does it relate to SE?
The 95% margin of error is 1.96 times SE (often rounded to 2 times SE for quick estimates). It defines the half-width of the 95% confidence interval around the sample mean: CI = sample mean plus or minus 1.96 times SE. A sample mean of 50 with SE = 2 gives a 95% CI of 46.08 to 53.92.
How do I calculate the minimum sample size from a margin of error?
Rearrange the margin of error formula: n = (z times sigma divided by E) squared, where z is the critical value (1.645 for 90%, 1.960 for 95%, 2.576 for 99%), sigma is the population SD, and E is the desired margin of error. Always round up to the next whole number. Use the Sample Size mode in this calculator to do this automatically.
When should I use standard error vs. standard deviation in a report?
Use standard deviation to describe the variability of individual measurements or the spread of raw data in descriptive statistics. Use standard error when reporting the precision of the sample mean, confidence intervals, or in the context of hypothesis tests about the mean. Misreporting SE as SD (or vice versa) artificially makes a result look more or less precise than it is.
What is the Central Limit Theorem and how does it relate to SE?
The Central Limit Theorem states that the distribution of sample means approaches a normal distribution as n increases, regardless of the shape of the population distribution. The mean of this sampling distribution equals the population mean, and its standard deviation equals the standard error SE = sigma divided by sqrt(n). This is why SE and the normal distribution form the basis of most confidence intervals and hypothesis tests.
Can I use SE when the population standard deviation is unknown?
Yes. When sigma is unknown, substitute the sample standard deviation s to get estimated SE = s divided by sqrt(n). For small samples (n less than 30) use the t-distribution with n minus 1 degrees of freedom instead of the z-distribution when building confidence intervals or running hypothesis tests. For large samples (n at least 30) the normal approximation is reliable.
What is a good standard error for survey results?
There is no universal standard. The acceptable SE depends on the precision your decision requires. National opinion polls typically aim for SE of 0.5 to 1 percentage point (giving a 95% MOE of roughly 1 to 2 points). Clinical trials define an acceptable SE in their power calculation based on the minimum clinically meaningful difference. Use the Sample Size mode to find the n that delivers the SE your study needs.
Why does the standard error formula divide by sqrt(n) instead of n?
The variance of the sample mean equals the population variance divided by n: Var(X-bar) = sigma squared divided by n. Taking the square root to get the standard deviation of X-bar gives SE = sigma divided by sqrt(n). Dividing by n would give the variance, not the SD. This is also why the relationship between SE and n follows a square-root curve rather than a straight line.