Skip to main content

Excel STDEV.S Function

doc stdev function 1

If you want to follow along with this tutorial, please download the example spreadsheet.

doc stdev function 1


The Excel STDEV.S function returns standard deviation based on a given sample of data. It can be used to measure how widely values are dispersed from the mean value. STDEV.S function replaces the STDEV function, with the same behavior.

Syntax and arguments

Formula syntax

STDEV.S(number1, [number2], ...)


  • Number1: Required, a number, a reference to a sample of a population.
  • Number2, ...: Optional, the second number or reference that is up to 255 corresponding to a sample of a population.

Return Value

The STDEV.S function returns a numeric value.


1. STDEV.S function’s arguments are a sample of the population, if the data represents the entire population, STDEV.P function may be rather appropriate.

2. STDEV function using “n – 1” method to calculate.

3. Arguments can either be numbers or names, arrays or references that contains numbers.

4. Logical values and text representations of numbers that directly are typed into the list of arguments are counted.

5. If arguments are arrays or references, only numeric values are counted in the function, while empty cells and texts of error values are ignored.

6. STDEV.S function uses the equation as below:

doc stdev function 1


X is the sample mean, n is the sample size.


Excel 2010 and later

Usage and Examples

Example: Basic Usage

There is a table containing a sample data list in two columns B4:C8. To get the standard deviation of the sample, please use formula as below:


Or you can directly type the data as an array in the formula


Press Enter key to get the standard deviation.

doc stdev function 1

Standard Deviation Functions in Excel

Function Data Set Text annd Logicals
STDEV Sample Ignored
STDEV.S Sample Ignored
STDEVP Population Ignored
STDEV.P Population Ignored
STDEVA Sample Evaluated
STDEVPA Population Evaluated

Relative Functions:

  • Excel STDEV Function
    The Excel STDEV function returns standard deviation based on a given sample of data.

  • Excel STDEV.P Function
    The Excel STDEV.P function returns standard deviation based on the entire population. It can be used to measure how widely values are dispersed from the mean value.

  • Excel PERCENTRANK.INC Function
    The Excel PERCENTRANK.INC function returns the rank of a value in a data set as a percentage (includes 0 and 1) of the data set.

  • Excel PERMUT Function
    The Excel PERMUT function returns the number of permutations of a given number of objects from a set of objects.

The Best Office Productivity Tools

Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

  • One second to switch between dozens of open documents!
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
Rate this post:
0   Characters
Suggested Locations