Standard Error Calculator

Standard error of the mean from raw data or from SD and n, with a confidence interval.

SEM = s ÷ √n. With a sample standard deviation of 12 and n = 36, SEM = 12 ÷ 6 = 2. The 95% confidence interval for the mean is about x̄ ± 2 × SEM (using t for small samples).

Free, runs in your browser. Nothing you enter is uploaded.

How to use it

  1. Paste your data, or enter the standard deviation and sample size.
  2. Choose the confidence level.
  3. Read the SEM and the confidence interval for the mean.

What you enter

What you get

Formula

SEM = s ÷ √n | CI = x̄ ± t(α/2, n−1) × SEM

Worked example

Input: s = 12, n = 36

Result: SEM = 2.0

The sample mean is likely within about ±4 of the population mean (95%).

Questions

How do you calculate standard error?

Divide the sample standard deviation by the square root of the sample size.

What is the difference between SD and SEM?

SD describes how spread out individual values are. SEM describes how precisely the sample mean estimates the population mean, and shrinks as n grows.

Should I report SD or SEM in error bars?

Use SD to show variability in the data and SEM (or a confidence interval) to show precision of the mean. Always say which one you plotted.

How do I get SD from SEM?

Multiply the SEM by √n.

Limitations

References

Related reading

More Statistics

All free tools · By Dr. Zubair Khalid, DVM, MS, PhD.