Standard Deviation and Variance Calculator

Standard Deviation and Variance Calculator

Paste any list of numbers and instantly see sample and population standard deviation and variance side by side, along with the mean, sum, count, range, coefficient of variation and standard error. A live step table shows every deviation from the mean so you can follow the math, not just trust it.

🎯Real Dataset Presets

📝Your Data and Options

Negative numbers and decimals are fine. Blank entries and stray text between numbers are ignored automatically.

Chooses whether the top result cards show the sample (n-1) or population (n) figures.

Rounds every card, breakdown line and step table cell to this many decimals.

Only reorders the parsed list and step table. It never changes the mean, variance or SD.

The live table lists each value, its distance from the mean, and that distance squared.

Marks any value whose z-score exceeds this many sample SDs from the mean in the step table.

CV rescales the spread against the mean so datasets in different units can be compared.

Standard Deviation 0 chosen type
Variance 0 chosen type
Mean (average) 0 sum divided by count
Count n and Sum 0 values totalling 0

🔢Live Result Snapshot

0Range max − min
0Coeff. of variation
0Standard error
0Sum of squares SS

📑Sample vs Population Formulas

QuantitySample (n − 1)Population (n)Meaning
Meanx̄ = Σx / nμ = Σx / nSame average either way
Sum of squaresSS = Σ(x − x̄)²SS = Σ(x − μ)²Total squared spread
Variances² = SS / (n − 1)σ² = SS / nAverage squared deviation
Standard deviations = √s²σ = √σ²Spread in original units
Divisorn − 1 (Bessel)nCorrection for sampling
Use whenData is a sampleYou have every memberDrives which value to report

🔬Step-by-Step Deviations

#Value xDeviation x − meanSquared (x − mean)²
Enter data above to build the deviation table.

📈Spread Interpretation Guide

Coefficient of VariationSpread VerdictWhat It SignalsTypical Example
Under 10%Very low spreadValues cluster tightly on the meanCalibrated lab instruments
10% to 20%Low spreadConsistent, modest variationAdult heights in a class
20% to 30%Moderate spreadNoticeable but manageable variationDaily store sales
30% to 50%High spreadValues vary widely around the meanMonthly rainfall totals
Over 50%Very high spreadMean is a weak summary aloneIndividual stock returns
Any levelCheck outliersA few extreme points inflate SDReaction time misfires

📏Rules of Thumb for Standard Deviation

ConceptApproximate RuleMeaningNote
Within 1 SDAbout 68% of datax̄ ± 1s covers most pointsBell-shaped data
Within 2 SDAbout 95% of datax̄ ± 2s is the common bandOutlier cutoff
Within 3 SDAbout 99.7% of datax̄ ± 3s covers nearly allEmpirical rule
Z-scorez = (x − x̄) / sSDs a value sits from the meanCompares to 2 or 3
Standard errorSE = s / √nSpread of the sample meanShrinks as n grows
Variance unitsOriginal units squaredSD returns to original unitsTake the square root

📊Example Datasets Comparison Grid

DatasetnMeanSample SDPop SDVariance (Sample)
Exam scores886.636.636.2043.98
Daily sales $81356.25165.70155.0027455.36
Heights cm8169.382.672.507.13
Temperatures F871.502.452.296.00
Lab measurements82.310.020.020.001
Stock returns %80.551.301.211.68
Dice roll trials103.701.771.683.12
Reaction times ms8221.8818.8017.59353.55
Rainfall mm827.5016.3415.28266.86
Small sample n=5513.207.406.6254.70

Formula Breakdown

Mean x̄ = Σx / nAdd every value then divide by the count. For 2, 4, 6, 8 the sum is 20 and n is 4, so the mean is 20 / 4 = 5.
Deviation = x − x̄Subtract the mean from each value. The deviations for that set are −3, −1, +1 and +3, and they always sum to zero.
SS = Σ(x − x̄)²Square each deviation and add them. Here 9 + 1 + 1 + 9 = 20, the sum of squared deviations.
Sample variance s² = SS / (n − 1)Divide SS by n minus 1. So 20 / 3 = 6.667, the sample variance using Bessel's correction.
Population variance σ² = SS / nDivide SS by n instead. So 20 / 4 = 5, the population variance for the same four numbers.
Standard deviation = √varianceTake the square root to return to original units. Sample s = √6.667 = 2.58; population σ = √5 = 2.24.
CV = s / x̄ and SE = s / √nCV rescales spread against the mean for cross-dataset comparison; standard error scales SD down by the root of n.

💡Choosing the Right Formula

Sample vs population: Use the sample formula, dividing the sum of squares by n minus 1 (Bessel's correction), whenever your numbers are a sample drawn from a larger group you want to make claims about. Dividing by n minus 1 instead of n slightly enlarges the estimate and corrects the bias that arises because the sample mean sits closer to your data than the true population mean does. Reserve the population formula, dividing by n, for the rare case when your dataset already contains every single member of the group.
Compare spread with CV: Standard deviation is measured in the same units as the data, so you cannot directly compare the SD of heights in centimetres to the SD of sales in dollars. The coefficient of variation solves this by dividing the standard deviation by the mean, giving a unitless ratio or percentage. A dataset with a CV of 8% is more consistent than one at 40% no matter what the two are measuring, which makes CV the fair way to judge relative variability across different units or very different average sizes.

Or maybe it’s a list of numbers… Your daily sales figure at your store, or your exam scores from your last class. Averages are great; they’ll show you where center is, but two set of data can have the exact same average and still be completely different. For instance, one set may hug the center and stay there, whereas the other is spread out in all directions with crazy-highs and -lows pulling the average right back down to earth.

That’s what variance and standard deviation do: they measures how crazy-spread-out your data realy is (or isn’t). Once you’ve got the numbers pasted into text box (the calculator above does all the heavy lifting), you can copy and paste direct from your spreadsheet. The calculator will automaticly read new lines, spaces and commas. But what’s more important than how you enter your data is understanding what the results mean for your particular case.

How to Read Your Data Results

The variance are the average of the squared distances from the mean. It is an abstraction that is difficult to visualize because it is measured in squared version of your original units. That’s where standard deviation comes into play: It takes the square root, returning the measure back to whatever unit you were originally using. So if you use centimeters to measure height, the standard deviation will also be expressed in centimeters, allowing you to understand result without any extra work.

This is where there’s often a pitfall with these kinds of sample versus population calculations: most people assume they’re working with entire picture when what they actualy have is just a slice. In practice, you usually have some kind of subset, or sample, taken from a broader universe. That’s why you need to divide by n minus one (applying Bessel correction) rather than n (which you do if you has all members of the group you care about in your data). That adjustment is a bit more varied, but it does make up for the fact that your sample mean is probably going to be somewhat closer to your actual data points then a true population mean would be. So you can see the difference without having to guess, the tool show both side-by-side.

Standard deviation is unit bound. You can’t compare the spread of human height to the spread of stock returns directly, for example. But the coefficient of variation provide another useful way of comparing two unrelated set of data beyond its core deviation numbers. To achieve this, the coefficient of variation divides the standard deviation by the mean, producing a unitless ratio that makes apples and oranges comparable. A low percentage indicate tight clustering relative to average size, while a high percentage signals volatility. In other words: Regardless of scale, the coefficient of variation will tell us which of our two datasets is relatively more consistent.

Clicking through the tool’s table show all the steps used to arrive at each number (above). That’s the arithmetic going on behind the scenes: every single value plus the difference between each value and the mean, and the square of each of those differences. You should of checked this first. As the tool shows, one outlier adds a lot to the total sum of squares and drive up the variance. This is why they can skew results so much.

The tool allows you to flag values that lie outside of plus/minus two or three standard deviations from the mean. This is where checking your data for outliers comes into play. These flags shows you whether a value is a true signal or just noise to eliminate. These are numbers to interpret within context.

For example, in the world of manufacturing, a low standard deviation indicates reliable, uniform part. This reflects quality control at work. On Wall Street, though, low volatility can sound like safety, but it also implies lower potential returns (depending on the asset class), which means that there’s no such thing as a ‘good’ spread level. It all depends on what you’re expecting from your data and the range provides a quick check against your sanity by displaying the difference between high value and the low value. If the standard deviation is small but the range is huge, then something may be wrong either with your dataset itself or with your expectations of that dataset.

These tools turns the number-crunching back on itself to translate the raw numbers into understanding. By learning what the spread tells us, we no longer treat the average as the entire story. From business performance to scientific experiments, seeing the distribution behind the data means you can’t be fooled by central tendency. The math doesn’t change, but your power to wield it will.

Paste in your data, flag the deviations, and let the numbers show you how stable your world truly is.

Standard Deviation and Variance Calculator