Standard Error Calculator
Calculate standard error of the mean from raw data or summary statistics. Get confidence intervals, margin of error, and see how sample size affects
Standard Error Calculator
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser โ no data is sent to any server.
Formula: SE = SD / sqrt(n)
Worked example โ SE = 2.546 mmHg | 95% CI: 125.01 - 134.99 mmHg | RSE = 1.96%
Formula
SE = SD / sqrt(n)
Where SE is the standard error of the mean, SD is the sample standard deviation, and n is the sample size. The confidence interval is calculated as CI = mean +/- z * SE, where z is the critical value for the desired confidence level (1.96 for 95%). For the sample standard deviation, Bessel's correction is used: SD = sqrt(Sum(xi - mean)^2 / (n-1)).
Worked Examples
Example 1: Blood Pressure Study
Problem:A sample of 50 patients has a mean systolic BP of 130 mmHg with SD = 18 mmHg. Calculate the SE and 95% confidence interval.
Solution:SE = SD / sqrt(n) = 18 / sqrt(50) = 18 / 7.071 = 2.546 95% CI = mean +/- 1.96 * SE = 130 +/- 1.96 * 2.546 = 130 +/- 4.99 = (125.01, 134.99) Margin of error = 4.99 mmHg
Result:SE = 2.546 mmHg | 95% CI: 125.01 - 134.99 mmHg | RSE = 1.96%
Example 2: Enzyme Activity Measurement
Problem:Enzyme activity measured in 8 replicates: 45, 52, 48, 50, 47, 53, 49, 51 units/mL. Calculate SE and 95% CI.
Solution:Mean = (45+52+48+50+47+53+49+51)/8 = 49.375 SD = sqrt(sum(xi-mean)^2 / (n-1)) = sqrt(49.875/7) = 2.669 SE = 2.669 / sqrt(8) = 2.669 / 2.828 = 0.944 95% CI = 49.375 +/- 1.96 * 0.944 = (47.53, 51.22)
Result:SE = 0.944 units/mL | 95% CI: 47.53 - 51.22 | RSE = 1.91%
Frequently Asked Questions
What is standard error and how is it different from standard deviation?
Standard deviation (SD) measures the spread of individual data points around the mean of a single sample. Standard error (SE) measures the precision of the sample mean as an estimate of the population mean. SE = SD / sqrt(n), so it decreases as sample size increases. Intuitively, SD tells you how variable individual measurements are, while SE tells you how much uncertainty there is in your estimate of the average. For example, if blood pressure readings in a sample have SD = 15 mmHg and n = 100, the SE = 1.5 mmHg, meaning the true population mean is estimated with much more precision than any individual measurement.
How does sample size affect standard error?
Standard error decreases with the square root of sample size: SE = SD / sqrt(n). This means quadrupling your sample size halves the SE. Going from n=25 to n=100 halves the SE, but going from n=100 to n=400 halves it again. This diminishing return means there is a practical limit to how much increasing sample size improves precision. In biological research, this relationship helps determine optimal sample sizes. If SE needs to be reduced by half, you need 4 times as many observations. This is why very precise estimates in fields like genomics require thousands of samples.
What is the relationship between standard error and confidence intervals?
Confidence intervals are constructed using the standard error: CI = mean +/- z * SE, where z depends on the confidence level (1.96 for 95%, 2.576 for 99%). The SE directly determines the width of the confidence interval. A smaller SE (from larger samples or less variable data) produces narrower, more precise confidence intervals. For small samples (n < 30), t-values should be used instead of z-values, which produce slightly wider intervals to account for the additional uncertainty in estimating the population SD from small samples.
When should I report standard error vs standard deviation?
Report SD when describing the variability of individual measurements within your sample. This is appropriate in descriptive statistics and when the reader needs to understand the data distribution. Report SE when making inferences about the population mean, such as in error bars on graphs showing mean comparisons, or when reporting the precision of an estimate. A common convention in biomedical journals is to report mean +/- SD for descriptive purposes and mean +/- SE (or confidence intervals) for inferential statistics. Always clearly label which measure you are using, as confusion between SD and SE is one of the most common statistical errors in published research.
What is relative standard error and when is it useful?
Relative standard error (RSE) expresses the SE as a percentage of the mean: RSE = (SE / mean) * 100. It provides a scale-free measure of precision, making it useful for comparing the reliability of estimates across different measurements or studies. An RSE below 25% is generally considered reliable; 25-50% should be interpreted with caution; above 50% the estimate may be too unreliable to use. Government statistical agencies commonly use RSE thresholds to determine whether to publish estimates. In biology, RSE is useful for comparing measurement precision across different assays, species, or experimental conditions.
How is the standard error of the difference between two means obtained?
For two independent samples the standard errors combine in quadrature: the standard error of the difference is the square root of the first standard error squared plus the second squared. It is therefore always larger than either component, which is why comparing two estimates demands more data than pinning down one. Paired measurements are not independent, so you instead compute one difference per pair and take the standard error of those differences, which is smaller whenever the pairing removes shared variation.
How is the standard error of a proportion calculated?
For a sample proportion p from n independent observations, the standard error is the square root of p times (1-p) divided by n. It is largest when p is 0.5 and shrinks toward zero as p approaches either extreme, which is why surveys near a 50/50 split need the largest samples. The normal approximation behind this expression becomes unreliable when np or n(1-p) is small, roughly under 5 to 10, where exact binomial or Wilson intervals are preferable.
When does the finite population correction change the standard error?
The usual formula assumes sampling with replacement from an effectively infinite population. When you sample a substantial share of a finite population of size N, multiply the standard error by the square root of (N-n)/(N-1). The factor is negligible until the sampling fraction exceeds about 5 percent, and it falls to zero when n equals N, correctly reflecting that a complete census leaves no sampling error in the mean at all.
When should a t critical value be used instead of 1.96?
The z value of 1.96 for a 95 percent interval assumes the population standard deviation is known. In practice it is estimated from the same sample, which adds uncertainty, so the correct multiplier comes from the t distribution with n-1 degrees of freedom. At n of 10 that multiplier is appreciably above 1.96; by n of about 100 the difference is small, and the two converge as n grows. Using z with a small sample produces intervals that are too narrow.
What is the difference between the standard error and the margin of error?
The standard error is the estimated standard deviation of the sampling distribution of the statistic, a property of the data and the sample size alone. The margin of error is the standard error multiplied by a critical value chosen for a confidence level, so it also encodes how much confidence you are demanding. The same standard error yields a smaller margin at 90 percent confidence than at 99 percent, which is why quoting a margin without its confidence level is meaningless.
References
Background & Theory
History
Reviewed for accuracy by Daniel Agrici, Founder & Lead Developer ยท Editorial policy
Related Calculators
๐งฎAlpaca Gestation Calculator
Calculate alpaca gestation with inputs, formulas, and instant results.
๐งฎCat Pregnancy Calculator โ Due Date & Gestation
Calculate cat pregnancy with inputs, formulas, and instant results.
๐งฎCow Gestation Calculator
Calculate cow gestation with inputs, formulas, and instant results.
๐งฎDog Pregnancy Calculator: Due Date by Breed
Calculate dog pregnancy with inputs, formulas, and instant results.
๐งฎGoat Gestation Calculator
Calculate goat gestation with inputs, formulas, and instant results.
๐งฎGuinea Pig Pregnancy Calculator โ Due Date
Calculate guinea pig pregnancy with inputs, formulas, and instant results.
๐งฎLlama Gestation Calculator
Calculate llama gestation with inputs, formulas, and instant results.
๐งฎMare Gestation Calculator
Calculate mare gestation with inputs, formulas, and instant results.