keepcalculator

06 Numbers and Powers

Sample Standard Error Calculator: Formula & How to Use

Card No. 06·1239 · Updated · Standard formula, shown below

The calculator on this card is switched off while it is checked. The formula is below, and the worked example shows how to do the sum by hand.

This calculator works out the standard error of the mean (SEM) for a sample: you enter your sample’s standard deviation and size, and it returns the standard error, which tells you how far the sample mean is likely to be from the true population mean. It also shows the standard deviation and sample size for reference. The standard error is a key number in statistics for building confidence intervals and running hypothesis tests.

Formula

The standard error of the mean is calculated as:

SEM = s / √n

Where:

  • s = sample standard deviation (a measure of spread in your data, with the same units as your measurements)
  • n = sample size (the number of observations)
  • SEM = standard error of the mean (also in the same units as your data)

Note that the formula uses the sample standard deviation (the one with n−1 in the denominator), not the population standard deviation. If you only have the population standard deviation (σ), the standard error is σ/√n, but in practice you almost always work with sample data.

Worked Example

Let’s use the default values from the calculator: a sample standard deviation of 5 and a sample size of 30.

  1. Start with the formula: SEM = s / √n
  2. Plug in the numbers: SEM = 5 / √30
  3. √30 ≈ 5.477
  4. SEM = 5 / 5.477 ≈ 0.9129

The calculator shows 0.9129 (rounded to 4 decimal places). This means if you took many samples of size 30 from the same population, the standard deviation of those sample means would be about 0.913 units.

What the Standard Error Tells You

The standard error measures the precision of your sample mean as an estimate of the population mean. A smaller SEM means your sample mean is likely closer to the true population mean. For example, if you measure the heights of 30 random adults and get a mean of 170 cm with a standard deviation of 10 cm, the SEM is 10/√30 ≈ 1.83 cm. That suggests the true population mean is probably within a few centimeters of 170 cm.

You’ll often see SEM used to create a 95% confidence interval: roughly sample mean ± 2 × SEM (more precisely ± 1.96 × SEM for large samples). In the height example, that would be 170 ± 3.66 cm, or about 166.3 to 173.7 cm. This interval gives a range where the true mean likely falls.

How to Choose Between Standard Error and Standard Deviation

People often confuse these two. The standard deviation describes how spread out individual data points are in your sample. The standard error describes how spread out the sample mean would be if you repeated the experiment many times. Use the standard deviation when you want to describe variability in your data; use the standard error when you want to talk about the reliability of the mean.

For example, if you report that a group’s test scores have a standard deviation of 15 points, that tells you about the range of scores. If you report that the standard error of the mean is 3 points, that tells you how precise your estimate of the average score is.

Common Mistakes and Misconceptions

  • Using the wrong standard deviation: Make sure you use the sample standard deviation (s), which has n−1 in its formula. If you accidentally use the population standard deviation (σ), your SEM will be slightly too small.
  • Confusing SEM with standard deviation: They are different. SEM is always smaller than the standard deviation (unless n=1, where they are equal).
  • Interpreting SEM as a range for individual values: SEM applies to the mean, not to individual data points. You can’t say that 95% of your data falls within ±2 SEM.
  • Ignoring sample size: SEM decreases as n increases. A large sample gives a smaller standard error, which is why bigger studies are more precise.

Limitations and When to Be Careful

The standard error formula assumes your sample is random and independent, and that the underlying population distribution is not heavily skewed. If your sample is biased or your data are not independent, the SEM may not accurately reflect the true precision.

Also, for very small sample sizes (n < 30), the normal approximation for confidence intervals may not hold. In that case, you should use the t-distribution instead of the normal distribution. The SEM itself is still valid, but the multiplier for a 95% confidence interval will be larger (e.g., t ≈ 2.26 for n=10 instead of 1.96).

Finally, the standard error only measures random sampling error. It does not account for systematic errors, such as a poorly calibrated instrument or a non-representative sample. Always consider the study design when interpreting SEM.

Frequently Asked Questions

What is the difference between standard error and standard deviation?

Standard deviation measures the spread of individual data points around the mean. Standard error measures the spread of sample means around the true population mean. In practice, standard error is the standard deviation of the sampling distribution of the mean.

Can I calculate standard error from a list of raw data?

Yes, but you first need to compute the sample standard deviation and sample size from the data. This calculator takes those two values as inputs. If you have raw data, you can use a standard deviation calculator first, then enter the result here.

Why does the standard error get smaller with larger sample sizes?

Because the formula divides by √n. As n increases, √n increases, so the SEM decreases. This reflects the fact that larger samples give more precise estimates of the population mean.

What is a good standard error?

There is no universal “good” value. It depends on your field and the variability of your data. A good standard error is one that is small relative to the mean, so that the confidence interval is narrow enough to draw meaningful conclusions. For example, in medical research, a SEM that is less than half the standard deviation is often considered acceptable, but it varies.

Is standard error the same as standard error of the mean?

Yes, they are the same. “Standard error” often refers specifically to the standard error of the mean, though there are other types (e.g., standard error of a proportion). This calculator computes the standard error of the mean.

Related

Formula used
in sd | Sample standard deviation | - | 5 | 0 | 1000000
in n | Sample size | - | 30 | 1 | 1000000
out sem | Standard error of the mean | - | sd / sqrt(n) | 4
out variance | Sample variance | - | sd^2 | 4

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →