Standard Deviation Calculator: what the result means
Calculate sample or population standard deviation, showing the mean, squared-deviation sum and chosen divisor.
Choose inputs and convention
Select Sample (n − 1) or Population (n) explicitly. Standard deviation uses the same units as your observations. Paste observations into Numeric observations, separated by commas, whitespace or newlines. Keep repeated observations; they contribute to the calculation. Choose Calculate, or load the example to replace the current inputs with the case below.
Worked example
The sample 2, 4, 4, 4, 5, 5, 7, 9 has mean 5. Population standard deviation is 2; sample standard deviation is √(32/7), approximately 2.1380899353.
Calculation rule
Standard deviation is the square root of variance. This tool divides the squared-deviation sum by n for population or n − 1 for sample before taking the square root. The sample setting is conventional sample standard deviation; it is not an unbiased estimator of population standard deviation itself.
Interpretation and limitations
Do not interpret standard deviation as a guaranteed interval or apply a 68–95–99.7 rule without considering the distribution. It is also not standard error of the mean. One observation is allowed only in population mode, where the spread is zero.
Numeric bounds and precision
The implementation shifts observations around the first value before centering and summing squared deviations. Compensated summation reduces accumulation error, especially when values share a large offset. It cannot recover digits already lost when decimal text is converted to floating-point numbers. Calculated values are shown to 12 significant digits. Inputs may include signs, decimal points or exponent notation such as 1e3, but not unit suffixes or thousands separators. Up to 1,000 observations and 100,000 characters are accepted; absolute values must be at most 1e12 and nonzero magnitudes at least 1e-12. Zero is valid. Empty comma fields are rejected rather than silently converted to zero.
Editing an input or option clears the previous answer. Copy results copies the displayed summary with its sample/population convention; calculate again after edits.
Use Variance Calculator to inspect the squared-unit measure underlying standard deviation.





