FormulaCraft

How to calculate standard deviation in Excel and Google Sheets

Topic:RANK & statistical aggregates
Excel & Google Sheets
=STDEV(B2:B100)

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

Step by step

  1. 1Click the cell for the result.
  2. 2Enter =STDEV(B2:B100) for a sample of data.
  3. 3Use =STDEVP(B2:B100) instead when the range is the complete population.

Tips

Working on a sheet you inherited? Run the Auditor on the whole file first — it flags every #REF!, #N/A, broken column pattern, and inconsistent formula in seconds, free, no signup.

Frequently asked

What is the difference between STDEV and STDEVP?

STDEV treats the data as a sample of a larger group; STDEVP treats it as the whole population. Use STDEV unless you truly have every data point.

More on RANK & statistical aggregates

See all →

Formulas used

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: