Math & Statistics · Browser · Free
Standard Deviation Calculator
Calculate population and sample standard deviation from data values, or use the discrete random variable table with data number and probability rows. Empty data calculates with 1, 3, 5, rows can be added on demand, and full step-by-step formulas are displayed.
Two modes in one form
Pick Population and sample standard deviation to work from a list of data values delimited by commas or spaces. If the data box is left empty, the calculator uses the default values 1, 3, 5. Pressing Calculate returns the population standard deviation, sample standard deviation, population variance, sample variance and mean.
Pick Discrete random variable standard deviation to enter each data number and its probability or weight into a two-column table. Start with three rows and click + Add row to add more values. Pressing Calculate displays the standard deviation, variance, mean and step-by-step formula.
The form computes only when the button is pressed. Results appear in cards below the button. Copy writes a result and its unit to the clipboard. Reset clears the form. Everything runs in the browser and nothing is uploaded.
Reading the results and calculation steps
Entering 3, 2, 9, 4 returns a population standard deviation of 2.69258240356725, a sample standard deviation of 3.10912635102961, a population variance of 7.25, a sample variance of 9.66666666666667 and a mean of 4.5.
Results include section headings and calculation steps for both whole population and sampled data calculations. For discrete random variables, the steps box prints the exact formula: μ = (w1×x1+...) / (w1+...) and σ = √( (w1×(x1-μ)²+...) / (w1+...) ).
The formula
The tool reports the standard deviation (σ) as the square root of the variance, which is how the worked example for the data values 1, 3, 5 reads: σ = √(2.66666666666667) ≈ 1.63299316185545.
The discrete mode follows the same relation. With data values 1, 2, 3 and probabilities 0.2, 0.5, 0.3 it shows σ = √(0.49) = 0.7, alongside a variance of 0.49 and a mean of 2.1.
| Input | Result |
|---|---|
| Data values: 1, 3, 5 | Population standard deviation: 1.63299316185545; Sample standard deviation: 2; Population variance: 2.66666666666667; Sample variance: 4; Mean: 3 |
| Data values: 3, 2, 9, 4 | Population standard deviation: 2.69258240356725; Sample standard deviation: 3.10912635102961; Population variance: 7.25; Sample variance: 9.66666666666667; Mean: 4.5 |
| Mode: Discrete random variable standard deviation, Data values: 1, 2, 3, Probabilities / weights (discrete mode): 0.2, 0.5, 0.3 | Standard deviation: 0.7; Variance: 0.49; Mean: 2.1 |
| Mode: Population and sample standard deviation, Data values: 1, 2, 3, Probabilities / weights (discrete mode): 0.2, 0.5, 0.3 | Population standard deviation: 0.816496580927726; Sample standard deviation: 1; Population variance: 0.666666666666667; Sample variance: 1; Mean: 2 |
| Mode: Population and sample standard deviation, Data values: 1e200, 2e200, 4e200 | Population standard deviation: 124721912892465000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000; Sample standard deviation: 152752523165195000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000; Population variance: 15555555555555600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000; Sample variance: 23333333333333300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000; Mean: 233333333333333000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 |
| Mode: Population and sample standard deviation, Data values: 5 | Population standard deviation: 0; Sample standard deviation: n/a; Population variance: 0; Sample variance: n/a; Mean: 5 |