📏 Standard Deviation Calculator

Paste your numbers — get the sample and population standard deviation, variance, mean, median and quartiles, with every step shown.

Google Classroom Save to Pinterest Email me

Standard deviation formulas

Sample: s = √[ Σ(x − x̄)² ÷ (n − 1) ]  ·  Population: σ = √[ Σ(x − μ)² ÷ N ]

  1. Find the mean: add the values and divide by how many there are.
  2. Subtract the mean from each value (the deviations) and square each result.
  3. Add the squares — this is the sum of squares (SS).
  4. Divide SS by n − 1 for a sample (or by N for a population). That is the variance.
  5. Take the square root. That is the standard deviation.

Worked example

Eight quiz scores: 12, 15, 11, 18, 14, 16, 13, 17.

StepWorkResult
Mean116 ÷ 814.5
Squared deviations6.25, 0.25, 12.25, 12.25, 0.25, 2.25, 2.25, 6.25SS = 42
Sample variance42 ÷ 7s² = 6
Sample SD√6s ≈ 2.449
Population SD√(42 ÷ 8) = √5.25σ ≈ 2.291

Press “Try an example” above to see the same numbers worked out in the calculator. The idea behind each step is explained in the free lesson Spread: range, IQR and standard deviation.

In Excel, Google Sheets and on a TI-84

  • Sample SD: =STDEV.S(A1:A20) (older: =STDEV) · population SD: =STDEV.P(A1:A20)
  • Variance: =VAR.S and =VAR.P · mean: =AVERAGE · median: =MEDIAN
  • TI-83/84: enter the data in L1, then STAT → CALC → 1-Var Stats. Sx is the sample SD, σx the population SD.

Next: turn a value into a z-score with the z-score calculator, or build an interval with the confidence interval calculator.

Questions and answers

Should I use the sample or the population standard deviation?

Use the sample SD (divide by n − 1) when your numbers are a sample from a bigger group you want to describe — survey answers, lab measurements, test scores of one class used to learn about all students. That is almost always the case in coursework and research. Use the population SD (divide by N) only when you have every member of the group, such as the final grades of all 30 students in your own class and you only care about that class.

Why divide by n − 1 for a sample?

A sample’s values sit closer to their own mean than to the true population mean, so dividing by n would underestimate the spread. Dividing by n − 1 (Bessel’s correction) makes the sample variance an unbiased estimate of the population variance.

What is the difference between variance and standard deviation?

Variance is the average squared distance from the mean; standard deviation is its square root. SD is in the same units as your data (points, cm, dollars), so it is the one you report and interpret.

What is a “good” or “high” standard deviation?

It depends on the scale. Compare it with the mean using the coefficient of variation (SD ÷ mean): a CV under about 10% means the values are tightly clustered, over 30% means they vary a lot. For roughly bell-shaped data, about 68% of values fall within 1 SD of the mean and 95% within 2 SD.

How are the quartiles calculated?

Q1 is the median of the lower half and Q3 the median of the upper half; when n is odd, the middle value is left out of both halves. This is the method used by the TI-84 and most intro statistics textbooks. Excel’s QUARTILE.EXC and QUARTILE.INC interpolate, so they can differ slightly.

Can I paste data from Excel or Google Sheets?

Yes. Copy a column (or a row) and paste it into the box — values on separate lines, or separated by commas, spaces or tabs, all work. Use a dot for decimals.

More free tools for college students

🔔 Z-score calculatorValue to z-score and percentile, z to probability, percentile to z — with the curve shaded.⚗️ t-test calculatorOne-sample, two-sample (Welch or pooled) and paired t-tests: t, df, p-value, CI and effect size.🎯 Confidence interval calculatorIntervals for a mean or a proportion, margin of error, and the sample size you need.📉 Linear regression calculatorLine of best fit, r and r², slope test and prediction, with a scatterplot.🎓 GPA calculatorSemester and cumulative GPA on a 4.0 or 4.3 scale, with credit hours and a target-GPA planner.📝 Final grade calculatorWhat you need on the final to get an A, B or C — and what each final score would leave you with.⚖️ Weighted grade calculatorYour course grade from syllabus weights, in percent or points, plus what you need on the rest.📊 Statistics calculatorsStandard deviation, z-score, t-test, confidence interval and regression — with the steps shown.🃏 Flashcard makerMake a deck, learn it with spaced repetition, quiz yourself, print it, share it by link.🍅 Pomodoro study roomOne link, one shared focus timer for your whole study group — everyone sees the same countdown.📅 Class schedule makerYour weekly classes as a printable timetable and a phone lock-screen wallpaper.🔢 Word & character counterWords, characters, sentences, reading and speaking time, page estimate and a word-limit bar.🗂️ Essay outline builderIntro, body paragraphs, counterargument and conclusion with a word budget — copy, print or share.🎯 Thesis statement generator & checkerTurn your topic and reasons into thesis statements, then check yours for weak spots.🗓️ Exam study plannerYour exams in, a day-by-day study plan for finals out.📊 Live class pollStudents answer from their phones with a code or QR; the results fill the projector live.📋 Rubric generatorCriteria × performance levels with weights and points, ready to print, share or save as PDF.📑 Syllabus template builderFill in your course and get a clean one-to-three-page syllabus with schedule, grading and policies.🪑 Exam seating chart makerSpread students across the room with spacing and alternating exam versions. Print one chart and a seat list.🔖 APA, MLA & Chicago citation generatorBooks, articles and websites, plus a works-cited list.