MATH BOSS

All lessons

How do I find the standard deviation?

The mean, squared gaps, their average, and a root.

Grades 10 to 12 · Free. No sign-up. No ads. Nothing is collected.

Example

For the data 2,4,4,5,7, find the mean, the median, the variance and the standard deviation.

Answer: x=225,median=4,σ2=6625,σ=5√6625≈1.625

Try it yourself: For the data 3,5,8,10, find the mean, the median, the variance and the standard deviation.

Why do I need this?

Two classes both average 80. In one everyone scored 80, in the other half scored 60 and half scored 100. The mean is the same, but the spread is very different.

σ2

The idea

Variance and standard deviation measure how spread out the data is around the mean.

2,4,4,5,7

Step by step

  1. The mean

    Add the data and divide by how many there are.

    x=2+4+4+5+75=4.4
  2. Squared gaps

    Find how far each value is from the mean and square it.

    5.76+0.16+0.16+0.36+6.76=13.2
  3. Variance

    Divide the sum of squares by the number of values.

    σ2=13.25=2.64
  4. Standard deviation

    The root of the variance returns to the original units.

    σ=√2.64≈1.62

The rule

Variance

σ2=∑(xi−x)2n
  • xieach data value
  • x̄the mean
  • nhow many values

Common mistakes

  • Wrong
    ∑(xi−x)=0⇒σ2=0
    Right
    σ2=2.64

    The plain gaps always add to zero, so square them before adding.

  • Wrong
    σ=13.2/5
    Right
    σ=√2.64

    Dividing by the count gives the variance; the standard deviation is its root.

How to study this topic

  1. Read the idea first
  2. Then go through the steps, covering each result before you read it
  3. Then learn the rule
  4. Finally, check the common slips

Related lessons