Standard Deviation Calculator (2024)

The standard deviation calculator shows you how to calculate the mean and standard deviation of a dataset. If you are learning statistics, it is essential to learn how to find the standard deviation because it is very widely used.

You'll love the special features of our standard deviation calculator:

  • It works as a population or sample standard deviation calculator.
  • We'll show you the steps for easy understanding.
  • It's excellent as a learning tool or as a calculator for small datasets.
  • The definition and formula for standard deviation are explained below.

Read on to get started!

What is standard deviation?

The standard deviation is a measure of the variability in a dataset. In other words, the standard deviation describes how "spread-out" the data is around the mean. This calculator deals with separate data points, but we also have a dedicated grouped data standard deviation calculator for ranged data.

A high standard deviation indicates that a dataset is more spread out.

A low standard deviation indicates that the data is more tightly clustered around the mean or less spread out.

Can you imagine what a standard deviation looks like? While you can calculate the standard deviation for any dataset, it can be helpful to visualize the standard deviation for normally distributed data. The empirical rule states that for any dataset which approximates a normal distribution, about 68% of the data will fall within one standard deviation from the mean, shown in the figure below.

Standard Deviation Calculator (1)

Not only is standard deviation a widely-used measure of variation, it forms the basis of other tools which characterize variation, including the quantities calculated by the relative standard deviation calculator and the confidence interval calculator.

Standard deviation formula

The mathematical definition for standard deviation (σ) is the positive square root of the variance (σ2\sigma^2σ2):

variance=σ2standarddeviation=σ2=σ\mathrm{variance} = \sigma^2 \\\mathrm{standard \ deviation} = \sqrt{\sigma^2} = \sigmavariance=σ2standarddeviation=σ2=σ

The standard deviation equation seems simple, but how do you calculate variance?

Variance is defined as the average squared difference from the mean for all data points. It is written as:

σ2=1NiN(xiμ)2\sigma^2 = \frac{1}{N}\displaystyle\sum_{i}^N (x_i - \mu)^2σ2=N1iN(xiμ)2

where:

  • σ2\sigma^2σ2 - Variance;
  • μ\muμ - Mean; and
  • xix_ixi - The ith data point out of NNN total data points.

You can calculate variance in three steps:

  1. Find the difference from the mean for each point. Use the formula:
    xiμx_i - \muxiμ

  2. Square the difference from the mean for each point:
    (xiμ)2(x_i - \mu)^2(xiμ)2

  3. Find the average of the squared differences from the mean which you found in step 2:
    1N(xiμ)2\frac{1}{N}\sum (x_i - \mu)^2N1(xiμ)2
    This is the variance for population data. Note that this step is slightly different for sample data (see next section).

Now we recall that the standard deviation is the (positive) square root of variance, so the complete standard deviation equation (for population data) becomes:

σ=1NiN(xiμ)2\sigma = \sqrt{\frac{1}{N}\displaystyle\sum_{i}^N (x_i - \mu)^2}σ=N1iN(xiμ)2

Population vs. sample standard deviation formula

In many scientific experiments, only a sample of a population is measured for practical reasons. This sample allows us to make inferences about the population. However, when sample data is used to estimate the variance of a population, the variance formula σ2=1N(xiμ)2\sigma^2 = \frac{1}{N}\sum (x_i - \mu)^2σ2=N1(xiμ)2 underestimates the variance of the population.

To avoid underestimating the variance of a population (and consequently, the standard deviation), we replace NNN with N1N - 1N1 in the formulas for variance and standard deviation, when sample data is used. This adjustment is known as Bessels' correction.

The sample variance formula becomes:

s2=1N1(xixˉ)2s^2 = \frac{1}{N-1}\sum (x_i - \={x})^2s2=N11(xixˉ)2

and the complete standard deviation formula becomes:

s=1N1(xixˉ)2s = \sqrt{\frac{1}{N-1}\sum (x_i - \={x})^2}s=N11(xixˉ)2

where:

  • s2s^2s2 - Estimate of variance;
  • sss - Estimate of standard deviation; and
  • xˉ\={x}xˉ (pronounced as "x-bar") - Sample mean.

Example calculation

Let's say we have a sample dataset with seven numbers: 2, 4, 5, 6, 6, 9, 10. How do we calculate standard deviation? Follow these steps:

1. Calculate the mean

To calculate the mean (x̄), divide the sum of all numbers by the number of data points:
xˉ=2+4+5+6+6+9+107=6\={x} = \frac{2 + 4 + 5 + 6 + 6 + 9 + 10}{7} = 6xˉ=72+4+5+6+6+9+10=6.

2. Calculate the squared differences from the mean

Now that we know the mean (x̄ = 6), we will calculate the squared difference from the mean for each data point:
(xixˉ)2(x_i - \={x})^2(xixˉ)2.

For the first point with a value of 2, the calculation would be:
(26)2=(4)2=16(2-6)^2 = (-4)^2 = 16(26)2=(4)2=16.

The calculated squared differences from the mean for all data points are shown in the table below:

xi

(xi - x̄)2

2

16

4

4

5

1

6

6

9

9

10

16

3. Calculate the variance and standard deviation

Since we are using sample data, we calculate variance using the sample variance equation and the squared differences from the mean we found in step 2:

s2=1N1(xixˉ)2s^2 = \frac{1}{N-1}\sum (x_i - \={x})^2s2=N11(xixˉ)2,
which gives
s2=16+4+1+0+0+9+1671=7.6667s^2 = \frac{16 + 4 + 1 + 0 + 0 + 9 + 16}{7 - 1} = 7.6667s2=7116+4+1+0+0+9+16=7.6667.

The standard deviation (s) is the square root of the variance, so our final step is:

s=7.6667=2.7689s = \sqrt{7.6667} = 2.7689s=7.6667=2.7689.

The standard deviation of the sample dataset was 2.8. Now that you know how to find the standard deviation try calculating it yourself, then check your answer using our calculator!

🔎 Did you know? Standard deviation is one of the measures of dispersion and coefficient of dispersion, concepts that help us understand the spread of our data.

How to find standard deviation by hand?

If you are calculating standard deviation with a handheld calculator, there is an easier formula you should use to use to calculate variance. This alternative formula is mathematically equivalent but easier to type into a calculator.

The easy-to-type formula for variance (for population data) is:

σ2=(xi2)(xi)2N\sigma^2 = \frac{\sum(x_i^2) - (\sum x_i)^2}{N}σ2=N(xi2)(xi)2

The easy-to-type formula for sample variance is:

s2=(xi2)(xi)2N1s^2 = \frac{\sum(x_i^2) - (\sum x_i)^2}{N-1}s2=N1(xi2)(xi)2

To find standard deviation, you would first calculate variance using either of the formulas above. Then, the standard deviation would be the square root of variance.

For example, with a sample dataset of 1, 2, 4, 6, the calculation for sample variance would be:
(xi2)=(12+22+42+62)=57\sum(x_i^2) = (1^2 + 2^2 + 4^2 + 6^2) = 57(xi2)=(12+22+42+62)=57
(xi)2=(1+2+4+6)24=1694=42.25(\sum x_i)^2 = \frac{(1 + 2 + 4 + 6)^2}{4} = \frac{169}{4} = 42.25(xi)2=4(1+2+4+6)2=4169=42.25

which give

σ2=5742.2541=4.9167\sigma^2 = \frac{57 - 42.25}{4-1} = 4.9167σ2=415742.25=4.9167.

The standard deviation would then be the square root of the variance:

4.91672.2\sqrt{4.9167} \approx 2.24.91672.2

Try it yourself, then check your answer with our standard deviation calculator!

Summary of variables and equations

Table 1. Variables for population data

Variable

Symbol

Equation

Number of observations

NNN

Population mean

μ\muμ

1Nxi\frac{1}{N}\sum x_iN1xi

Sum of squares

SS\mathrm{SS}SS

(xiμ)2\sum(x_i - \mu)^2(xiμ)2

Variance

σ2\sigma^2σ2

SSN\frac{\mathrm{SS}}{N}NSS

Standard deviation

σ\sigmaσ

σ2\sqrt{\sigma^2}σ2

Table 2. Variables for sample data

Variable

Symbol

Equation

Sample mean

xˉ\={x}xˉ

1Nxi\frac{1}{N}\sum x_iN1xi

Sum of squares

SS\mathrm{SS}SS

(xixˉ)2\sum (x_i - \={x})^2(xixˉ)2

Sample variance

s2s^2s2

SSN1\frac{SS}{N-1}N1SS

Standard deviation

sss

s2\sqrt{s^2}s2

Standard Deviation Calculator (2024)

FAQs

How do you calculate standard deviation easily? ›

  1. Step 1: Find the mean.
  2. Step 2: Subtract the mean from each score.
  3. Step 3: Square each deviation.
  4. Step 4: Add the squared deviations.
  5. Step 5: Divide the sum by one less than the number of data points.
  6. Step 6: Take the square root of the result from Step 5.

What is the answer for standard deviation? ›

Find the average of the squared differences. (Variance = The sum of squared differences ÷ the number of observations) Find the square root of variance. (Standard deviation = √Variance)

Is it possible to answer question c without calculations of the standard deviation? ›

Yes, it is possible to answer part C without calculating the standard deviation by inspecting the given data set. It can be observed that set C has maximum variation in the observations ranging from 1 to 19. On the other hand; B has constant values for observations and A have values close to each other in magnitude.

What is the standard deviation of 5 5 9 9 9 10 5 10 10? ›

The standard deviation of the data set {5, 5, 9, 9, 9, 10, 5, 10, 10} is 2.2913. Given, The data set: 5, 5, 9, 9, 9, 10, 5, 10, 10.

How to find standard deviation using TI 84 Plus CE calculator? ›

1) Press [2nd], [LIST], scroll to MATH and select 7:stdDev(. 2) Press [2nd] [{] [2] [,] [3] [,] [5] [,] [1] [,] [4] [2nd] [}] [)]. 3) The screen should now display stdDev({2,3,5,1,4}). 4) Press [ENTER] and the standard deviation of the list will be displayed.

Is there a faster way to calculate standard deviation? ›

Perhaps the easiest way to find standard deviation is to use an online calculator. However, absent a standard deviation calculator, you can also work it out using the formula above: Calculate the data set's mean value by adding together its data points and dividing this value by the total number of points.

What is the formula for standard deviation for dummies? ›

Step 1: Find the mean. Step 2: For each data point, find the square of its distance to the mean. Step 3: Sum the values from Step 2. Step 4: Divide by the number of data points.

What is the best formula for standard deviation? ›

Formulas for Standard Deviation
Population Standard Deviation Formulaσ = ∑ ( X − μ ) 2 n
Sample Standard Deviation Formulas = ∑ ( X − X ¯ ) 2 n − 1

What is a good standard deviation? ›

If there's a low standard deviation (close to 1 or lower), it suggests that the data points tend to be closer to the mean, indicating low variance. This might be considered “good” in contexts where consistency or predictability is desired.

How do you explain standard deviation in simple terms? ›

A standard deviation (or σ) is a measure of how dispersed the data is in relation to the mean. Low, or small, standard deviation indicates data are clustered tightly around the mean, and high, or large, standard deviation indicates data are more spread out.

How to calculate the sample standard deviation? ›

The sample standard deviation, often represented by s , is calculated using the formula s= ⎷1n−1n∑x=1(xi−¯x)2 s = 1 n − 1 ∑ x = 1 n ( x i − x ¯ ) 2 where n is the number of observations obtained in the sample, x1,x2,…,xn x 1 , x 2 , … , x n are the obtained observations and ¯x is the sample mean.

How to find standard deviation on a normal calculator? ›

Open lists by pressing STAT , Edit, then ↵ Enter . Enter your values into the L1 column, then press STAT and right arrow to enter the CALC tab. Select 1-Var stats, then press 2ND and 1 , then select Calculate on the menu. The standard deviation will show up next to Sx for a sample and σx for a population.

When can you not calculate standard deviation? ›

If data have a very skewed distribution, then the standard deviation will be grossly inflated, and is not a good measure of variability to use. As we have shown, occasionally a transformation of the data, such as a log transform, will render the distribution more symmetrical.

Can you do standard deviation without a calculator? ›

Here's how you can find population standard deviation by hand: Calculate the mean (average) of each data set. Subtract the deviance of each piece of data by subtracting the mean from each number. Square each deviation.

What is the SD button on a calculator? ›

Use the key to enter the SD Mode when you want to perform statistical calculations using standard deviation.

What is sx on a calculator? ›

The population standard deviation, denoted by sx, divides the calculated values by n. The sample standard deviation, denoted by Sx, uses the value n-1 as the denominator. The graphing calculators use the sample standard deviation Sx when calculating the variance (Sx2).

How to calculate standard deviation on TI 30xs? ›

  1. Press [DATA] and begin to enter the data as indicated into the L1, L2 or L3 lists. ...
  2. Press [2nd], [STAT], and then choose 1-VAR.
  3. For the "DATA" option, choose the listname the data is stored in (L1, L2 or L3). ...
  4. Arrow down to "CALC" and press [ENTER]. ...
  5. Press [2nd] [MODE] to exit STAT mode.

Top Articles
Latest Posts
Article information

Author: Clemencia Bogisich Ret

Last Updated:

Views: 6116

Rating: 5 / 5 (60 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Clemencia Bogisich Ret

Birthday: 2001-07-17

Address: Suite 794 53887 Geri Spring, West Cristentown, KY 54855

Phone: +5934435460663

Job: Central Hospitality Director

Hobby: Yoga, Electronics, Rafting, Lockpicking, Inline skating, Puzzles, scrapbook

Introduction: My name is Clemencia Bogisich Ret, I am a super, outstanding, graceful, friendly, vast, comfortable, agreeable person who loves writing and wants to share my knowledge and understanding with you.