Skip to content
Statistics

Standard Deviation of the Sample Mean Calculator

Enter your population standard deviation (or sample standard deviation) and your sample size to find the standard deviation of the sample mean, also called the standard error of the mean (SEM). The result tells you how spread out sample averages would be if you drew many samples of size n from the same population. The calculator shows every step and plots how SEM shrinks as sample size grows.

Your details

Use population SD when you know the true spread of the whole population. Use sample SD when you are estimating from a single sample.
The standard deviation of the entire population.
Number of observations in each sample drawn from the population.
Optional: enter a desired SEM to see what sample size you would need to achieve it with the given SD.
Standard Error of the Mean (SEM)
2.7386

Standard deviation of the sampling distribution of the mean (sigma / sqrt(n))

Variance of the Sample Mean7.5
Square root of n5.4772
Required n for target SEM-
2.738699.7% below · Standard deviations from the mean
07.5151100199
Sample size (n)

SEM = 2.7386: sample means from size-30 samples will have this spread.

  • With a standard deviation of 15 and a sample size of 30, sample means will scatter around the true mean with a standard error of 2.7386.
  • Your SEM is 18.3% of the original SD. Sample means are considerably less variable than individual observations.
  • To halve the SEM to approximately 1.3693, you would need to quadruple the sample size to n = 120 (SEM would become 1.3693).
  • The variance of the sample mean is 7.5000, which equals the population variance divided by n.

Next stepSEM lets you build a 95% confidence interval for the population mean: mean +/- 1.96 x SEM (using the normal distribution when n is large).

What is the standard deviation of the sample mean?

When you draw a random sample of size n from a population and compute its mean, that mean is itself a random variable. If you repeated the sampling many times, the resulting means would form a distribution called the sampling distribution of the mean. The standard deviation of that distribution is the standard deviation of the sample mean, more commonly called the standard error of the mean (SEM). It is calculated as sigma divided by the square root of n, where sigma is the population standard deviation. The SEM tells you how precisely a single sample mean estimates the true population mean: a smaller SEM means individual sample means cluster more tightly around the true value.

The formula and how to use it

The core formula is: SEM = sigma / sqrt(n). You need two values: the population standard deviation (sigma) and the sample size (n). If the population SD is unknown, you substitute the sample standard deviation (s), though the result is then an estimate rather than an exact value. For example, adult female heights have a population SD of about 7.1 cm. If you sample 100 women, the SEM is 7.1 / sqrt(100) = 7.1 / 10 = 0.71 cm. That means sample means of size 100 will typically fall within about 0.71 cm of the true population mean.

The square-root law and diminishing returns

Because n sits under a square root, the relationship between sample size and SEM is non-linear. Doubling n reduces the SEM by a factor of sqrt(2), about 29%. Quadrupling n halves the SEM exactly. To reduce the SEM by 90%, you need a sample 100 times larger. This square-root law is why large clinical trials can achieve very tight estimates of a drug effect, and why early-stage studies with small n have wide uncertainty bands even with the same underlying variability. The reference table above shows SEM as a fraction of sigma across common sample sizes, illustrating these diminishing returns.

SEM vs standard deviation: knowing the difference

A very common point of confusion is mixing up the standard deviation and the standard error. The population SD (sigma) describes how spread out individual observations are. The SEM describes how spread out sample means are. The SEM is always smaller than sigma (for n greater than 1) because averaging n observations smooths out individual variability. Reporting the SEM as if it were the SD makes data look more precise than it is and is a recognised source of misleading statistical summaries. Use SD when you want to describe the spread of individual values. Use SEM (or a confidence interval derived from it) when you want to describe how well your sample mean estimates the population mean.

Reverse solve: what sample size do you need?

If you know your target SEM before collecting data, you can work backwards. Rearranging the formula gives n >= (sigma / target SEM)^2. For instance, if sigma = 15 and you want a SEM of 2, you need n >= (15 / 2)^2 = 56.25, so 57 observations. Enter your target in the "Target SEM" field above and the calculator computes the required n automatically, rounding up to the next whole number. This approach is a basic component of study power calculations and sample-size planning.

SEM as a fraction of population SD at common sample sizes

Sample size (n)sqrt(n)SEM / sigmaReduction vs n=1
11.0001.000baseline
42.0000.50050%
93.0000.33367%
164.0000.25075%
255.0000.20080%
507.0710.14186%
10010.0000.10090%
40020.0000.05095%
100031.6230.03297%

Shows the multiplier SEM = sigma / sqrt(n). Larger samples shrink the SEM according to a square-root law, so halving the SEM requires quadrupling n.

Frequently asked questions

What is the difference between SEM and standard deviation?

The standard deviation (SD) measures how spread out individual observations are within a dataset. The standard error of the mean (SEM) measures how spread out sample means would be across many repeated samples of the same size. SEM = SD / sqrt(n), so SEM is always smaller than SD when n is greater than 1. Use SD to describe variability in raw data; use SEM (or a confidence interval based on it) to describe the precision of a mean estimate.

Why do I divide by the square root of n and not n itself?

The variance of the sample mean equals sigma^2 / n, which follows from the property that the variance of a sum of n independent variables is n times the variance of one variable. Taking the square root to get the standard deviation yields sigma / sqrt(n). Dividing by sqrt(n) rather than n is a consequence of working with standard deviations rather than variances.

Can I use sample SD instead of population SD?

Yes. When the population SD is unknown (which is almost always in practice), you substitute the sample SD (s) to get an estimated SEM: s / sqrt(n). This estimate improves as n grows. For formal inference such as confidence intervals and t-tests, you also account for estimation uncertainty by using the t-distribution with n-1 degrees of freedom instead of the normal distribution.

How does sample size affect the SEM?

SEM is inversely proportional to the square root of n. Doubling n reduces SEM by about 29%. Quadrupling n halves SEM exactly. This is called the square-root law of averaging. It means larger samples always produce more precise mean estimates, but the gain per additional observation shrinks as n grows.

What does a smaller SEM mean in practice?

A smaller SEM means your sample mean is a more precise estimate of the population mean. For example, a SEM of 0.5 means that 68% of the time your sample mean will land within 0.5 units of the true population mean (assuming a normal sampling distribution). A confidence interval for the mean is approximately mean +/- 1.96 x SEM at the 95% level.

Is SEM the same as the standard deviation of the sampling distribution?

Yes, exactly. The Central Limit Theorem states that the sampling distribution of the mean is approximately normal with mean equal to the population mean and standard deviation equal to SEM = sigma / sqrt(n). SEM and standard deviation of the sampling distribution of the mean are two names for the same quantity.

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…