Standard Error Calculator

The standard error of the mean measures how much a sample mean is expected to vary from sample to sample: SE = s ÷ √n. For 2, 4, 4, 4, 5, 5, 7, 9 the sample standard deviation is 2.1381, n = 8, and SE = 0.7559.

Last updated · By · Runs in your browser, nothing is uploaded

Result

Step-by-Step Solution

Enter your values above to see the full working.

What Is Standard Error?

Standard error (SE) tells you how precisely a sample mean estimates the true population mean. If you drew many samples of the same size and calculated each one’s mean, those means would form their own distribution. The standard error is the standard deviation of that distribution.

A small standard error means the sample mean is a reliable estimate. Because the standard error shrinks as the sample grows, it explains why larger studies give more trustworthy results.

Standard Error vs Standard Deviation

Standard deviationStandard error
DescribesSpread of individual valuesPrecision of the sample mean
FormulaSquare root of the average squared deviations ÷ √n
Changes with larger nStays about the sameGets smaller
Use it toDescribe the dataBuild confidence intervals and run tests
For 2, 4, 4, 4, 5, 5, 7, 92.13810.7559

Standard Error Formula

SE = s ÷ √n
  • SE is the standard error of the mean.
  • s is the sample standard deviation, calculated with n − 1.
  • n is the number of observations in the sample.

If the population standard deviation σ is known, use σ ÷ √n. For a sample proportion the formula changes to SE = √[p(1 − p) ÷ n]. With p = 0.5 and n = 400, SE = √(0.25 ÷ 400) = 0.025, which is 2.5 percentage points.

Standard Error of a Difference Between Two Means

When you compare two independent groups, the standard error of the difference combines both: SE = √(s₁² ÷ n₁ + s₂² ÷ n₂). If group 1 has s₁ = 10 and n₁ = 25, its variance term is 100 ÷ 25 = 4. If group 2 has s₂ = 12 and n₂ = 36, its term is 144 ÷ 36 = 4. The standard error of the difference is √(4 + 4) = 2.8284. This is the denominator used by the two-sample t-test.

Standard Error and Margin of Error

The margin of error is the standard error multiplied by a critical value. For a large sample at 95% confidence that multiplier is 1.96, so a standard error of 0.0159 on a proportion corresponds to a margin of error of about 3.1 percentage points.

Worked Example: Standard Error of the Mean

Use the preloaded data 2, 4, 4, 4, 5, 5, 7, 9.

  1. Mean: 40 ÷ 8 = 5.
  2. Sum of squared deviations: 9 + 1 + 1 + 1 + 0 + 0 + 4 + 16 = 32.
  3. Sample standard deviation: √(32 ÷ 7) = 2.1381.
  4. Standard error: 2.1381 ÷ √8 = 2.1381 ÷ 2.8284 = 0.7559.
  5. 95% confidence interval: with 7 degrees of freedom t* = 2.3646, so the margin is 2.3646 × 0.7559 ≈ 1.7875, giving 3.2125 to 6.7875.

How Sample Size Changes the Standard Error

Suppose a survey has a standard deviation of 15.

Sample size nStandard errorChange
253.00baseline
1001.50halved
4000.75halved again

To cut the standard error in half, you need four times as much data.

How to Use This Standard Error Calculator

  1. Enter your data values separated by commas or spaces.
  2. The calculator computes the mean, sample standard deviation and sample size.
  3. Read the standard error of the mean and the 95% confidence interval.
  4. Open the steps to see the calculation.

Already know the mean, standard deviation and n? Use the confidence interval calculator, or find the precision you need with the margin of error calculator.

Real-World Uses of Standard Error

  • Scientific papers: results are often written as mean ± SE to show how precisely each group mean is known.
  • Hypothesis testing: t-statistics divide a difference by its standard error, so every t-test depends on it.
  • Polling: the margin of error on a poll is about 1.96 standard errors.
  • Regression: coefficients have standard errors that determine their significance.
  • Quality assurance: deciding whether an average from a test batch is precise enough.

How to Report It

State clearly which statistic you are quoting. “Mean = 5.00, SD = 2.14, n = 8” describes the data. “Mean = 5.00, SE = 0.76” describes the precision of the mean. Mixing them up is one of the most common ways that figures in reports end up misleading readers.

What Are the Most Common Mistakes With the Standard Error Calculator?

  • Using SE to describe spread. SE describes the mean’s precision, not the variability of individual values. Report standard deviation for that.
  • Reporting SE to make data look tight. SE is always smaller than SD for n > 1, so choose the statistic that matches your message.
  • Forgetting √n. Dividing by n instead of √n gives a far-too-small answer.
  • Using population SD with a sample. Use s calculated with n − 1.
  • Assuming independence. The formula assumes independent observations. Clustered or repeated measurements need different methods.
  • Tiny samples. With very few values, both s and SE are unstable.

Where Can You Verify These Formulas?

The definitions and formulas on this page follow standard references. Check them against these sources:

Built and maintained by S. Dilshan. Found a mistake? Email [email protected] with the page address.

Frequently Asked Questions

What is the formula for standard error?

SE = s ÷ √n, where s is the sample standard deviation and n is the sample size. For proportions, SE = √[p(1 − p) ÷ n].

What is the difference between standard error and standard deviation?

Standard deviation measures how spread out individual values are. Standard error measures how much the sample mean would vary between samples, and it equals the standard deviation divided by √n.

How does sample size affect standard error?

Standard error decreases in proportion to 1 ÷ √n, so quadrupling the sample size halves it. Larger samples give more precise estimates of the mean.

Is a smaller standard error always better?

A smaller SE means a more precise estimate of the mean, but it says nothing about bias. A precisely wrong estimate from a poor sample is still wrong.

How do I get a confidence interval from the standard error?

Multiply the standard error by the critical value for your confidence level and add and subtract it from the mean. For 95% with 7 degrees of freedom the multiplier is 2.3646.

Can the standard error be zero?

Only if the standard deviation is zero, meaning every value is identical, or if the sample is the entire population in a finite-population correction setting.