Standard error tells you how much a sample mean is likely to vary if you repeated the sampling process again and again. A smaller standard error means the estimate is more precise; a larger one means more uncertainty.

For the common case of a mean, standard error is calculated from the sample standard deviation and the sample size. If you also want to understand the spread of the data itself, see the standard deviation calculator, or compare it with a sample size calculator when you are planning a study.

What standard error means

Standard error is not the same as standard deviation.

  • Standard deviation describes how spread out the individual data points are.
  • Standard error describes how much the sample estimate, usually the mean, would vary from sample to sample.

In plain terms, standard deviation is about the data; standard error is about the estimate made from the data. If you collect a larger sample from the same population, the standard error usually gets smaller because the estimate becomes more stable.

A common use is the mean, so when people say “standard error” without extra detail, they often mean the standard error of the mean.

Formula for standard error

For the standard error of the mean, the formula is:

SE = s / √n

Where:

  • s = sample standard deviation
  • n = sample size
  • √n = square root of the sample size

If you know the variance instead of the standard deviation, use:

SE = √(variance / n)

because variance is just the standard deviation squared.

This calculator is designed for that core relationship: standard error from standard deviation and sample size, with related values for variance and simple margin-style estimates.

When you use it

You may use standard error when you want a quick sense of how precise a sample-based estimate is.

Typical situations include:

  • estimating a population mean from sample data
  • building a confidence interval
  • comparing the precision of two samples
  • checking whether a mean is fairly stable or still noisy

Standard error is often a building block rather than the final answer. For example, in many statistical methods, you first calculate SE, then use it to create a margin of error or a confidence interval.

How to calculate it step by step

To calculate standard error from a sample standard deviation:

  1. Find the sample standard deviation, s.
  2. Find the sample size, n.
  3. Take the square root of the sample size, √n.
  4. Divide the standard deviation by that square root.

So the method is:

SE = s ÷ √n

If your source gives variance instead of standard deviation:

  1. Take the square root of the variance to get standard deviation, or use SE = √(variance / n) directly.
  2. Divide by the square root of the sample size.

If you are also checking the size of the spread itself, a standard deviation calculator can help you verify the input before you compute SE.

Worked examples

These are hypothetical examples to show the method.

Example 1: simple mean estimate

Suppose a sample has:

  • standard deviation = 12
  • sample size = 36

Use the formula:

SE = 12 / √36 = 2

That result is the standard error of the mean. Because the sample size is larger, the standard error is smaller than the raw spread of the data.

Example 2: using variance

Suppose you know:

  • variance = 49
  • sample size = 25

Use the variance form:

SE = √(49 / 25) = 1.4

You can also see it as:

SE = 7 / √25 = 1.4

Both methods give the same answer, because √49 = 7.

Example 3: small sample

Suppose:

  • standard deviation = 18
  • sample size = 9

Then:

SE = 18 / √9 = 6

This example shows why small samples often produce larger standard errors: the denominator is smaller, so the estimate is less precise.

How to read the result

A standard error is usually read as the typical sampling uncertainty around the estimate.

If the SE is small:

  • your sample mean is relatively stable
  • repeated samples would likely produce means close to each other
  • confidence intervals based on the mean will usually be narrower

If the SE is large:

  • the sample mean is less stable
  • repeated samples could vary more
  • confidence intervals will usually be wider

Do not read standard error as the average error in the data points themselves. It is about the uncertainty of the estimate, not the spread of individual observations.

Common mistakes and limits

A few errors show up often:

  • Confusing standard error with standard deviation. They answer different questions.
  • Using the population standard deviation by accident. The formula usually refers to the sample standard deviation when you are working from sample data.
  • Ignoring sample size. Standard error changes when sample size changes, even if the standard deviation stays the same.
  • Using SE for individual predictions. SE is about the mean or another statistic, not a single new observation.
  • Assuming a tiny SE means the data are not variable. The data may still be very spread out; the mean can simply be estimated precisely because the sample is large.
  • Treating SE as a universal quality score. It depends on the sampling method, measurement quality, and the statistic being studied.

The usual formula works best for a mean and for samples where the standard assumptions are reasonable. For more specialized statistics, the standard error formula can change.

Practical way to use standard error

A simple workflow is:

  1. Start with your sample standard deviation and sample size.
  2. Calculate SE using s / √n.
  3. Use the result to judge how precise the mean is.
  4. If needed, combine it with a confidence multiplier to form a margin of error.
  5. If the SE feels too large, consider whether a larger sample would help.

If you are planning a study rather than analyzing one, checking the sample size first with a sample size calculator can save time later. For background on the tool itself, the Wikipedia page on calculators gives the general idea of how calculators are used to automate routine formulas.

Frequently asked questions

Is standard error the same as standard deviation?
No. Standard deviation measures how spread out the data points are, while standard error measures how much a sample statistic, usually the mean, varies from sample to sample. They are related, but they answer different questions.
Why does standard error get smaller when sample size increases?
Because the formula divides by the square root of the sample size. As the sample gets larger, the denominator increases, so the estimated mean becomes more stable. That is why larger samples usually give more precise estimates.
Can I calculate standard error from variance?
Yes. If you have variance, you can use SE = √(variance / n). Since variance is the square of standard deviation, this gives the same result as using standard deviation directly.
What does a standard error of zero mean?
It would mean there is no variability in the estimate under the formula, which usually happens only in a trivial or degenerate case. In real sample work, a zero value is unusual and may point to a data or input problem.
Does standard error tell me how variable the raw data are?
Not directly. Standard error is about the precision of the estimate, not the spread of the individual observations. If you want the spread of the data, standard deviation is the better measure.
Is standard error used in confidence intervals?
Yes. Standard error is one of the main inputs to a confidence interval for a mean or another estimate. The final interval also depends on the confidence level and the appropriate critical value.
What if I only know the mean and sample size?
You usually cannot get standard error from the mean and sample size alone. You also need a measure of spread, such as standard deviation or variance.

About this article

Written by Yahav Atia, WSO – the digital agency (wso.co.il) that owns and founded this site, with the help of AI, and passed automated quality checks before publication. Numbers in the worked examples were computed in code, not estimated.