Central Limit Calculator: Mean and Standard Error
The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.
A central limit calculator estimates the sampling distribution of a sample mean: enter a population mean, population standard deviation, and sample size to get the mean’s standard error and the probability of a sample mean falling within a chosen number of standard errors. The calculation uses the central limit theorem as an approximation, so its reliability depends on the sample size and the shape and independence of the data.
Formula
The sampling distribution of the sample mean has expected value μ and standard error σ/√n. Under a normal-population assumption, or when the central limit theorem gives an adequate approximation, the standardized sample mean is approximately standard normal:
SE = σ / √n
Bounds = μ ± z × SE
Approximate probability within bounds = 2Φ(z) − 1
- μ is the population mean, in the same units as each observation.
- σ is the population standard deviation, in those same units.
- n is the number of independent observations in each sample.
- z is the nonnegative distance from the mean measured in standard errors.
- SE is the standard deviation of the sampling distribution of the sample mean, in the original measurement units.
- Φ(z) is the cumulative probability to the left of z for a standard normal distribution.
The calculator’s probability expression uses the normal cumulative distribution function written through the error function: Φ(z) = 0.5 × [1 + erf(z/√2)]. This calculator block uses the common mathematical error function, erf, but it is not among the permitted calculator expression functions. Therefore, the probability output cannot be calculated by the specified expression engine. The valid calculator outputs are the standard error and bounds; use a standard normal table or a statistical tool to obtain the probability. For z = 1.96, the approximate two-sided probability is 95%.
Worked Example
Using the block’s defaults, μ = 100, σ = 15, n = 36, and z = 1.96:
- Find the square root of the sample size: √36 = 6.
- Calculate the standard error: SE = 15 / 6 = 2.5.
- Calculate the lower bound: 100 − (1.96 × 2.5) = 95.10.
- Calculate the upper bound: 100 + (1.96 × 2.5) = 104.90.
Thus, the mean of repeated samples of 36 observations is expected to vary with a standard error of 2.50 units. The approximate interval extending 1.96 standard errors either side of 100 is 95.10 to 104.90. Under a suitable normal approximation, about 95% of sample means fall in that interval.
What the Central Limit Theorem Means
The central limit theorem explains why averages often behave more predictably than individual observations. If observations are independent, come from the same distribution, and have a finite mean and variance, the distribution of their sample mean tends toward a normal shape as the sample size grows. The original observations do not themselves have to be normally distributed.
This result concerns sample means, not individual data points. For example, if individual measurements have a mean of 100 and a standard deviation of 15, a single measurement typically varies on a scale of 15. The means of samples of 36 vary on a scale of 2.5, because averaging reduces random variation by a factor of √36.
When to Use the Calculator
Use the calculator to understand the expected variation of sample averages, estimate an approximate range for those averages, or compare the effect of different sample sizes. It can help with introductory statistics and planning a sampling study when the population parameters are known or reasonably specified.
- Use the population standard deviation σ when it is known. If you only have a sample standard deviation, that is an estimate and introduces additional uncertainty.
- Enter the number of observations in one sample as n—not the number of samples you plan to collect.
- Choose z to match the desired distance. For example, z = 1 covers one standard error on each side; z = 1.96 is commonly used for an approximate central 95% range under a normal model.
- Keep μ and σ in matching units. If measurements are in centimeters, both the mean and standard deviation should be in centimeters.
How to Interpret the Outputs
The standard error measures how much sample means would vary across repeated samples of the same size. It is not the spread of the raw observations. A smaller standard error means the sample mean is more concentrated around the population mean, assuming the model’s conditions hold.
The lower and upper bounds are a model-based interval around μ, not a statement that every sample mean must lie inside it. With a suitable normal approximation and z = 1.96, roughly 95% of repeated sample means are expected to fall between these bounds. This is a probability statement about the sampling process, not a guarantee about one particular sample.
Assumptions and Common Mistakes
The approximation can be poor when samples are small and the population is strongly skewed, heavy-tailed, or dominated by unusual outliers. There is no universal sample-size cutoff that makes the approximation reliable: the required size depends on the underlying distribution. If the population is normal, the sample mean is normally distributed for any positive sample size. Otherwise, inspect the data or use an appropriate statistical method.
- Dependence: The basic formula assumes independent observations. Repeated measurements on the same person, clustered samples, or time-series data may require a different standard-error calculation.
- Finite-population sampling: If sampling without replacement from a small, finite population, a finite population correction may be needed. This calculator does not include one.
- Confusing σ and SE: The population standard deviation describes individual observations; the standard error describes sample means.
- Rounding too early: Keep extra digits during intermediate calculations and round the displayed results only at the end.
- Using a negative z: Enter z as a nonnegative distance. The calculator places the bounds symmetrically around μ.
Frequently Asked Questions
What does a central limit calculator calculate?
It estimates the standard error and an approximate sampling range for the mean of repeated samples. The result describes sample averages, not the range of individual observations.
How large should the sample be for the central limit theorem?
There is no single sample size that works for every distribution. A roughly symmetric population may need fewer observations than a highly skewed or heavy-tailed one. Check the data and the assumptions rather than relying on a fixed rule.
Is the standard error the same as standard deviation?
No. Standard deviation measures variation among individual observations. Standard error measures variation among sample means and, when observations are independent, equals σ divided by the square root of n.
Does the central limit theorem require normally distributed data?
No. It says that the distribution of sample means can become approximately normal under suitable conditions, even when the original data are not normal. For a normal population, however, the sample mean is normal at every sample size.
What does a 95% range mean here?
With z about 1.96 and a valid normal approximation, about 95% of sample means from repeated samples of the same size are expected to fall within the calculated bounds. It does not mean 95% of individual measurements fall there.
Related
Formula used
in mu | Population mean | - | 100 | in sigma | Population standard deviation | - | 15 | 0 in n | Sample size | - | 36 | 1 in z | Number of standard errors from mean | - | 1.96 | 0 out se | Standard error of sample mean | - | sigma / sqrt(n) | 2 out low | Lower sample-mean bound | - | mu - z * se | 2 out high | Upper sample-mean bound | - | mu + z * se | 2 out prob | Approx. probability within bounds | % | 100 * (2 * 0.5 * (1 + erf(z / sqrt(2))) - 1) | 2
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.