How to Calculate Standard Deviation in Excel?

How to Calculate Standard Deviation in Excel?

Editorial Team · 2 min read

Standard deviation shows how spread out numbers are from the average. Excel calculates it with built-in functions. This guide explains how to calculate standard deviation in excel in plain language, with formula steps, examples, a quick reference table, and common mistakes to avoid.

Last updated: June 2026.

Quick answer

Formula: Use =STDEV.S(range) for a sample and =STDEV.P(range) when your data is the full population.

Example: If your values are in cells A2:A11, enter =STDEV.S(A2:A11) for sample standard deviation.

How to calculate it step by step

  1. Step 1: Put numeric values in one column or row.
  2. Step 2: Decide whether the data is a sample or full population.
  3. Step 3: Use STDEV.S for sample data.
  4. Step 4: Use STDEV.P for population data.
  5. Step 5: Check blanks, text, and outliers before trusting the result.

For a quick hand-check of variance or square roots, the Scientific Calculator can support the Excel result.

Example table

SituationCalculation or meaningUse case
STDEV.SSample standard deviationSurvey sample
STDEV.PPopulation standard deviationAll values included
AVERAGEMean valueUseful companion formula

Common mistakes

When to use a calculator

A calculator is most useful when the formula is clear but the arithmetic could distract you. Use it to check multiplication, division, powers, square roots, percentages, fractions, and repeated scenarios. For learning, write the formula first, then use the calculator to confirm the final number.

Search variations this answers

People search this topic in different ways, including STDEV.S Excel, STDEV.P Excel, standard deviation formula Excel. Instead of creating separate thin pages for each variation, this article groups the shared intent into one complete explanation.

Editorial review

BA
Reviewed by Beatrice AllenSpreadsheet Analytics Reviewer

This article was reviewed for clear formula use, practical examples, internal-link relevance, and whether the answer helps a real person complete the calculation without unnecessary jargon. It is educational content, not a substitute for a qualified professional where specialist judgement is required.

Reviewed: June 2026Formula visibleExamples includedPeople-first content