Standard Deviation Calculator

Calculate sample or population variance and standard deviation from raw data.

Your numbers

Live

Instant result. Updates while you type.

Your result

Updated now
—

Enter your numbers.

Standard deviation calculator for sample and population data

Paste up to 1,000 values and choose population or sample. HitEquals reports mean, variance, standard deviation, range and every squared deviation.

Editorial checkVariance and scale definitions checked against the NIST/SEMATECH handbook.Updated September 9, 2026Read the publication standard

Inputs used by this calculator

Standard Deviation Calculator uses the fields below. The starting values reproduce the page example; replace them with values from the same units and time period before using the result.

Field-by-field reference for Standard Deviation Calculator.
InputStarting exampleAccepted valueHow it is used
Data values2, 4, 4, 4, 5, 5, 7, 9Text or a list in the format shownSupplies the data values quantity used by the published equation or result breakdown.
Data definitionPopulation — divide by nPopulation — divide by n · Sample — divide by n−1Chooses which Standard Deviation Calculator method or unknown the engine evaluates.
Standard Deviation Calculator calculation pathData values and Data definition pass through the displayed Standard Deviation Calculator relationship before the main answer and supporting values are shown.1Entered values2Published formula3Checked result
Standard Deviation Calculator calculation pathData values and Data definition pass through the displayed Standard Deviation Calculator relationship before the main answer and supporting values are shown.

What standard deviation means

Standard deviation measures spread around the mean in the original units. Variance is its square and therefore uses squared units.

Population formula

When the list is the entire population, divide the squared-deviation sum by n.

σ=√(Σ(x−μ)²/n)

Sample formula

For a sample estimating a larger population, divide by n−1. At least two values are required.

s=√(Σ(x−x̄)²/(n−1))

Calculation steps

Find the mean, subtract it from each value, square the deviations, add them, divide by the selected denominator and take the square root.

Interpret spread carefully

Standard deviation uses every observation and can be sensitive to extreme values. Compare it only across compatible units and definitions.

What the Standard Deviation Calculator answers

Calculate sample or population variance and standard deviation from raw data.

Use Standard Deviation Calculator when you know Data values and Data definition and need the relationship expressed by the published equation.

Population versus sample

The denominator changes the estimate.
DefinitionDenominatorMinimum n
Populationn1
Samplen−12

Frequently asked questions

What is a low standard deviation?

It means values cluster more closely around their mean on that scale.

What is variance?

It is the mean squared deviation; standard deviation is its square root.

Should I choose sample or population?

Choose population for the complete group and sample when estimating a larger group.

Can standard deviation be negative?

No. Squares and the positive square root make it nonnegative.

Does this ignore duplicates?

No. Every entered observation is included.

What question does this Standard Deviation Calculator answer?

Calculate sample or population variance and standard deviation from raw data.

What to keep in mind

Choose sample only when the entered observations are a sample used to estimate a larger population.

Results are rounded for display in US format, with money in dollars and cents; CSV exports keep full calculation precision. This is a calculation summary, not an official certificate.

Sources and references

Manage privacy choices