Skip to content
    Greek Mathematician Mascot - Daskalos
    Mathimatikos

    60% off your first year

    Terms

    Student Pro: €35.60 for the first year instead of €89

    Teacher Pro: €75.60 for the first year instead of €189

    Code LAG60. One use per account. Renews automatically at the regular price. Cancel anytime.

    View plans

    Variance and standard deviation

    Calculate variance and standard deviation with an explicit choice of population or sample.

    Calculate the result

    Separate up to 50 values with a Greek semicolon (;), a new line, or a space. Write decimals with comma or dot.

    σ2=∑(xi−xˉ)2ns2=∑(xi−xˉ)2n−1

    Worked example

    Problem

    For the sample 2, 4, 6, calculate the mean, sample variance, and standard deviation. Explain why we divide by n−1.

    The sample 2, 4, 6 has mean 4, sample variance 4 and sample standard deviation 2.

    1. Find the mean

      xˉ=2+4+63=4
    2. Find the sample variance

      s2=(2−4)2+(4−4)2+(6−4)23−1=4
    3. Take the square root

      s=4=2
    Ask AI for a step-by-step solution

    Common mistake

    For the whole population we divide by n. For the usual sample variance we divide by n−1, so we need at least two values.