Standard Deviation Calculation

Home » Engineering » Standard Deviation Calculation

In today’s world the daily data generating is enormous. Getting insights and analyzing it is crucial and important task. Here standard deviation definitely become useful. In this article calculation of standard deviation is explained.

standard deviation calculation

Standard Deviation represents the spreadness of data, or dispersion of values in data relative to mean of the data. It is a measure of how each number is observed from the mean.

Standard deviation is a important tool in statistical and probabilistic analysis. Alone it is not sufficient to finding results and used along with other statistical tools. In this article automatic tool for standard deviation calculation is included, which is helpful for students, engineers and data analysts.


Square of Standard deviation is called Variance. It helps measure how far the data has spread out. Concept of standard deviation applies only when data follows normal distribution. We can say data graph is in bell shape.

Formula of standard deviation

    \[ \sigma = \sqrt{\frac{\sum_{i=1}^{n}{(x-\bar{x})^2}}{N}} \]

standard deviation of sample and population
population vs sample

In Statistics the statistical operations on whole data and a portion of it handled differently. Here comes the concept of sample and population. Complete or whole data is called as population i.e. the data which we are trying to analyse and make conclusions out of it. Part of the whole data is the sample.

How to calculate standard deviation:

  • Calculate mean of the data. For this add all values in data and divide by size of data.
  • Subtract mean from every value and square the each resultant value, then sum all.
  • Divide the final value with size of data (N). If partial data is taken for calculation, then divide final value with size of data taken minus one (n-1) instead of N.
  • Then apply square root, it is the standard deviation of the data.

By knowing the standard deviation one can get idea of the variation that is normal or drastic. Standard deviation used in the process of identifying the outliers of data i.e. unusual instances of data.

Standard Deviation Example

Students Marks in a Class

Calculating standard deviation of marks obtained by students in a class, who attend a exam. All marks are listed below in ascending order. No. of students in the class is 12. Maximum marks are 100, Pass marks are 50.

students in class standard deviation

List of Marks: 31, 42, 54, 56, 57, 63, 67, 75, 76, 82, 86, 91

Mean or average: 65

Subtract average from each data value
31-65, 42-65, 54-65, 56-65, 57-65, 63-65, 67-65, 75-65, 76-65, 82-65, 86-65, 91-65
-34, -23, -11, -9, -8, -2, 2, 10, 11, 17, 21, 26

Square all values
1156, 529, 121, 81, 64, 4, 4, 100, 121, 289, 441, 676

Sum above numbers
3585

Divide by total no of data values
3585/12
298.33

Square root of above value
298.33
17.28

Std: 17.28

Graph Representation

standard deviation calculation graph
Mean and Upper and Lower Standard Deviation lines

Lower and Upper standard deviation limits:

47.71, 82.28

0 —47.71 — 65 — 82.28 — 100

Observations

Standard deviation of 17 marks tells that students performance varies significantly.
Lower standard deviation spanned below into pass mark limit.

The above procedure can be used to calculate standard deviation manually or use online calculator in this page for quick calculation.

For electronics students tool Circuit Equivalent Resistance Calculator will be useful. Try it for solving circuits.