FormulaCraft

STDEV.S

STDEV.S is the modern replacement for the legacy STDEV function and calculates sample standard deviation using n-1 (Bessel's correction). Choose it when your data is a sample drawn from a larger population and you want an unbiased estimate of the population's spread.

Excel
=STDEV.S(B2:B5)
Google Sheets
=STDEV.S(B2:B5)

Verified example

Computed by a real spreadsheet engine on the sample data below.

CustomerWait (s)
C145
C2120
C330
C490

=STDEV.S(B2:B5)41.3067791046

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

How it works

  1. 1Reference your sample range: =STDEV.S(B2:B5).
  2. 2STDEV.S applies n-1 correction, giving a slightly larger value than STDEV.P for the same data.
  3. 3Prefer STDEV.S over the legacy STDEV for clarity and consistency in modern workbooks.

Need a version for your data?

Try: “Calculate sample standard deviation for a random sample of customer wait times

Related

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

Last reviewed: