Standard Deviation Calculator
Calculate sample and population standard deviation, variance, mean, and step-by-step deviations.
Enter a sample mean, standard deviation and size to get the confidence interval with the z or t critical value shown. Free, in your browser.
Loading tool controlsβ¦
Verify it yourself: press F12, open the Network tab, and use this tool β your inputs never leave your browser.
Students, homeowners and small businesses working out money, health or study figures β from mortgages to BMI.
Follow these simple steps to get instant results in your browser.
Type the sample mean, standard deviation and sample size (at least 2).
Choose sample SD (t) or known population SD (z), and 90%, 95% or 99% confidence.
See the lower and upper bounds, critical value, standard error and margin of error.
Confidence Interval Calculator builds the interval for a population mean from a sample: enter the sample mean, standard deviation and sample size, pick a confidence level (90%, 95% or 99%), and it returns the interval with the critical value, standard error and margin of error shown. A sample of 25 with mean 50 and SD 10 gives a 95% interval of 45.87 to 54.13 using the t-distribution.
The tool picks the right distribution for you: z when the population standard deviation is known, t with df = n β 1 when the standard deviation is estimated from the sample (the usual case, and the default for n under 30). For large samples the t critical value converges to z, so the tool switches to the z approximation at df β₯ 30. The page also shows the same sample at all three confidence levels, so the trade-off is visible: higher confidence means a wider interval.
The interpretation is stated carefully on the page, because it is the most commonly misunderstood idea in statistics: a 95% interval means about 95% of intervals built this way over repeated sampling would contain the true mean β not that there is a 95% probability this particular interval contains it.
t with df = n β 1 for a sample SD; z for a known population SD.
90%, 95% or 99%, with the same sample shown at all three.
Critical value, standard error and margin of error, not just the bounds.
States what a confidence interval does and does not mean.
Explains that the margin shrinks with 1 Γ· βn.
The standard error s Γ· βn measures how precisely the sample mean estimates the population mean. Multiplying it by the critical value (1.96 for 95% z; 2.064 for 95% t with 24 df) gives the margin of error, added and subtracted from the mean.
Complementary utilities for your workflow
Confidence interval with z or t critical value shown.
Calculate sample and population standard deviation, variance, mean, and step-by-step deviations.