Calculate standard deviation and percentiles
Paste a list of observations into Dataset. When copying a spreadsheet column, put one value per line to preserve thousands separators. For an ungrouped list, separate values with spaces or semicolons. Keep the minus sign for negative values. Choose Sample or Population, then enter a percentile between 0 and 100.
For example, enter the five values 2, 4, 6, 8, and 10. The mean and median are both 6. The sample variance is 10 and the sample standard deviation is about 3.1623. With Population selected, the variance is 8 and the standard deviation is about 2.8284. The 90th percentile is 9.2 in both cases.
Sample vs. population standard deviation
Standard deviation measures the spread around the mean in the same units as the original data. Variance is standard deviation squared. To get population variance, divide the sum of squared deviations by the number of values, n. To estimate the population variance from a sample, divide by n − 1. Standard deviation is the square root of the variance. A single observation has population standard deviation zero. Sample standard deviation needs at least two observations.
How the percentile is calculated
The calculator sorts the values and finds the zero-based position (n − 1) × p/100, where p is the requested percentile. If the position falls between two values, it uses linear interpolation. In the example, the 90th percentile is at position 3.6, which lies 60% of the way from 8 to 10. This gives 9.2. The minimum, median, and maximum are the 0th, 50th, and 100th percentiles. Other percentile methods can give a different answer, especially for small datasets.