STDEV

The STDEV function calculates the standard deviation based on a sample.

STDEV for BigQuery

Calculates the sample standard deviation of a data column.

Sample usage

STDEV(table_name!price)

Syntax

STDEV(column)

  • column – The data column of the sample.

Tip: Returning sample standard deviation across multiple columns is not supported

Sample usage

STDEV(1,2,3,4,5,6,7,8,9,10)

STDEV(A2:A100)

Syntax

STDEV(value1, [value2, …])

  • value1 – The first value or range of the sample.

  • value2, …[ OPTIONAL ] – Additional values or ranges to include in the sample.

Notes

  • Although STDEV is specified as taking a maximum of 30 arguments, Google Sheets supports an arbitrary number of arguments for this function.

  • If the total number of values supplied as value arguments is not at least two, STDEV will return the #DIV/0! error.

  • STDEV will return an error if any of the value arguments include text. If any of the value arguments reference a cell that contains text, those cells will be ignored. To calculate the standard deviation while interpreting text values as 0, use STDEVA.

  • STDEV calculates the standard deviation for a sample. To calculate the standard deviation across an entire population, use STDEVP.

  • STDEV is equivalent to the square root of the variance, or SQRT(VAR(…)) using the same dataset.

See also

VARPA: Calculates the variance based on an entire population, setting text to the value '0'.

VARP: Calculates the variance based on an entire population.

VARA: Calculates the variance based on a sample, setting text to the value '0'.

VAR: Calculates the variance based on a sample.

STDEVPA: Calculates the standard deviation based on an entire population, setting text to the value '0'.

STDEVP: Calculates the standard deviation based on an entire population.

STDEVA: Calculates the standard deviation based on a sample, setting text to the value `0`.

SKEW: Calculates the skewness of a data set, which describes the symmetry of that data set about the mean.

KURT: Calculates the kurtosis of a data set, which describes the shape and in particular the 'peakedness' of that data set.

DVARP: Returns the variance of an entire population selected from a database table-like array or range using an SQL-like query.

DVAR: Returns the variance of a population sample selected from a database table-like array or range using an SQL-like query.

DSTDEVP: Returns the standard deviation of an entire population selected from a database table-like array or range using an SQL-like query.

DSTDEV: Returns the standard deviation of a population sample selected from a database table-like array or range using an SQL-like query.

DEVSQ: Calculates the sum of squares of deviations based on a sample.

AVEDEV: Calculates the average of the magnitude of deviations of data from a data set's mean.

Examples

true
Visit the Learning Center

Using Google products, like Google Docs, at work or school? Try powerful tips, tutorials, and templates. Learn to work on Office files without installing Office, create dynamic project plans and team calendars, auto-organize your inbox, and more.

Search
Clear search
Close search
Main menu
7383467305554734495
true
Search Help Centre
true
true
true
true
true
35
false
false