📊 Statistics Tool — Standard Error

Standard Error Calculator

Calculate the standard error of the mean from a standard deviation and sample size, or from a raw dataset. Includes the SE formula, SD vs SE comparison, and worked examples.

Calculation Mode

The sample standard deviation (not variance).

Must be ≥ 2 for sample statistics.

What is Standard Error?

The standard error (SE) measures how much a sample statistic — usually the sample mean — is expected to vary from the true population value if you were to repeat the study many times. In simple terms, it tells you how precise your sample estimate is. A smaller standard error means your sample mean is a more reliable estimate of the population mean.

Standard error is especially important when you want to build confidence intervals or run hypothesis tests. It is the foundation for determining statistical significance.

Standard Error Formula

For the standard error of the mean (SEM), the formula is:

SE = s / √n

where s is the sample standard deviation and n is the sample size.

If you only have the population standard deviation (σ), you can use SE = σ / √n. However, in practice the population SD is rarely known, so the sample SD is used instead.

Difference Between Standard Deviation and Standard Error

Aspect Standard Deviation (SD) Standard Error (SE)
What it measures Spread of individual data points around the mean Precision of the sample mean as an estimate of the population mean
Formula s = √[Σ(xᵢ − x̄)² / (n − 1)] SE = s / √n
Effect of sample size Stable — does not systematically decrease as n grows Decreases as n increases (÷ √n)
Typical use Describing data variability Confidence intervals, hypothesis testing

In short: SD describes the data; SE describes the estimate. A common mistake is to report SD when SE is needed (or vice versa). Always check which one your audience expects.

Standard Error of the Mean (SEM)

The standard error of the mean is the most common type of standard error. It quantifies how far the sample mean is likely to be from the true population mean. If you were to take many random samples from the same population and calculate the mean of each, the standard deviation of those sample means would be the SEM.

For example, if the SEM is 2.5, it means that if you repeated your study many times, the sample means would typically fall within about ±2.5 units of the true population mean.

Effect of Sample Size

Because the standard error formula divides by the square root of n, increasing your sample size reduces the standard error. However, the relationship is not linear: to cut the SE in half, you need four times the sample size. This diminishing return is a key consideration in study design.

Practical Interpretation

A standard error is often used to construct a confidence interval. For a 95% confidence interval, you would typically use:

CI₉₅ ≈ x̄ ± 1.96 × SE

So if your sample mean is 50 and SE is 2, the 95% CI is roughly 50 ± 3.92, or (46.08, 53.92). This interval is likely to contain the true population mean.

Common Mistakes

Worked Examples

Example 1: Using SD and Sample Size

Suppose a sample of 25 students has a standard deviation of 10 points on a test. The standard error is:

SE = 10 / √25 = 10 / 5 = 2.0

The sample mean is estimated to be within about ±2 points of the true population mean.

Example 2: Using a Raw Dataset

Dataset: 12, 15, 18, 22, 25, 30, 35, 40, 45, 50

So the standard error of the mean is approximately 4.17. A 95% CI would be roughly 29.2 ± 1.96 × 4.17 ≈ (21.0, 37.4).

Example 3: Effect of Sample Size

If s = 20 for both samples:

As you can see, quadrupling the sample size halves the standard error.

Frequently Asked Questions

What is the standard error formula? ▼

For the mean, the standard error formula is SE = s / √n, where s is the sample standard deviation and n is the sample size. If the population standard deviation (σ) is known, you would use SE = σ / √n.

What is the difference between standard deviation and standard error? ▼

Standard deviation measures how spread out individual data points are around the mean. Standard error measures how precisely the sample mean estimates the population mean. SD describes the data; SE describes the estimate. SE is always smaller than SD (for n > 1) and decreases as sample size grows.

How do I calculate standard error from a dataset? ▼

First compute the sample standard deviation (s) using the n−1 denominator, then divide by the square root of the sample size: SE = s / √n. Our calculator does both steps automatically when you enter a raw dataset.

Can standard error be negative? ▼

No. Standard error is a standard deviation of a sampling distribution, so it is always zero or positive. A value of zero would only occur if all sample means were identical, which is practically impossible with real data.

What sample size do I need for a small standard error? ▼

There is no universal answer — it depends on the variability of your data and the precision you need. Because SE decreases with √n, you need to quadruple the sample size to halve the SE. Use our calculator to experiment with different n values.

What is the standard error of the mean used for? ▼

The standard error of the mean (SEM) is used to construct confidence intervals, perform t-tests, and express the precision of a sample mean. It appears frequently in scientific papers, medical research, and social science reports.

When should I use the population SD instead of the sample SD? ▼

Use the population SD (σ) only when you genuinely have data for the entire population, which is rare. In almost all real-world situations, you have a sample, so the sample SD (s) with n−1 denominator is the correct choice.

Does standard error apply to statistics other than the mean? ▼

Yes. Proportions, regression coefficients, correlation coefficients, and many other statistics have their own standard error formulas. The formula SE = s / √n applies specifically to the sample mean.

Related statistics tools

Explore more calculators from our math and statistics collection.

📊

Standard Deviation Calculator

Compute sample and population standard deviation from raw data.

📈

Percentile from Mean & SD

Find the percentile rank given a mean and standard deviation.

🔢

Population Standard Deviation

Calculate σ when you have the entire population dataset.