This calculator computes the standard error of the mean (SEM) from your sample standard deviation and sample size. Enter the sample standard deviation (s) and the number of observations (n), and you get the SEM, which tells you how far the sample mean is likely to be from the true population mean.
Formula
The standard error of the mean is calculated as:
SEM = s / √n
- s = sample standard deviation (a measure of spread in your data, same units as the data)
- n = sample size (number of observations)
- SEM = standard error of the mean (same units as the data)
The formula assumes your sample is randomly drawn from a larger population and that observations are independent. It is the standard deviation of the sampling distribution of the mean—if you took many samples of size n and computed each mean, the standard deviation of those means would be approximately SEM.
Worked Example
Using the default values: s = 10, n = 30.
- Take the square root of n: √30 ≈ 5.4772
- Divide s by that result: 10 / 5.4772 ≈ 1.8257
- So SEM ≈ 1.8257
The calculator gives 1.8257, matching the manual calculation. This means if you repeated your experiment many times with samples of 30, the sample means would typically vary by about 1.83 units around the true population mean.
What Is the Standard Error of the Mean?
The standard error of the mean quantifies the precision of your sample mean as an estimate of the population mean. A smaller SEM indicates a more precise estimate. It is not the same as the standard deviation, which describes the spread of individual data points. SEM describes the spread of sample means.
For example, if you measure the heights of 30 randomly selected adults and get a standard deviation of 10 cm, the SEM is 1.83 cm. This means the average height you measured is likely within about 1.83 cm of the true average height of the entire adult population (assuming no bias).
How to Choose the Right Standard Deviation
The SEM formula requires the sample standard deviation, not the population standard deviation. In most real-world situations, you don’t know the population standard deviation, so you estimate it from your sample using the formula with n-1 in the denominator (Bessel’s correction).
- If you have raw data, calculate the sample standard deviation (s) using your calculator or software.
- If you only have the population standard deviation (σ) and you’re somehow certain of it, you can use σ in place of s, but that’s rare.
- If you have the variance, take its square root to get the standard deviation.
Using the wrong standard deviation is a common error. Always check whether the number you have is the standard deviation or the variance. If it’s the variance, take the square root first.
Common Mistakes and Misconceptions
One frequent mistake is confusing SEM with standard deviation. They are related but answer different questions. Standard deviation tells you how much individual data points vary; SEM tells you how much the sample mean varies.
Another mistake is using the wrong sample size. The n in the formula is the number of independent observations, not the number of repeated measurements of the same subject. If you measure the same person 10 times, those 10 measurements are not independent, and using n=10 would underestimate the true SEM.
Rounding too early can also cause errors. Keep at least three significant figures during intermediate steps, and round only the final result. The calculator uses full precision internally and rounds to 4 decimal places for display.
When to Use SEM vs. Standard Deviation
Use the standard deviation when you want to describe the variability of your data—for example, in a scatter plot or when reporting the spread of individual scores. Use the SEM when you want to indicate how confident you are in the sample mean as an estimate of the population mean—for example, when plotting error bars on a bar chart of group means.
Some fields have conventions: experimental psychology often uses SEM for error bars, while biology often uses standard deviation. The choice depends on your audience and what you want to emphasize.
Limitations of the Formula
The SEM formula relies on several assumptions:
- Random sampling: your sample must be representative of the population.
- Independence: observations must not influence each other.
- No extreme outliers: a single outlier can inflate the standard deviation and thus the SEM.
For small sample sizes (n < 30), the SEM is still valid, but the sampling distribution of the mean may not be normal unless the underlying population is roughly normal. In that case, use the t-distribution when constructing confidence intervals, not the normal distribution.
Also, the SEM formula assumes you know the standard deviation from the sample. If you have the population standard deviation, the interpretation changes slightly, but the arithmetic is the same.
Frequently Asked Questions
What is the difference between standard error and standard deviation?
Standard deviation measures the spread of individual data points around the mean. Standard error measures the spread of sample means around the population mean. The SEM is always smaller than the standard deviation (unless n=1), because averaging reduces variability.
Can the standard error be zero?
Yes, if the standard deviation is zero (all values identical) or if the sample size is infinite. In practice, a zero SEM means your sample mean is exactly the population mean, which is virtually impossible with real data.
How do I calculate SEM from raw data?
First, compute the sample standard deviation (s) using the formula with n-1 in the denominator. Then divide s by the square root of n. Most statistical software and many calculators can do this in one step.
Is SEM the same as the margin of error?
No. The margin of error for a confidence interval is the SEM multiplied by a critical value (e.g., 1.96 for a 95% confidence interval using the normal distribution). The SEM itself is just the standard deviation of the sampling distribution.
What is a good standard error?
A “good” SEM depends on your field and the precision you need. As a rule of thumb, the smaller the SEM relative to the mean, the more precise your estimate. For example, a SEM that is 5% of the mean is generally considered precise, but this varies.
Does sample size affect SEM?
Yes, because SEM = s/√n, increasing n decreases SEM. Quadrupling the sample size halves the SEM, assuming the standard deviation stays the same. This is why larger samples give more precise estimates.
Related
Formula used
in s | Sample standard deviation (s) | - | 10 | 0 | 1000000 in n | Sample size (n) | - | 30 | 1 | 1000000 out sem | Standard error of the mean | - | s / sqrt(n) | 4 out variance | Variance of the mean | - | (s^2) / n | 4
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More cards in this drawer
- Measuring Light Speed & Wavelength: How It Works
- Draco Race Blox Fruits: How to Get It
- Remove Google FRP Lock on Oppo: Step-by-Step
- Forza Horizon 6: Unlock Legend Island & Earn Horizon Legend
- Clean Hair Dryer Filter: Improve Airflow
- How to Automatically Create a Table of Contents