About Contact
Tools
1 Rep Max Calculator — Estimate Your 1RM From Any Set401(k) CalculatorAge Calculator — Your Exact Age in Years, Months & DaysAmortization CalculatorAsphalt CalculatorAsphalt Driveway Cost CalculatorAuto Loan CalculatorBarcode GeneratorBase64 EncoderBd Ft CalculatorBench Press Max Calculator — Estimate Your Bench 1RMBMR Calculator — Estimate Your Basal Metabolic RateBoard Foot CalculatorBrick CalculatorCalorie Deficit Calculator — Daily Target and TimelineCD Calculator (Certificate of Deposit)Cement CalculatorCircle Area Calculator — Area, Radius, Diameter, CircumferenceColor Palette GeneratorCompound Interest CalculatorConcrete Bag CalculatorConcrete Block CalculatorConcrete CalculatorConcrete Calculator with CostConcrete Footing CalculatorConcrete Mix CalculatorConcrete Pad CalculatorConcrete Price CalculatorConcrete Slab CalculatorConcrete Slab Cost CalculatorConcrete Volume CalculatorConcrete Weight CalculatorConcrete Yard CalculatorConduit Fill CalculatorCrushed Stone CalculatorDirt CalculatorDrywall CalculatorDue Date Calculator — Estimate Your Baby's Due DateFantasy Name GeneratorFavicon GeneratorFence CalculatorFill Dirt CalculatorFinal Exam Calculator — What Grade Do I Need on the Final?Fraction Calculator — Add, Subtract, Multiply, DivideFree Citation Generator (APA, MLA, Chicago, Harvard)GPA Calculator — Unweighted and Weighted, with Cumulative GPAGravel CalculatorHEIC to JPG ConverterHELOC CalculatorInsulation CalculatorLandscape Rock CalculatorMacro Calculator — Daily Protein, Carbs, and FatMean Calculator — Average of a List of NumbersMedian Calculator — Middle Value of a List of NumbersMeme GeneratorMetal Roof CalculatorMinute to Decimal ConverterMorse Code ConverterMortgage Payoff CalculatorMulch CalculatorOvulation Calculator — Find Your Fertile WindowPaver Base CalculatorPaver CalculatorPaver Sand CalculatorPea Gravel CalculatorPeptide CalculatorPercentage Calculator — Solve Any Percent QuestionPNG to PDF ConverterPuppy Weight CalculatorPythagorean Theorem Calculator — Solve Any Right TriangleQuadratic Formula Calculator — Roots, Vertex, Factored FormQuikrete Concrete CalculatorRaised Bed Soil CalculatorRandom Name GeneratorRiver Rock CalculatorRock CalculatorRoof Cost CalculatorRoof Pitch CalculatorRoof Shingle CalculatorRoof Slope CalculatorRoof Truss CalculatorRubik's Cube Solver — Solve Any Scrambled 3×3 CubeSakrete Concrete CalculatorSales Tax CalculatorSand CalculatorScrap Silver CalculatorSignature GeneratorSleep Calculator — Best Bedtimes & Wake Times by Sleep CycleSlope Calculator — Slope, Equation, Angle, GradeSnow Day CalculatorSod CalculatorSoil CalculatorSonotube Concrete CalculatorSquare Footage Calculator — Room and Floor AreaSquat Max Calculator — Estimate Your Squat 1RMStandard Deviation Calculator — Sample and PopulationStone CalculatorTDEE Calculator — Total Daily Energy ExpenditureTier List MakerTile CalculatorTime Calculator for WorkTop Soil CalculatorTopsoil CalculatorTriangle Calculator — Solve Any Triangle From 3 InputsUPC GeneratorUsername GeneratorVolume Calculator — 8 Shapes With Unit ConversionWebP to JPG ConverterWebP to PNG ConverterWordle Solver — Best Next Guess for Today's Puzzle
← All tools

Standard Deviation Calculator — Sample and Population

Paste a list of numbers — commas, spaces, or new lines. Get the sample standard deviation, population standard deviation, variance, mean, count, and sum in one panel.

What is standard deviation calculator?

Standard deviation is the standard way to describe how spread out a list of numbers is. The mean tells you the center; the standard deviation tells you how far typical values sit from that center. Two datasets can share the same mean and look very different: scores 78, 80, 82 cluster tightly around 80, while scores 60, 80, 100 straddle the same average with a much wider spread. Standard deviation captures that distinction in a single number — a smaller value means the data clusters near the mean, and a larger value means the data is more dispersed.

There are two formulas worth knowing. The sample standard deviation divides the sum of squared deviations by n − 1; the population standard deviation divides by n. The difference matters most for small datasets and disappears as n grows. Use the sample formula when your numbers are a sample drawn from a larger group (which is what almost every stats class assumes by default). Use the population formula when your numbers genuinely represent every value in the group of interest. The calculator shows both side-by-side so you don’t have to guess which one your problem wants — pick the one that matches your context and the formula your textbook is asking for.

Variance is the squared standard deviation: same information, different unit. If your data is in centimeters, the standard deviation is in centimeters but the variance is in cm². Statisticians often work with variance internally because it has nicer algebraic properties (independent samples’ variances add), but reports usually cite the standard deviation because it shares units with the original data and is easier to interpret. Both numbers appear in the result panel so you can match whichever form your assignment or spec asks for.

Privacy: every calculation runs locally in your browser. The numbers you paste never leave your device — there is no server, no API, no analytics on input values. The page carries a third-party display ad slot (which is how the site stays free), but the ad has no access to the calculation inputs.

When to use a standard deviation calculator

  • Stats homework — sample vs population stddev — The calculator shows both formulas side-by-side: sample (divides by n−1) and population (divides by n). When your problem says 'sample from a population', read the sample value; when it says 'all the data', read the population value.
  • Quality control — spread of measurements — Drop in a list of measurements (lengths off a milling line, weights off a fill machine) and the sample stddev quantifies how consistent the process is. A small stddev relative to the mean indicates tight tolerance; a large one means the process is drifting.
  • Lab data — uncertainty of repeated readings — Three repeated readings of the same sensor produce three slightly different numbers. The sample stddev is the standard estimate of measurement uncertainty — paste the readings to read it, then report mean ± stddev.
  • Comparing two datasets' spread — Two classes both have mean test scores of 80, but one stddev is 5 and the other is 15. Same average, very different consistency. Compute each separately and compare the stddevs to see which class has more uniform performance.
  • Verifying a spreadsheet formula — Spreadsheet stddev functions vary: <code>STDEV</code> / <code>STDEV.S</code> compute sample stddev; <code>STDEVP</code> / <code>STDEV.P</code> compute population stddev. If you're unsure which your formula picked, paste the same data here and compare both values against your spreadsheet result.

How to use the Standard Deviation Calculator — Sample and Population

  1. Paste or type your numbersType the numbers into the textarea or paste them from anywhere — a spreadsheet column, a CSV, a lab notebook. Lists of any size work; there is no upper limit.
  2. Use any common separatorNumbers can be separated by commas, spaces, tabs, semicolons, or new lines, and you can mix them freely. The parser ignores empty entries and shows you any non-numeric tokens it had to skip.
  3. Read both standard deviationsThe headline shows the sample stddev (the most common form taught in stats classes). The stats grid below shows the population stddev alongside the variance, mean, count, and sum. A line beneath explains when to use which.

Worked examples

Five numbers, sample stddev

Input:  2, 4, 4, 4, 5
Output: Sample stddev: 1.0954, Population stddev: 0.9798, Mean: 3.8

Deviations from the mean: -1.8, 0.2, 0.2, 0.2, 1.2. Squared: 3.24, 0.04, 0.04, 0.04, 1.44 = 4.8. Sample variance = 4.8/4 = 1.2; sample stddev = √1.2 ≈ 1.0954.

Two-value pair

Input:  1, 5
Output: Sample stddev: 2.8284, Population stddev: 2

Mean 3, deviations of 4 + 4 = 8 squared total. Sample variance 8/1 = 8 → stddev √8 ≈ 2.83. Population variance 8/2 = 4 → stddev 2.

All identical — zero spread

Input:  7, 7, 7, 7
Output: Sample stddev: 0, Population stddev: 0

When every value equals the mean, both stddevs are zero. The calculator shows 0, not NaN.

Frequently asked questions

What is the difference between sample and population standard deviation?
Both measure how spread out a list of numbers is around its mean. The formulas are almost identical — sum of squared deviations from the mean, then divided by something. Sample stddev divides by n − 1; population stddev divides by n. Sample is the default in stats classes because data is usually a sample drawn from a larger group; population is correct when you literally have every value in the group.
Why divide by n−1 instead of n?
Because dividing by n systematically underestimates the population variance when you're working with a sample. The n − 1 correction (Bessel's correction) compensates for the fact that the sample mean is slightly closer to your sample's values than the true population mean is. With small samples the difference between the two formulas is noticeable; with large samples (n ≥ 30) the two values are nearly identical.
How is the standard deviation calculated?
Three steps: compute the mean of your numbers; for each number, compute the squared difference from the mean; sum those squared differences and divide by n (population) or n − 1 (sample). The result is the variance. The standard deviation is the square root of the variance. The calculator shows all four numbers (sample variance, sample stddev, population variance, population stddev) so you can see the relationship.
Does the calculator handle decimals and negative numbers?
Yes. Negative numbers and decimals parse normally. -3.5, 0, 1e2 is valid input. Very long lists with mixed magnitudes can occasionally show tiny rounding artifacts in the last decimal place because the math uses floating-point arithmetic.
Why is the sample stddev shown as a dash when I have only one number?
The sample variance formula divides by n − 1, which is undefined for n = 1. With only one value there is no spread to measure as a sample. The population stddev is shown as 0 in that case (the value equals its own mean, so the deviation is zero).
What does the variance number mean?
Variance is the squared standard deviation — same information in a different unit. If your data is in centimeters, the stddev is in centimeters but the variance is in centimeters². Variance has nicer algebraic properties (it's additive for independent samples), so statisticians use it in calculations; stddev is easier to interpret because it shares units with the data, so most reports cite stddev.
What separators can I use in the input?
Commas, spaces, tabs, semicolons, and new lines all work, and you can mix them freely. Paste a column from a spreadsheet (one number per line), a CSV row (comma-separated), or a typed list (space-separated) — all parse correctly. Non-numeric tokens like a header row are shown in a 'Skipped' hint rather than failing the calculation.
Are my numbers stored or sent anywhere?
No. The calculation runs entirely in your browser. The numbers you paste never leave your device — there is no server, no API call, no analytics on input values. The page does carry a third-party display ad slot (which is how the site stays free), but the ad has no access to the calculation inputs.