1. Home
  2. Statistics
  3. Standard Deviation Calculator

Standard Deviation Calculator

Standard deviation measures how spread out numbers are around their mean. For 2, 4, 4, 4, 5, 5, 7, 9 the population standard deviation is 2 and the sample standard deviation is 2.138.

Not sure whether to use sample or population? If your numbers are only part of a bigger group (a survey, a test batch), use sample. That is the right choice most of the time.

Standard deviation of a list of numbers

Answer โ€”

How we got this

    Your next step

    Your answer carries over, so you donโ€™t have to type it again.

    Formulas

    Formula
    Population SD (ฯƒ)ฯƒ = โˆš( ฮฃ(x โˆ’ ฮผ)ยฒ รท N )
    Sample SD (s)s = โˆš( ฮฃ(x โˆ’ xฬ„)ยฒ รท (n โˆ’ 1) )
    VarianceThe SD squared

    Dividing by n โˆ’ 1 for a sample (Besselโ€™s correction) corrects for the fact that a sample tends to look less spread out than the whole population.

    Worked example

    Data 2, 4, 4, 4, 5, 5, 7, 9: mean = 40 รท 8 = 5. Squared differences: 9, 1, 1, 1, 0, 0, 4, 16, total 32. Population variance = 32 รท 8 = 4, so ฯƒ = 2. Sample variance = 32 รท 7 = 4.571, so s = 2.138.

    What the number tells you

    For data that roughly follows a bell curve, about 68% of values lie within 1 SD of the mean, 95% within 2 SD and 99.7% within 3 SD. A small SD means values cluster tightly; a large one means they are spread out.

    In Excel and Google Sheets

    WantFunction
    Sample SD=STDEV.S(A1:A20)
    Population SD=STDEV.P(A1:A20)
    Sample variance=VAR.S(A1:A20)

    Frequently asked questions

    Should I use sample or population standard deviation?

    Use sample if your data is a subset of a larger group, which is most real situations. Use population only when you have every member of the group.

    What is a good standard deviation?

    There is no universal good value. Compare it with the mean: the coefficient of variation (SD รท mean) shows the spread relative to the size of the numbers.

    What is the difference between variance and standard deviation?

    Variance is the average squared distance from the mean; standard deviation is its square root, in the same units as the data.

    Why divide by n โˆ’ 1?

    It corrects the bias that comes from estimating the mean from the same sample.

    Last updated ยท Written and checked by the AzCalculator team ยท Calculations run in your browser with full precision and are rounded only for display. How we build calculators