Statistics Problems Solved Step by Step
Paste a data set or describe a probability question. The working shows each deviation, the sums, and whether the sample or population formula is used.
Worked example
Find the mean and sample standard deviation of 12, 15, 11, 19, 15, 22
- Mean. The sum is 94, and 94 ÷ 6 = 15.67
- Squared deviations. 13.44, 0.44, 21.78, 11.11, 0.44 and 40.11, which add to 87.33
- Sample variance. Divide by n − 1: 87.33 ÷ 5 = 17.47
- Standard deviation. √17.47 = 4.18
Answer: Mean ≈ 15.67, sample standard deviation ≈ 4.18
This example is written out in full. Enter your own problem above and the solver sets out the working the same way.
Where it's used
Statistics turns data into decisions: summarising survey and experiment results, quality control, comparing two versions in an A/B test, estimating uncertainty, and assessing risk.
How to do it by hand
Find the mean
Add the values and divide by how many there are.
Compute squared deviations
Subtract the mean from each value and square the result.
Average them
Divide the sum of squares by n for a population or n − 1 for a sample. That is the variance.
Take the square root
The standard deviation is the square root of the variance, in the same units as the data.
Common mistakes
- Using n when the data is a sample and n − 1 is required.
- Forgetting to sort the data before finding the median.
- Rounding the mean too early and carrying the error forward.
Questions about statistics
Sample or population standard deviation?
Use the sample formula (n − 1) when the data is a subset of a larger group, and the population formula (n) when you have every value.
Does it do probability distributions?
Yes. Binomial, normal and other common distributions are supported, with the formula and substitution shown.
How is a confidence interval calculated?
For a mean: sample mean ± critical value × standard error. With a large sample, a 95% interval is the mean ± 1.96 × (standard deviation ÷ √n).
What does a p-value mean?
The probability of seeing a result at least as extreme as yours if the null hypothesis were true. A small value is evidence against the null hypothesis; it is not the probability that the hypothesis is true.
Does correlation show that one thing causes another?
No. Two variables can move together because of a third factor, or by coincidence. Establishing cause needs a controlled experiment or careful study design.
Instant calculators for statistics
No AI and no limits: answers as you type.