Central Limit Theorem Calculator
Compute the standard error of a sample mean and its normal tail probabilities, with the accuracy of the approximation stated.
Central Limit Theorem Calculator
Compute the standard error of a sample mean and its normal tail probabilities, with the accuracy of the approximation stated.
How this page computes
The standard error is σ/√n, computed directly, and the variance of the mean is its square. A z value is the distance of the threshold from the mean in standard errors.
The tail probability comes from the error function approximation φ(z) = 0.5(1 + erf(z/√2)). The two-sided probability doubles the upper tail at the absolute z.
The calculation runs entirely in this browser tab; nothing is uploaded.
However the population is shaped, the mean of a sample of size n has mean μ and standard error σ/√n, and for large n it is close to normal. With μ = 100, σ = 15 and n = 36 the standard error is 2.5, so a sample mean of 103 is 1.2 standard errors out.
The page prints the sampling mean, the standard error, the z value, and the three tail probabilities around it. It also says whether the sample size is inside the usual n ≥ 30 rule of thumb, because the approximation is the claim being made.
How to use Central Limit Theorem Calculator
Enter the population mean and standard deviation, the sample size and, optionally, a sample mean to compare, then press Run. The standard deviation must be above zero and the sample size a whole number of at least 1.
Above the first four lines the page adds z, P(mean ≤ x), P(mean ≥ x) and the two-sided probability when a threshold is given, then the accuracy note and the rule-of-thumb note.
Why only the standard error changes
A sample mean is an average of independent draws, so its expectation is the population mean and its variance is the population variance divided by n. The shape of the population does not enter either fact — that is why the standard error is σ/√n for every distribution.
The normal approximation is the second half of the theorem: the standardised sample mean tends to a standard normal as n grows. The page computes the tail with the error function, whose approximation has absolute error below 1.5e-7, so probabilities are printed to six decimals and no further.
What to Expect
Best for
- The standard error of a sample mean
- A z value and tail probability for a sample mean
- Seeing how fast the standard error falls with n
Not ideal for
- Small samples from a skewed population, where the normal approximation is weak
- The distribution of a single observation, which is the population itself
- A confidence interval with a t correction, which this page does not apply
What this tool keeps
- Every input exactly as typed
What may need cleanup
- Nothing: the standard error is exact given sigma and n
Common errors
- A standard deviation at or below zero is refused
- A non-integer sample size is refused
- A sample size below 1 is refused
Example use cases
- Find the standard error for sigma 15 and n 36
- Get the z value for a sample mean of 103
- Compare the standard error at n = 9 and n = 36
Sample input
mean 100, sigma 15, n 36, threshold 103
Sample output
standard error 2.5, z 1.2, P(mean <= 103) = 0.884930
Who this is for
- Students meeting the central limit theorem
- Readers checking a z score
Frequently asked questions
Why is the standard error smaller than the standard deviation?
Because an average of many draws varies less than a single draw: the variance divides by n, so the standard deviation divides by the square root of n. At n = 36 the spread is six times smaller.
Does the population have to be normal?
No, and that is the theorem. The sampling distribution approaches normal as n grows whatever the population shape, though a very skewed population needs a larger n before the approximation is good.
How accurate is the probability?
The normal tail uses Abramowitz and Stegun 7.1.26, whose absolute error is below 1.5e-7. That is why the probability is printed to six decimals: printing more digits would claim precision the method does not have.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.