Home Financial Health Math Conversions Blog All Calculators Other

Standard Deviation Calculator

Calculate the standard deviation, variance, and mean of a dataset.

Understanding Standard Deviation Calculator

Standard deviation is a statistical measure of how much the values in a dataset vary around their mean. It describes the spread or dispersion of observations and is one of the most commonly used measures of variability in statistics.

A small standard deviation means that the values tend to be relatively close to the mean. A larger standard deviation means that the observations are more widely spread around the mean. The standard deviation is expressed in the same units as the original data, which makes it easier to interpret than variance.

Using the result in context

Standard Deviation Calculator is intended to show the mathematical relationship behind the answer, not just return a number. Enter the quantities requested by the selected method—such as Data Set, Calculation Type—and keep their units or mathematical meaning consistent. Where this calculator offers different shapes, methods, or forms, choose the one that matches the problem before entering the values.

What can change the answer

For a useful check, look at the units and the scale of the answer before accepting it. A formula can be evaluated correctly while an input is still inappropriate for the problem. Repeating the calculation with a simple test value or checking the result against the expected direction of change can help identify an input mistake.



Enter at least two numerical values separated by commas. Choose Population when the data represents the complete population, or Sample when the data represents a sample from a larger population.

Standard Deviation Calculator

Standard deviation is a statistical measure of how much the values in a dataset vary around their mean. It describes the spread or dispersion of observations and is one of the most commonly used measures of variability in statistics.

A small standard deviation means that the values tend to be relatively close to the mean. A larger standard deviation means that the observations are more widely spread around the mean. The standard deviation is expressed in the same units as the original data, which makes it easier to interpret than variance.

What Does Standard Deviation Measure?

Standard deviation measures the typical amount of variation in a dataset relative to its mean. It is calculated by first finding the mean, measuring how far each observation is from that mean, squaring those differences, averaging the squared differences, and finally taking the square root.

Standard Deviation = √Variance

Because the differences are squared during the calculation, observations farther from the mean have a greater influence on the resulting standard deviation.

Population Standard Deviation

Population standard deviation is used when the dataset contains every member of the population being studied. The population variance is calculated by dividing the sum of squared deviations by the total number of observations, n.

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

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

Here, μ represents the population mean, xᵢ represents an individual observation, and n represents the number of observations.

Sample Standard Deviation

Sample standard deviation is used when the dataset represents a sample taken from a larger population. Instead of dividing by n, the sample variance uses n − 1.

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

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

The use of n − 1 is known as Bessel's correction. Under standard assumptions, it helps provide an unbiased estimator of the population variance from a random sample.

Population vs. Sample Standard Deviation

Population: divide by n

Sample: divide by n − 1

Choosing the correct calculation type matters. If the values describe the entire population of interest, use Population. If they represent observations collected from a larger population, use Sample.

How Standard Deviation Is Calculated

The calculation can be divided into several steps:

1. Find the mean.

Mean = Σx / n

2. Calculate each deviation from the mean.

Deviation = xᵢ − Mean

3. Square each deviation.

Squared Deviation = (xᵢ − Mean)²

4. Calculate the variance.

Variance = Σ(xᵢ − Mean)² / denominator

5. Take the square root.

Standard Deviation = √Variance

Example: Population Standard Deviation

Consider the dataset:

10, 12, 15, 18, 20

The mean is:

Mean = (10 + 12 + 15 + 18 + 20) ÷ 5

= 15

The deviations from the mean are:

−5, −3, 0, 3, 5

Squaring them gives:

25, 9, 0, 9, 25

Sum = 68

The population variance is:

68 ÷ 5 = 13.6

Therefore:

√13.6 = 3.6878...

So the population standard deviation is approximately 3.69.

Why Are Deviations Squared?

Some observations are above the mean and others are below it. If the deviations were simply added together, positive and negative values would cancel each other out.

(Positive deviations) + (Negative deviations) ≈ 0

Squaring each deviation makes every contribution non-negative and gives greater weight to observations that are farther from the mean.

Variance vs. Standard Deviation

Variance and standard deviation measure the same general concept of variability, but they are expressed differently.

Variance: average squared deviation from the mean

Standard Deviation: square root of the variance

Variance is expressed in squared units. For example, if the original observations are measured in meters, variance is measured in square meters. Standard deviation is measured in meters, making it easier to relate directly to the original data.

Standard Deviation and the Mean

Standard deviation is calculated relative to the mean. The mean acts as the center of the dataset, and standard deviation describes how widely the observations are distributed around that center.

Two datasets can have the same mean but different standard deviations because their values can be distributed differently.

Standard Deviation and Range

Range is the difference between the largest and smallest values:

Range = Maximum − Minimum

Range and standard deviation both describe spread, but they do so differently. Range depends only on the two extreme values, while standard deviation uses every observation in the dataset.

Coefficient of Variation

The coefficient of variation expresses standard deviation relative to the absolute value of the mean. It is commonly expressed as a percentage.

CV = (Standard Deviation ÷ |Mean|) × 100

A lower coefficient of variation indicates less relative variability compared with the mean, while a higher value indicates greater relative variability. The coefficient of variation is not defined when the mean is zero.

Interpreting Standard Deviation

Standard deviation should be interpreted in relation to the scale and distribution of the dataset. A value that is large for one dataset may be small for another dataset measured in a different unit or with a different scale.

A standard deviation of zero occurs only when all observations are identical. As the observations become more dispersed around their mean, the standard deviation increases.

Standard Deviation and Normal Distributions

For data that approximately follows a normal distribution, standard deviation has a particularly useful interpretation. Approximately 68% of observations lie within one standard deviation of the mean, about 95% lie within two standard deviations, and about 99.7% lie within three standard deviations.

Approximately 68%: μ ± 1σ

Approximately 95%: μ ± 2σ

Approximately 99.7%: μ ± 3σ

These percentages are properties of an approximately normal distribution and should not automatically be applied to every dataset.

Units of Standard Deviation

Standard deviation has the same units as the original dataset. If the data is measured in kilograms, the standard deviation is measured in kilograms. If the data is measured in seconds, the standard deviation is measured in seconds.

Variance, by contrast, uses squared units because the deviations are squared during its calculation.

Applications of Standard Deviation

Standard deviation is used throughout statistics and data analysis. Common applications include measuring variability, comparing consistency, analyzing experimental data, evaluating manufacturing processes, describing financial returns, studying scientific measurements, and summarizing datasets.

In quality control, a small standard deviation can indicate that production measurements are closely grouped. In data analysis, standard deviation helps identify how dispersed observations are around their central tendency.

Important Considerations

Standard deviation is sensitive to unusually large or small observations because the deviations are squared. A single extreme value can therefore increase the standard deviation substantially.

For this reason, standard deviation is most informative when considered together with other statistics such as the mean, median, range, and the overall shape of the distribution.

Standard Deviation Formulas

Population

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

Sample

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

Variance

Variance = Standard Deviation²

Coefficient of Variation

CV = (Standard Deviation ÷ |Mean|) × 100

Using This Standard Deviation Calculator

Enter your dataset as a comma-separated list of numerical values. Select Population if the values represent the complete population being analyzed, or select Sample if the values represent a sample from a larger population.

The calculator reports the mean, minimum, maximum, range, deviations, squared deviations, sum of squared deviations, variance, standard deviation, coefficient of variation when applicable, calculation formulas, and an interpretation of the resulting variability.

Disclaimer

This calculator is intended for informational purposes only. While we strive for accuracy, we cannot guarantee that every result is correct for every situation.