Resources

📈 Calculate the standard deviation and variance

Type your data and get the variance and standard deviation step by step: the mean, the squared differences and the final root. Plus the mean, median and mode.

Data

Separate them with commas and a space (3, 5, 7), semicolons or spaces. Decimals with a point: 2.5 3.1.

Examples:

Data read, sorted: 3 · 5 · 7 · 7 · 9

Data (N)

5

Mean

6.2

Median

7

Mode

7

Range

6

Standard deviation

2√26/5 ≈ 2.04

012fᵢ3: 1135: 1157: 2279: 119Me

Frequency table

xᵢfᵢFᵢhᵢ%
3110.220 %
5120.220 %
7240.440 %
9150.220 %
N5

Mean (x̄)

  1. Add up all the data: each value times how often it appears.
  2. 3 + 5 + 7·2 + 9 = 31
  3. Divide by the number of data values, N = 5: x̄ = 31 / 5 = 6.2

Median (Me)

  1. With the data sorted, the median is the middle value. There are N = 5 values, which is odd.
  2. Middle position: (N + 1) / 2 = 3. Value number 3 is 7.
  3. To find a position, look for the first row whose cumulative frequency (Fᵢ) reaches that number.
  4. Me = 7

Mode (Mo)

  1. The most repeated value is 7, 2 times: Mo = 7.

Range

  1. Maximum − minimum = 9 − 3 = 6

Variance and standard deviation

  1. How far the data are from the mean, on average. For each value: its distance to the mean, squared, times its frequency.
  2. σ² = Σ fᵢ·(xᵢ − x̄)² / N = ((3 − 6.2)² + (5 − 6.2)² + 2·(7 − 6.2)² + (9 − 6.2)²) / 5 = 4.16
  3. σ = √σ² = 2√26/5 ≈ 2.04
🍪

We use cookies

Tuthor uses essential cookies to work and, with your permission, analytics cookies to improve the experience.