Standard deviation

Calculate mean, variance, and standard deviation for a numeric dataset.

{{ standardDeviation.message }}

Overview

The idea of measuring data dispersion around a central value traces back to the 1880s and 1890s, when Francis Galton and Karl Pearson were building the mathematical foundations of modern statistics. Galton coined the term deviation to describe distances from the median in his studies of genetic inheritance. Pearson, in 1893, introduced the term standard deviation and the symbol σ (lowercase sigma) in a paper on Darwinian evolution theory. The context matters: modern statistics was born partly from questions about heredity, and standard deviation was literally invented to quantify how much children deviated from parental traits. The normal distribution — formalized by Gauss in 1809 and Laplace in 1812 — provides the theoretical framework: approximately 68% of data falls within 1σ of the mean, 95% within 2σ, and 99.7% within 3σ, the Empirical Rule or 68-95-99.7 Rule.

In financial markets, standard deviation is the risk measure par excellence. Harry Markowitz, in his 1952 paper Portfolio Selection — work that earned him the Nobel Prize in Economics in 1990 — formalized modern portfolio theory around two parameters: expected return (mean) and risk (standard deviation). All options pricing, from the Black-Scholes model (1973) to the concept of implied volatility in derivatives markets, uses σ as a central variable. In industrial quality control, Six Sigma programs — popularized by Motorola in the 1980s and GE in the Jack Welch era — define quality as operating at 6 standard deviations from specification, theoretically implying 3.4 defects per million opportunities.

In data science and machine learning, standard deviation is everywhere: Z-score normalization transforms each value into how many standard deviations it is from the mean (z = (x - μ) / σ), the standard preprocessing step for algorithms like logistic regression, SVM, and neural networks that are sensitive to feature scale. One important technical note: this tool computes population standard deviation (divides by n), appropriate when working with an entire population. When you have only a sample and want to estimate the population deviation, use sample standard deviation (divides by n-1), known as Bessel's correction — introduced by Friedrich Bessel in the nineteenth century to correct estimation bias in small samples. Enter your values and get mean, variance, and standard deviation in a single calculation.

Technical deep dive

Common questions summarized

  • What is this tool for?: It runs fully in your browser: useful to validate, format, or convert data in everyday development.
  • Are my inputs sent to a server?: Processing happens locally with JavaScript. We do not store what you paste into the text areas.
  • Can I use this for real production data?: Use at your own risk. For secrets (passwords, tokens), prefer controlled environments and your company policies. And always review the generated contents. Never trust blindly things you see on the internet.

Sample payload to try

  • See also the larger "Code Snippets" sample; paste this excerpt to try locally: Example — Valores: 10, 12, 23, 23, 16, 23, 21, 16

Code Snippets

Code example
Valores: 10, 12, 23, 23, 16, 23, 21, 16

Example

Valores: 10, 12, 23, 23, 16, 23, 21, 16

FAQ

What is this tool for?

It runs fully in your browser: useful to validate, format, or convert data in everyday development.

Are my inputs sent to a server?

Processing happens locally with JavaScript. We do not store what you paste into the text areas.

Can I use this for real production data?

Use at your own risk. For secrets (passwords, tokens), prefer controlled environments and your company policies. And always review the generated contents. Never trust blindly things you see on the internet.