Math Solver Free

Standard Deviation Formula

The standard deviation formula in both forms — population σ dividing by N and sample s dividing by n − 1 — built step by step on the variance, with one dataset worked all the way through.

Circle FormulasA = πr² · C = 2πr · d = 2rArea, circumference, diameter and radius — the whole circle family, worked both ways.Slope Formulam = (y₂ − y₁) / (x₂ − x₁)Rise over run from two points, the four slope types, and the sign mistakes to avoid.Geometric Sequence Formulasaₙ = a₁·rⁿ⁻¹ · Sₙ · S∞The nth term, the finite sum and the infinite sum — each verified by direct addition.Quadratic Formulax = (−b ± √(b² − 4ac)) / 2aSolve any ax² + bx + c = 0: the formula, the discriminant, and a worked example.Distance Formulad = √((x₂ − x₁)² + (y₂ − y₁)²)Distance between two points from Pythagoras: formula, reasoning and a 6-8-10 example.Midpoint FormulaM = ((x₁ + x₂) / 2, (y₁ + y₂) / 2)The point exactly halfway between two points is just the average of their coordinates.Pythagorean Theorema² + b² = c²a² + b² = c² in right triangles: check 3-4-5, find a missing leg or the hypotenuse.Area FormulasA = lw, A = ½bh, A = ((a + b) / 2)h, A = (d₁d₂) / 2Rectangle, triangle, parallelogram, trapezoid and rhombus areas on one page, with worked examples.Volume FormulasV = s³, V = πr²h, V = (4/3)πr³Cube, cuboid, cylinder, cone, sphere and triangular prism volumes, with worked examples.Exponent Formulas (Laws of Exponents)aᵐ · aⁿ = aᵐ⁺ⁿ, (aᵐ)ⁿ = aᵐⁿ, a⁻ⁿ = 1/aⁿProduct, quotient, power, zero, negative and fractional exponent rules with micro-examples.Logarithm Formulaslog_b(x) = y ⟺ bʸ = x; log_b(xy) = log_b(x) + log_b(y)Definition, product, quotient and power rules, change of base, and ln vs log₁₀ — with examples.Derivative Formulasd/dx xⁿ = n·xⁿ⁻¹Power, sum, exponential, log and trig derivative rules with a worked example.Integral Formulas∫xⁿ dx = xⁿ⁺¹/(n+1) + CPower rule, 1/x, eˣ, sin and cos antiderivatives, the + C, and definite integrals as area.Probability FormulasP(E) = favourable / totalBasic probability, complement, addition and multiplication rules, permutations and combinations, with dice and counting examples.Compound Interest FormulaA = P(1 + r/n)^(nt)A = P(1 + r/n)^(nt) and continuous compounding Pe^(rt), with $1,000 at 5% for 10 years worked both ways.Simple Interest FormulaI = P · r · tI = Prt and A = P + I, with $2,000 at 6% for 4 years worked to I = $480 and A = $2,480.Arithmetic Sequence Formulasaₙ = a₁ + (n − 1)dThe nth term aₙ = a₁ + (n − 1)d and the sum Sₙ = n/2 · (a₁ + aₙ), with 3, 7, 11, … worked to a₂₀ = 79 and S₂₀ = 820.Percentage Formulas% change = (new − old) / old × 100Percent of a number, percentage change and finding the whole, plus the percentage-points trap, with worked examples.Trigonometric Ratiossin θ = opposite / hypotenusesin, cos and tan on a right triangle, the reciprocal ratios csc, sec and cot, and the exact 30°/45°/60° values.

The Standard Deviation Formulas, Up Top

The standard deviation measures how spread out data are around their mean, in the same units as the data. It is the square root of the variance, and it comes in two versions:

  • Population: σ = √[ Σ(xᵢ − μ)² / N ], with variance σ² = Σ(xᵢ − μ)² / N
  • Sample: s = √[ Σ(xᵢ − x̄)² / (n − 1) ], with variance s² = Σ(xᵢ − x̄)² / (n − 1)

What the Symbols Mean

Each xᵢ is one data value. μ (mu) is the population mean and x̄ (x-bar) is the sample mean. N is the number of values in the whole population; n is the number in a sample. The symbol Σ means “add up”, and each term (xᵢ − mean)² is a squared deviation — how far a value sits from the mean, squared so that values below the mean do not cancel values above it.

Why Two Denominators: N vs n − 1

When you have every value in the group you care about, divide by N: the squared deviations are the complete story. A sample, though, is centred on its own mean x̄, which was itself fitted to those same values, so the deviations come out slightly too small on average. Dividing by n − 1 instead of n inflates the result just enough to correct that bias — this is Bessel's correction. The sample formula therefore always gives a slightly larger standard deviation than the population formula on the same numbers, and the gap shrinks as n grows.

Worked Example: 4, 8, 6, 10, 2

Step 1 — the mean. (4 + 8 + 6 + 10 + 2) / 5 = 30 / 5 = 6. Step 2 — deviations and squares. 4 − 6 = −2 → 4; 8 − 6 = 2 → 4; 6 − 6 = 0 → 0; 10 − 6 = 4 → 16; 2 − 6 = −4 → 16. Step 3 — add them. 4 + 4 + 0 + 16 + 16 = 40. Step 4 — variance. Population: σ² = 40 / 5 = 8. Sample: s² = 40 / (5 − 1) = 40 / 4 = 10. Step 5 — square root. σ = √8 ≈ 2.83; s = √10 ≈ 3.16. Same data, two answers — which one is right depends entirely on whether these five values are the whole group or a sample from a larger one.

Common Mistakes

  • Using N for a sample. Exam and research data are almost always samples: divide by n − 1.
  • Forgetting the square root. 8 and 10 above are variances, in squared units; the standard deviation is the root.
  • Averaging the deviations without squaring. The raw deviations always add to zero — squaring is what makes spread visible.
  • Rounding the mean early. Keep full precision until the final root, or small errors compound through every squared term.

What the Size of σ Tells You

A standard deviation is only meaningful next to the mean it belongs to. A σ of 2.83 around a mean of 6, as in our example, is a wide spread — the typical value sits nearly half the mean away from it. The same σ around a mean of 600 would be a tight, precise dataset. For roughly bell-shaped data there is a useful rule of thumb: about 68% of values fall within one standard deviation of the mean, about 95% within two, and about 99.7% within three. That is why a value more than three standard deviations from the mean deserves a second look: under a bell shape it should be rare, so it often signals an error, an outlier, or data that are not bell-shaped at all.

Check Yours With the Calculator

Work through our guide on how to find standard deviation for more datasets, then verify your numbers in the standard deviation calculator. For the standard textbook treatment, see OpenStax Introductory Statistics 2e. More formulas live in the formulas library.

Frequently Asked Questions

What is the standard deviation formula?

For a population, σ = √[ Σ(xᵢ − μ)² / N ]; for a sample, s = √[ Σ(xᵢ − x̄)² / (n − 1) ]. In both cases: find the mean, square each deviation, average them (with the right denominator), then take the square root.

Why does the sample formula divide by n − 1?

Because a sample's deviations are measured from the sample's own mean, which fits those values and makes the spread look slightly too small. Dividing by n − 1 (Bessel's correction) compensates for that bias.

What is the difference between variance and standard deviation?

The variance is the average squared deviation; the standard deviation is its square root. For 4, 8, 6, 10, 2 the population variance is 8 while the population standard deviation is √8 ≈ 2.83, back in the original units.

Can standard deviation be zero?

Yes — when every value is identical, every deviation is 0, so the variance and standard deviation are both 0. It can never be negative, since it is a square root of squared quantities.

Should I use σ or s for my data?

Use σ (divide by N) when your values are the entire group of interest. Use s (divide by n − 1) when they are a sample used to estimate a larger group's spread.

Related Tools & Guides