Skip to content
RK Calculator
Menu

Sum of Squares Calculator

Find the sum of squared deviations from the mean for a list of numbers, with each squared deviation.

Change the values and press Calculate to work out your own figures.

Enter numbers to find the sum of their squared deviations from the mean.

About numbersValues separated by commas, spaces or new lines, for example 10, 2, 38, 23.
Result
Sum of squares
1,059.5
Count
8
Sum
178
Mean
22.25

The sum of squared deviations from the mean is 1,059.5.

Squared deviations
Valuex − mean(x − mean)²
10-12.25150.0625
2-20.25410.0625
3815.75248.0625
230.750.5625
3815.75248.0625
230.750.5625
21-1.251.5625
230.750.5625
Show the working
  1. Mean = 22.25
  2. SS = Σ(x − mean)² = 1,059.5

How to use it

Enter numbers to find the sum of their squared deviations from the mean.

Paste or type the numbers separated by commas, spaces or new lines. Results are worked out exactly and shown to 12 significant figures; Show the working lists each step.

Key facts

SS = Σ(x − mean)²

Where it is used

The sum of squares is the building block of variance, standard deviation and regression; divide it by N or n − 1 to get the variance.

Questions

Is this the sum of the squared values?

No; it is the sum of the squared distances from the mean.

Can it be negative?

No.

Formulas

SS = Σ(x − mean)²

Sources

Limitations

  • Up to 5,000 values. Values are separated by commas, spaces or new lines, so write 1250 rather than 1,250.

Formula version 0.1.0Reviewed