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.

๐Ÿ“Š Standard Deviation of Sample Mean Calculator
Population Standard Deviation (ฯƒ)15.0
units
1100
Sample Size (n)30
obs.
1500
Population Standard Deviation (ฯƒ)15.0
units
1100
Desired Margin of Error (E)3.00
units
0.120
Confidence Level
Standard Error (SE)
SE as % of ฯƒ
โˆšn
Margin of Error (90%)
Margin of Error (95%)
Margin of Error (99%)
Minimum Sample Size (n)
Exact n (before rounding)
Z used
Actual SE at min n
Actual 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

SE = σ ÷ √n
SE = standard error of the mean (standard deviation of the sampling distribution of X-bar)
σ = population standard deviation (or sample SD s when population SD is unknown)
n = sample size (number of independent observations)
Margin of error: MOE = z × SE, where z = 1.645 (90%), 1.960 (95%), 2.576 (99%)
Minimum n from MOE: n = ⌈(z × σ ÷ E)²⌉, rounded up to the nearest integer
Example: If σ = 15 and n = 30, SE = 15 ÷ √30 = 15 ÷ 5.477 = 2.739

๐Ÿ“– How to Use This Calculator

Steps

1
Choose a mode - Select Compute Standard Error to find SE from a known sigma and n, or select Find Sample Size to determine how many observations you need for a specified precision target.
2
Enter population standard deviation - Type the known population SD. If the population SD is unknown, use the sample SD from a pilot study or historical data as a planning estimate and build in a 10% buffer on the required sample size.
3
Enter sample size or desired margin of error - In Compute SE mode, type the planned or actual sample size n. In Find Sample Size mode, type the largest acceptable margin of error E and select the confidence level (90%, 95%, or 99%).
4
Click Calculate and read results - Compute SE mode shows SE, SE as a percentage of sigma, and margins of error at all three confidence levels. Find Sample Size mode shows the minimum n (rounded up), the exact pre-rounding value, the z used, and the actual SE and margin of error you will achieve.

๐Ÿ’ก Example Calculations

Example 1 - IQ Score Survey (sigma = 15, n = 100)

Population SD 15, sample of 100 people - standard exam setting

1
Population SD sigma = 15 (standardised IQ scale). Sample size n = 100.
2
SE = 15 divided by sqrt(100) = 15 divided by 10 = 1.500.
3
95% margin of error = 1.960 times 1.500 = 2.940 IQ points. If the sample mean is 103, the 95% CI is 100.06 to 105.94.
SE = 1.5000 | 95% MOE = 2.9400
Try this example →

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

1
Desired MOE E = 2 mmHg, confidence 95% (z = 1.960), sigma = 12 mmHg.
2
Exact n = (1.960 times 12 divided by 2) squared = (11.76) squared = 138.30.
3
Round up to n = 139. Actual SE = 12 divided by sqrt(139) = 1.0182. Actual MOE = 1.960 times 1.0182 = 1.996 mmHg (just under the 2 mmHg target).
Minimum n = 139 | Actual SE = 1.0182
Try this example →

Example 3 - Manufacturing Quality Control (sigma = 0.5 mm, n = 25)

Dimensional inspection: 25 parts sampled, process SD = 0.5 mm

1
Population SD sigma = 0.5 mm (process capability estimate). Sample n = 25 parts.
2
SE = 0.5 divided by sqrt(25) = 0.5 divided by 5 = 0.1000 mm.
3
99% margin of error = 2.576 times 0.1000 = 0.2576 mm. If the specification tolerance is 0.3 mm, a 99% CI just fits within that band. SE as a percentage of sigma = 0.1 divided by 0.5 = 20%.
SE = 0.1000 mm | 99% MOE = 0.2576 mm
Try this example →

โ“ Frequently Asked Questions

What is the standard deviation of the sample mean?+
The standard deviation of the sample mean is the standard error (SE), which measures how much sample means vary across repeated samples. SE = sigma divided by sqrt(n). It describes the precision of the sample mean as an estimate of the population mean. A smaller SE means the sample mean is more reliable. SE is always smaller than the population SD for any sample size greater than 1.
What is the difference between standard deviation and standard error?+
Standard deviation (sigma or s) measures the spread of individual data values around their mean. Standard error (SE) measures the spread of sample means across repeated samples. SD is a property of the population or dataset and does not depend on sample size. SE equals SD divided by sqrt(n) and decreases as sample size increases. Reporting SE instead of SD makes results appear more precise than they are, so always label which one you are using.
Why does the standard error decrease as sample size increases?+
SE = sigma divided by sqrt(n). As n grows, sqrt(n) grows, making SE smaller. This reflects the Law of Large Numbers: with more data, the sample mean becomes a more accurate and stable estimate of the population mean. The square-root relationship means improvements in precision are subject to diminishing returns. Going from n = 25 to n = 100 halves SE; going from n = 100 to n = 400 halves it again.
How do I calculate the margin of error from standard error?+
Margin of error = z times SE, where z depends on the confidence level: 1.645 for 90%, 1.960 for 95%, and 2.576 for 99%. For example, if SE = 3 and you want a 95% confidence interval, MOE = 1.960 times 3 = 5.88. The confidence interval around the sample mean is then: sample mean minus 5.88 to sample mean plus 5.88. A narrower MOE requires either a larger sample or accepting a lower confidence level.
What sample size do I need for a given margin of error?+
Rearrange MOE = z times sigma divided by sqrt(n) to get n = (z times sigma divided by E) squared, then round up. For example, with sigma = 10, E = 2, and 95% confidence (z = 1.960): n = (1.960 times 10 divided by 2) squared = 9.8 squared = 96.04, so n = 97. Always round up, never round down, so the actual MOE stays at or below the target. Use the Find Sample Size mode for instant results.
Can I use sample standard deviation instead of population standard deviation?+
Yes. When the population SD sigma is unknown (the usual case in practice) substitute the sample standard deviation s. The 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 when constructing confidence intervals or running hypothesis tests. For large samples (n at least 30) the t and z distributions are nearly identical and the normal approximation is acceptable.
How does the Central Limit Theorem justify using SE?+
The Central Limit Theorem (CLT) states that the distribution of sample means approaches a normal distribution as sample size grows, regardless of the shape of the underlying population. The mean of that sampling distribution equals the population mean, and its standard deviation equals SE = sigma divided by sqrt(n). The CLT is why confidence intervals and z-tests based on SE are valid even when the raw data is not normally distributed, provided n is large enough (typically at least 30).
What does "SE as a percentage of sigma" mean?+
SE as a percentage of sigma equals (SE divided by sigma) times 100, which equals 100 divided by sqrt(n). This tells you what fraction of the population SD has been reduced by averaging. A sample of n = 100 gives SE = 10% of sigma. A sample of n = 400 gives SE = 5% of sigma. This metric is useful for quickly comparing how much precision different sample sizes deliver relative to the underlying variability in the data.
How is SE used in hypothesis testing?+
In a one-sample z-test or t-test about a mean, the test statistic is z (or t) = (sample mean minus hypothesised mean) divided by SE. If this ratio is large in absolute value, the sample mean is far from the hypothesised value relative to the sampling noise, and you reject the null hypothesis. The p-value is then read from the normal or t-distribution. SE is the denominator of every test statistic involving a mean, making it central to inferential statistics.
Is SE the same as the standard deviation of a sampling distribution?+
Yes, exactly. When you imagine drawing many random samples of size n from a population and computing the mean of each, those means form a sampling distribution. The standard deviation of that sampling distribution is the standard error: SE = sigma divided by sqrt(n). SE is not a property of any single sample; it is a property of the process of sampling. This is why SE quantifies precision rather than variability of raw data.
Why do I need to round up when calculating minimum sample size?+
The formula n = (z times sigma divided by E) squared usually produces a non-integer. Rounding down would give a sample size slightly below the minimum needed, causing the actual margin of error to exceed the target E. Rounding up guarantees that the actual MOE is at or below E. For example, if the formula gives 96.04, using n = 96 gives MOE just above the target; using n = 97 delivers MOE at or below it. Always use ceiling (round up) for sample size calculations.
What are common mistakes when reporting standard error?+
The most frequent mistakes are: (1) labelling SE as SD or vice versa, which misrepresents precision; (2) using SE for descriptive statistics when SD is more appropriate; (3) forgetting to specify the confidence level when reporting a margin of error; (4) applying z-critical values when a t-distribution should be used for small samples; and (5) reporting SE from a sample with unknown population SD without noting that it is an estimate. Always state clearly whether you are reporting SE or SD and the sample size used.