Standard Deviation of Sample Mean Calculator (SEM)

Calculate the standard error of the mean (SEM) from raw sample data — enter your numbers to get sample size, mean, SD, variance, and SEM in one step.

Enter a list of numbers separated by commas. The calculator computes the sample standard deviation, variance, mean, and the standard error of the mean (SEM = s / √n).

Standard Deviation of Sample Mean Calculator (SEM)
Calculate the standard error of the mean (SEM) from raw sample data — enter your numbers to get sample size, mean, SD, variance, and SEM in one step.

Enter numbers separated by commas or spaces

About the Standard Deviation of Sample Mean Calculator

The standard deviation of the sample mean — more commonly called the standard error of the mean (SEM) — is a fundamental statistic that quantifies how precisely the sample mean estimates the true population mean. Whereas the sample standard deviation (s) describes the spread of individual observations within the sample, the SEM describes the spread of the sample mean itself across all possible samples of the same size from the same population. The formula is simple and powerful: SEM = s / √n, where s is the sample standard deviation and n is the number of observations. Because √n appears in the denominator, the SEM decreases as the sample size increases. Doubling n reduces SEM by a factor of √2 ≈ 1.41. Quadrupling n halves SEM. This relationship explains why larger studies produce more precise estimates and why researchers calculate the minimum sample size needed to achieve a target level of precision before collecting data. The SEM is the building block of confidence intervals. A 95% confidence interval for the population mean is approximately x̄ ± 1.96 × SEM for large samples (using the z-distribution) or x̄ ± t × SEM for small samples (using the appropriate t-distribution with n−1 degrees of freedom). Reporting SEM alongside the mean in tables and figures communicates the precision of the estimate — a small SEM means the sample mean is a tight estimate of the population mean, while a large SEM means the estimate carries substantial uncertainty. This calculator uses the sample standard deviation (with Bessel's correction, dividing by n−1) rather than the population standard deviation (dividing by n), because in practice you are almost always working with a sample rather than the complete population. The resulting SEM is the unbiased estimator of the standard deviation of the sampling distribution of the mean. Practical applications are widespread. In clinical trials, the SEM reported alongside each group's mean allows readers to judge whether any difference between groups is larger than would be expected from sampling variability alone. In quality control, repeated measurements of the same product are used to compute SEM and verify that the production process is stable. In survey research, SEM informs the margin of error on reported averages. In psychology and social science, SEM bars on bar charts show whether apparent differences between conditions are statistically meaningful. Any time you report a mean and need to convey its reliability, SEM is the right companion statistic.

Standard error of the mean examples

Four sample datasets across different domains — each shows how SEM relates to sample size and spread.

DataSEMContext
85, 92, 78, 88, 90SEM ≈ 2.4413Classroom test scores (n=5). SD ≈ 5.46, mean = 86.6. The SEM shows the mean estimate has ±2.4 point precision.
5.01, 4.98, 5.03, 4.99, 5.00SEM ≈ 0.0086Ball bearing diameters in mm (n=5). Tiny SEM reflects very tight manufacturing consistency.
150.50, 155.25, 148.75, 152.00, 158.50SEM ≈ 1.7410Stock closing prices over a week (n=5). SEM of $1.74 indicates the weekly mean has moderate uncertainty.
-2, 3, 1, -1, 4, 0SEM ≈ 0.9458Temperature deviations from baseline (n=6). Works correctly with negative values; mean = 0.833°C.

How to use the SEM calculator

  1. Enter your sample data as comma-separated numbers in the input field — include all observations from your sample.
  2. Click Calculate. The tool instantly computes sample size, mean, sample SD, sample variance, and SEM.
  3. Read the SEM value — it is the standard deviation of the sample mean and equals s / √n.
  4. Use the SEM to construct a confidence interval: multiply it by the appropriate t-value or z-value for your desired confidence level.
  5. Click an example button to load a pre-built dataset, or click Reset to clear all values and start fresh.

Standard error of the mean FAQ

What is the difference between SD and SEM?
The sample standard deviation (SD or s) measures how spread out the individual data points are within your sample. The standard error of the mean (SEM) measures how precisely the sample mean estimates the true population mean — it equals SD divided by the square root of n. SD does not shrink with more data; SEM does. Reporting SD describes the variability of the data itself; reporting SEM describes the precision of the mean estimate.
When should I report SEM vs SD in tables and figures?
Report SD when you want to describe the variability or spread of individual measurements in your sample — for example, the range of patient ages in a study. Report SEM when you want to communicate the precision of a mean estimate — for example, error bars on a bar chart comparing treatment group means. Many scientific journals require authors to specify which they are reporting because the two convey very different information.
Why does SEM decrease as sample size increases?
Because SEM = s / √n, increasing n makes the denominator larger, so SEM shrinks. Intuitively, a larger sample contains more information about the population, and repeated samples of size n will produce means that cluster more tightly around the true population mean. This is the quantitative expression of 'more data = more certainty.'
Can I use SEM to test for statistical significance?
Directly, no — but it is the key ingredient in significance testing. A t-statistic is computed as (x̄ − μ₀) / SEM, and a two-sample comparison uses the SEMs of both groups to compute the standard error of the difference. Any statistical test that compares means relies on SEM internally. However, the p-value calculation also requires a specific null hypothesis and the choice of test, which go beyond what SEM alone provides.
What should I do if my SEM is very large?
A large SEM relative to the mean usually means either the sample size is very small, the data is highly variable (large SD), or both. Consider collecting more data to reduce SEM. If increasing n is not feasible, report the SEM alongside the exact sample size so readers can judge precision, and consider reporting confidence intervals to make the uncertainty explicit. You might also investigate whether any outliers are inflating the SD.