Standard Error of the Mean (SEM) Calculator

This standard error of the mean (SEM) calculator finds the SEM from raw data or from a standard deviation and sample size. You also get a confidence interval and a chart of how the standard error shrinks as the sample grows.

Separate numbers with commas, spaces or new lines.

Checks on your data

  • No outliers beyond 1.5 × IQR and no strong skew detected.

Results

Standard error of the mean (SEM)
0.911006
SD ÷ √n
Mean (x̄)
14.1429
Sample standard deviation (s)
2.4103
Sample size (n)
7
95% margin of error
± 2.22915
t* = 2.4469 with 6 df
95% confidence interval
11.9137 to 16.372
Relative standard error
6.441 %
SEM ÷ |mean|
Standard error shrinks as the sample grows (same SD)
00.511.551015202530n = 7Sample size n
Confidence intervals for the true mean
68%: 13.16 to 15.1395%: 11.91 to 16.3799%: 10.77 to 17.5212141618
SEM at different sample sizes (same standard deviation)
nSEMRelative to current
21.7043187.1 %
70.91101100 %
280.455550 %
1120.2277525 %
Show step-by-step solution
  1. Input taken from raw data: n = 7, s = 2.4103, x̄ = 14.1429.
  2. Standard error: SEM = s ÷ √n = 2.4103 ÷ √7 = 2.4103 ÷ 2.64575 = 0.911006.
  3. Critical value: t* = 2.4469 for 95% confidence with n − 1 = 6 degrees of freedom.
  4. Margin of error = t* × SEM = 2.4469 × 0.911006 = 2.22915.
FormulaSEM = s / √n
MeasuresPrecision of the sample mean
Shrinks withLarger n (by 1/√n)
Not the same asStandard deviation

What Is Standard Error of the Mean?

The standard error of the mean measures how precisely your sample mean estimates the population mean. It is the sample standard deviation divided by the square root of the sample size, so it falls as you collect more data, but only with the square root of n.

Standard error and standard deviation are often confused. The standard deviation describes the spread of individual values; the SEM describes the uncertainty of the mean. Enter raw values or the summary statistics, and the verdict beneath the results explains which one to report.

Below you will find the SEM formula, a variables table, a worked example, the relationship between SEM and confidence intervals, and answers to common questions such as SD versus SEM.

How to Use the Standard Error of the Mean Calculator

  1. Choose raw data or summary statistics.
  2. For raw data, paste your values. For summary mode, enter the sample standard deviation s and the sample size n (the mean is optional but needed for the interval).
  3. Pick a confidence level. 95% is the usual default.
  4. Read the SEM, margin of error and confidence interval. The steps list shows each calculation, including the t critical value used.

Standard Error of the Mean Formula

Standard error of the mean

SEM=snSEM=\frac{s}{\sqrt{n}}

Sample standard deviation

s=∑(xi−xˉ)2n−1s=\sqrt{\frac{\sum (x_i-\bar{x})^2}{n-1}}

Confidence interval for the mean

xˉ±t n−1∗×SEM\bar{x}\pm t^{*}_{\,n-1}\times SEM

t* comes from the t distribution with n − 1 degrees of freedom, so small samples get a wider interval than a z-based shortcut would give.

Standard Error of the Mean Variables Explained

SymbolMeaningNotes
SEMStandard error of the meanSame units as your data
sSample standard deviationDivides by n − 1
nSample sizeNumber of observations
x̄Sample meanThe centre of the confidence interval

Standard Error of the Mean Worked Example

Using the example values (press “Load example” above to try them):

  1. Input taken from raw data: n = 7, s = 2.4103, x̄ = 14.1429.
  2. Standard error: SEM = s ÷ √n = 2.4103 ÷ √7 = 2.4103 ÷ 2.64575 = 0.911006.
  3. Critical value: t* = 2.4469 for 95% confidence with n − 1 = 6 degrees of freedom.
  4. Margin of error = t* × SEM = 2.4469 × 0.911006 = 2.22915.

Result: Standard error of the mean (SEM) = 0.911006; Mean (x̄) = 14.1429.

SEM vs standard deviation: which one should you report?

Standard deviation describes the spread of individual observations. The SEM describes the uncertainty in the estimate of the mean. They answer different questions, and mixing them up is one of the most common errors in published results.

Use the standard deviation when you want to describe your data: how variable are the participants, the measurements or the products? Use the SEM, or better, a confidence interval, when you want to say how precisely you know the mean. Because SEM is always smaller than SD (for n above 1), reporting SEM in place of SD makes data look less variable than they are, which is why many journals discourage it for describing samples.

Standard deviation compared with standard error
Standard deviation (SD)Standard error (SEM)
DescribesSpread of the dataPrecision of the sample mean
FormulaΣ(x − x̄)² / (n − 1), then roots / √n
Changes with nStays about the sameFalls as n grows
Use it toDescribe variabilityBuild confidence intervals and tests
Error bars in chartsShow data spreadShow uncertainty of the mean

How to interpret the standard error

A small SEM means the sample mean is a precise estimate of the population mean. Quadrupling the sample size only halves the SEM because of the square root, so precision gets progressively more expensive. The table under the chart shows this for your own numbers.

As a rough rule, the population mean is within about two standard errors of the sample mean about 95% of the time, which is why 95% intervals are close to x̄ ± 2 × SEM for moderate and large samples. For small samples, use the t critical value this calculator applies, which is noticeably larger than 2 when n is below about 30.

Rough multiples of the SEM and their coverage (large samples)
IntervalCoverageTypical use
x̄ ± 1 SEMabout 68%Error bars in some figures
x̄ ± 1.96 SEM95%Standard confidence interval
x̄ ± 2.58 SEM99%Stricter interval

Assumptions and when the SEM can mislead

  • Observations are independent. Repeated measures on the same subject, or clustered data, make the real standard error larger than s/√n.
  • The sample is random or representative. A large biased sample still gives a precise but wrong mean.
  • The mean is a sensible summary. With heavy skew or outliers the SEM can be inflated and the mean itself may be a poor summary; consider a median and bootstrap interval.
  • For small samples the sampling distribution of the mean is only close to normal if the data are roughly normal.

Where Standard Error of the Mean Is Used

Reporting a mean

Writing results as mean ± SEM when the precision of the mean is what matters.

Building confidence intervals

Using SEM as the building block of an interval for the population mean.

Planning sample size

Seeing how many more observations are needed to reduce the standard error.

Comparing groups

Feeding the standard error into a t-test or z-test.

Common Standard Error of the Mean Mistakes to Avoid

  • Report the SEM together with n so readers can recover the standard deviation (SD = SEM × √n).
  • Prefer a confidence interval to bare SEM bars when comparing groups.
  • If the two groups overlap heavily on SEM bars, that does not by itself prove a non-significant difference; run a proper test.
  • Use the sample standard deviation (n − 1), not the population one, when estimating from a sample.

Standard Error of the Mean Terms and Definitions

Sampling distribution
The distribution of a statistic (here the mean) across many repeated samples.
Degrees of freedom
n − 1 for a single-sample mean; controls the shape of the t distribution.
Margin of error
Half-width of a confidence interval: t* × SEM.

Standard Error of the Mean FAQs

What is the formula for the standard error of the mean?

SEM = s / √n, where s is the sample standard deviation and n is the number of observations.

Is a smaller SEM always better?

A smaller SEM means a more precise estimate of the mean, but it says nothing about bias. A large biased sample can have a tiny SEM and still be wrong.

How do I get the SD back from the SEM?

Multiply the SEM by the square root of the sample size: SD = SEM × √n.

What is the difference between SEM and a confidence interval?

The confidence interval is built from the SEM: it is the mean plus or minus a critical value times the SEM. The interval communicates the uncertainty on a scale people can read directly.

Why does the SEM get smaller with more data?

Averaging more observations cancels more random noise. The SEM decreases in proportion to 1/√n, so you need four times the data to halve it.

Can I calculate SEM with n = 1?

No. With one observation there is no way to estimate the spread, so the sample standard deviation and SEM are undefined.

Should I use the population or sample standard deviation?

Use the sample standard deviation (divide by n − 1) when your data are a sample from a larger population, which is almost always the case.

Related calculators

Last updated 2026-11-09. See our disclaimer.