Enter Your Dataset
Type or paste numbers separated by commas, spaces, or new lines. Results update in real time.
Enter at least 2 numbers to see results.
Step-by-step solver for variance and standard deviation. Paste any dataset for an instant, fully explained breakdown.
Type or paste numbers separated by commas, spaces, or new lines. Results update in real time.
Enter at least 2 numbers to see results.
Standard deviation is one of the most important and widely used concepts in statistics. It answers a simple question: how much do the values in a dataset vary around the average? Whether you are a student working through a homework problem, a researcher reviewing experimental results, or an analyst comparing survey responses, understanding this number gives you critical insight into the consistency and reliability of your data. This calculator shows every step of the math so nothing is hidden.
Paste or type your numbers into the text box at the top of the page. The calculator accepts commas, spaces, or line breaks as separators, so you can paste directly from a spreadsheet column, a CSV file, or a plain text document without any cleanup. Results and the step-by-step table update instantly as you type. Use the Sample / Population toggle to choose the correct formula for your situation. If you are unsure, Sample is almost always the right choice for real-world datasets where you collected observations from a broader group.
Step 1 is finding the mean. Sum all values and divide by the count N. This is the center point of your dataset. Step 2 is computing the deviation for each value. Subtract the mean from each data point. Positive deviations sit above the mean, negative ones sit below. Step 3 squares each deviation (this eliminates negatives and gives extra weight to outliers) and sums all the squared deviations together. This total is called SS (sum of squares). Step 4 divides SS by N-1 (for a sample) or N (for a full population) to get the variance. Step 5 takes the square root of the variance to produce the standard deviation, bringing the result back to the same unit as the original data. The step-by-step table in this tool shows every individual row of this work so you can verify each number.
Use the population formula when your dataset contains every single member of the group you are describing. For example: the exact scores of every student in a specific class of 30, the precise weights of every product in a single production run, or the heights of all 11 players on one sports team. Use the sample formula for everything else, which in practice means the vast majority of real-world datasets: survey results, A/B test data, experiment observations, sensor readings, or any data where you collected a subset and want to make inferences about the broader group.
Range (max minus min) only tells you the extremes. Standard deviation tells you about the typical spread of all your data. Consider two datasets with the same range: {1, 2, 3, 4, 100} and {1, 50, 51, 52, 100}. Both have a range of 99, but the first is dominated by one extreme outlier while the second is spread more evenly through the middle. Standard deviation captures this difference. It is sensitive to every data point, not just the endpoints.
This calculator uses JavaScript floating-point arithmetic and formats results to 7 significant figures for display. When you copy results for further calculations, be aware that intermediate rounding across multiple steps can accumulate small errors. For the most precise work, keep extra decimal places in intermediate values and round only at the very end.
Population standard deviation (sigma, written with the Greek letter) uses all members of a group in its formula and divides the sum of squared deviations by N. Sample standard deviation (s) is used when you have a subset of a larger population and divides by N minus 1 to give an unbiased estimate of the population's true spread. This adjustment is called Bessel's correction.
In practice: use population when your data IS the entire group. Use sample when your data is drawn from a broader group - which covers almost every survey, experiment, or observation dataset you will encounter.
When you compute the mean of a sample, that sample mean is always slightly closer to each data point than the true population mean would be. This is because the sample mean is literally calculated from those same data points. As a result, the squared deviations from the sample mean are systematically a bit smaller than they would be from the true population mean.
If you divided by N, the resulting variance estimate would consistently underestimate the true population variance. Dividing by N-1 inflates the estimate slightly to correct for this bias. The adjustment was formalized by the German mathematician Friedrich Bessel and is called Bessel's correction. For large N the difference is negligible, but for small samples (N below 20) it matters noticeably.
A low standard deviation means values cluster tightly around the mean. The data is consistent and predictable. Examples: a manufacturing process with a low standard deviation of product weights is highly precise; a student with a low standard deviation of test scores performs very consistently.
A high standard deviation means values are spread out widely. There is high variability or unpredictability. Examples: an investment with a high standard deviation of daily returns is volatile; a dataset with high standard deviation on survey ratings shows that opinions are sharply divided.
Neither high nor low is inherently good or bad. It depends entirely on what you are measuring and what you expect. The key is whether the variability in your data matches what you need for your situation.
No. Every calculation in this tool runs entirely inside your browser using JavaScript. Your data is never transmitted to any server, never saved to a database, and never tracked in any way. This is not just a policy promise - it is technically how the tool is built. There is no backend, no API call, and no data storage of any kind.
You can verify this yourself: open your browser's network inspector (F12 in most browsers, then the Network tab) while using the calculator. You will see zero requests made to any server as you type and calculate. The green privacy badge at the top of the page confirms this guarantee.
Variance is the average of the squared deviations from the mean. Standard deviation is the square root of the variance. The two are mathematically inseparable: variance = SD squared, SD = square root of variance.
The reason we square deviations in the first place is to eliminate negatives. A point 3 units below the mean has a deviation of -3. Without squaring, negative and positive deviations would cancel each other out and the average would always be zero. Squaring removes the sign and also gives extra weight to large deviations (outliers), making variance sensitive to extremes.
The problem with variance is that it ends up in squared units. If your data is in seconds, variance is in seconds squared - hard to interpret intuitively. Taking the square root gives you standard deviation in the original unit (seconds), which is much easier to understand and compare to the data itself.