Standard Error Calculator

Reviewed by CalcMulti Editorial Team·Last updated: ·Statistics Hub

The standard error of the mean (SEM) measures how precisely a sample mean estimates the true population mean. Smaller SEM means more precise estimation. SEM decreases as sample size increases — doubling the sample size reduces SEM by about 29% (√2 factor).

This calculator computes SEM from raw data or from summary statistics (mean, SD, n), and outputs 95% and 99% confidence intervals for the population mean.

Formula

SE = s / √n 95% CI: x̄ ± 1.96 × SE 99% CI: x̄ ± 2.576 × SE

SE
standard error of the mean
s
sample standard deviation
n
sample size
1.96 / 2.576
z-scores for 95% / 99% confidence levels

SE vs SD — Key Differences

PropertyStandard Deviation (SD)Standard Error (SE)
What it measuresSpread of individual data pointsPrecision of the sample mean
Formulas = √[Σ(x−x̄)²/(n−1)]SE = s / √n
Effect of larger nStabilises around true population SDDecreases (more precise estimate)
Used forDescribing data variabilityConfidence intervals, hypothesis tests
Report whenDescribing the dataset itselfReporting group means, error bars

Effect of Sample Size on SE

With SD = 10 fixed, increasing n reduces SE (and narrows confidence intervals):

nSE95% CI widthReduction vs n=25
252.000±7.840
501.414±5.539−29%
1001.000±3.920−50%
2000.707±2.769−65%
4000.500±1.960−75%
10000.316±1.238−84%

Common Mistakes

Reporting SD when you mean SE (or vice versa)

Always state explicitly which you are reporting. SD error bars make groups look more variable; SE error bars make groups look more precise. In papers, label all error bars as ±SD, ±SE, or ±95% CI.

Using z-scores for small samples

For n < 30, the 95% CI requires a t-distribution critical value (e.g., t = 2.262 for n = 10), not z = 1.96. Using 1.96 for small samples produces intervals that are too narrow.

Thinking SE describes individual data spread

SE is about the precision of the mean estimate, not individual variation. A very precise mean (small SE) can still coexist with high individual variability (large SD).

SE vs SD vs 95% CI — What to Report?

ContextReport SDReport SEReport 95% CI
Describing individual data spread
Reporting precision of a group mean✓ Preferred
Error bars on chartsShows variabilityShows precision✓ Most informative
Clinical or policy decisions✓ Required
Small sample (n < 30)Report SD✓ Use t-critical value
Meta-analysis inputs

Case Study: Evaluating an Antihypertensive Drug — Why Sample Size Defines Confidence

A medical researcher ran a trial of an antihypertensive drug in n = 84 patients. Mean blood pressure reduction was 12.4 mmHg, with SD = 8.7 mmHg. The standard error was SE = 8.7 / √84 = 0.95 mmHg, and the 95% CI was [10.5, 14.3] mmHg.

The clinical threshold for a meaningful effect was a reduction greater than 5 mmHg. The lower bound of the CI (10.5 mmHg) was well above this threshold, so the team could confidently conclude the drug worked in the population — not just in this sample.

Running the same numbers with n = 20 gives SE = 1.94 and a 95% CI of [8.5, 16.3] mmHg. The interval is 4× wider and barely clears the 5 mmHg threshold — not enough precision to make a regulatory claim. This is why sample size planning and SE calculation are inseparable steps in clinical trial design.

Disclaimer

Confidence intervals use z-scores (1.96/2.576) and are appropriate for large samples (n ≥ 30). For small samples, use the t-distribution. These calculations assume simple random sampling.

Frequently Asked Questions