Command Palette

Search for a command to run...

ST

Standard Deviation Calculator

Calculate population and sample standard deviation, variance, mean, median, mode, and range from any list of numbers.

Separate values with commas, spaces, or new lines. Decimals and negatives are fine.

Data set is a

Sample standard deviation

2.1381

n=8, mean=5, population SD=2, sample SD=2.1381, min=2, max=9.

Count (n)

8

Sum

40

Mean

5

Median

4.5

Mode

4

Minimum

2

Maximum

9

Range

7

Variance

4.5714

Sum of squares

32

Coefficient of variation

40%

What is the Standard Deviation Calculator?

The Standard Deviation Calculator measures how spread out a set of numbers is. Paste a list of values, separated by commas, spaces, or new lines, and it returns the standard deviation along with the full set of descriptive statistics that go with it: count, sum, mean, median, mode, minimum, maximum, range, variance, and the coefficient of variation. A low standard deviation means the values cluster tightly around the average; a high one means they are scattered widely.

Standard deviation is one of the most used numbers in statistics because it puts a single figure on variability in the same units as the data itself. Two classes can have the same average test score of 75, but if one has a standard deviation of 3 and the other 18, they are very different groups. The average alone hides that; the standard deviation reveals it. It underlies confidence intervals, z-scores, control charts, risk measures in finance, and the "plus or minus" on almost any reported statistic.

The tool computes both the population and the sample version, because the choice changes the answer and is easy to get wrong. Population standard deviation divides the sum of squared deviations by N and is correct when your numbers are the entire group you care about. Sample standard deviation divides by N minus 1, an adjustment called Bessel's correction that removes the bias you get when a sample is used to estimate a larger population it was drawn from. When in doubt about a sample, the N minus 1 version is the conventional choice, and both are shown side by side so you never have to recompute.

Everything runs in your browser in plain JavaScript. Your data set is never uploaded, there is no sign-up, and the calculator keeps working with no connection once the page has loaded. It handles decimals and negative numbers, ignores nothing silently, and flags any token it cannot read as a number so a stray label or currency symbol does not quietly skew the result.

How to use the Standard Deviation Calculator?

  1. Enter your numbers

    Paste or type your values into the box. Separate them with commas, spaces, semicolons, or new lines - a pasted spreadsheet column works as-is.

  2. Choose population or sample

    Select "Sample" if your numbers are a sample of a larger group (divides by N minus 1), or "Population" if they are the whole group (divides by N).

  3. Read the statistics

    The tool shows the standard deviation, variance, mean, median, mode, range, and coefficient of variation, updating instantly as you edit the list.

  4. Copy the results

    Copy the one-line summary or the full breakdown for a report, a homework write-up, or a lab notebook.

Key Features

  • Population and Sample Both

    Computes standard deviation and variance dividing by N and by N minus 1 at the same time, so you can pick the right one without recalculating

  • Full Descriptive Statistics

    Beyond standard deviation you get count, sum, mean, median, mode, minimum, maximum, and range in one pass over the data

  • Flexible Number Parsing

    Accepts commas, spaces, new lines, tabs, or semicolons as separators, plus decimals and negatives, so pasted columns and typed lists both work

  • Coefficient of Variation

    Reports the standard deviation as a percentage of the mean, letting you compare the relative spread of data sets on different scales

Frequently Asked Questions

Find the mean of your numbers, subtract the mean from each value and square the result, add those squares together, divide by N for a population or N minus 1 for a sample, then take the square root. For 2, 4, 4, 4, 5, 5, 7, 9 the mean is 5, the squared deviations sum to 32, so the population standard deviation is the square root of 32/8, which is 2.

Comments

0 comments

0/2000 characters

No comments yet. Be the first to share your thoughts!

standard deviation calculatorvariance calculatorpopulation standard deviationsample standard deviationmean median mode calculatorsd calculatorstatistics calculatordescriptive statisticscoefficient of variation