AdBlocker Detected
adblocker detected
Calculatored depends on revenue from ads impressions to survive. If you find calculatored valuable, please consider disabling your ad blocker or pausing adblock for calculatored.

Sum of Squares Calculator


The sum of squares calculator automates the process of calculating the total of all the numbers you have squared (multiplied by themselves) without doing the math manually. It saves your time and effort especially when dealing with multiple calculations.

What is the Sum of Squares?

In Algebra,

“The sum of squares refers to adding up the squares of individual numbers or variables to find the total”.

In Statistics,

“The sum of squares is a measure of how much data points vary from the mean (average)”.

It's found by squaring the differences between each data point and the mean, and then adding these squared differences together. It's used to understand the spread or variability in a data set.

The Expressions of Sum of Squares:

You can find the sum of squares using the sum of squares formula in two different methods: one involving Algebra and the other related to Statistics. Here are the formulas to calculate the sum of squares for two values:

Sum of Squares Formulas
In Statistics  

Sum of Squares:


= Σ(xi - x̄)2

In Algebra  

Sum of Squares of Two Values:


= a2 + b2 = (a + b)2 − 2ab

For “n” Terms  

Sum of Squares Formula for “n” numbers


= 12 + 22 + 32 ……. n2 = [n(n + 1)(2n + 1)] / 6

In this table,

  • $$ ∑  =  Sum $$
  • $$ xi  =  Each value in the set $$
  • $$ x̄   =  Statistical mean $$
  • $$ a, b  =  Numbers $$
  • $$ n  =  Number of terms $$
  • $$ xi – x̄  =  Deviation $$
  • $$ (xi – x̄)^2  =  Sum of squared deviations $$

The Sum of Squares Calculations and Examples:

You can find the sum of squares for both Statistics and Algebra manually by using a sum of squares formula. let's solve an example of the sum of squares according to statistics.

Example 1: Statistics Calculation

Imagine we have a set of three numbers: 5, 8, and 11 then, how to calculate sum of squares for this? 

Here’s the sum of squares equation to calculate this which includes:

Total sum of the squares = Σ (Xi - X̄)²

First, find the average (X̄) of these numbers:

X̄ = (5 + 8 + 11) / 3 = 24 / 3 = 8

Next, subtract the average (X̄) from each of the numbers and square the result:

For 5: (5 - 8)² = (-3)² = 9
For 8: (8 - 8)² = (0)² = 0

For 11: (11 - 8)² = (3)² = 9

Now, add up these squared values:

9 + 0 + 9 = 18

So, the total sum of squares for these numbers is 18.

Example 2: Algebraic Calculation

Let’s assume we have two numbers: a = 5 and b = 3. We want to find the sum of squares for these numbers using the following formula:

$$ The sum of squares of two values = a^2 + b^2 = (a + b)^2 − 2ab $$

$$ First, calculate a^2 and b^2 $$

$$ a^2 = 5^2 = 25 $$

$$ b^2 = 3^2 = 9 $$

Now use the formula to find the sum of squares:

$$ (a + b)^2 = (5 + 3)^2 = 8^2 = 64 $$

$$ 2ab = 2 * 5 * 3 = 30 $$

$$ Now subtract 2ab from (a + b)^2: $$

$$ (a + b)^2 - 2ab = 64 - 30 = 34 $$

So the sum of the squares of a and b (5 and 3) is 34.

How Sum of Squares Calculator Serve you?

You will see the following results once you have filled in all the fields:

The sum of squares for statistical:

You get accurate and instant results about the sum of squares for statistics and also give step-by-step calculations through which you clear your concepts more about this term.

The sum of squares for algebraic:

The sum of squares calculator provides you with complete step-by-step calculations of algebraic problems in a matter of seconds.

Steps to use the Sum of Squares Calculator:

To use the sum of squared residuals calculator to pursue functioning, you just have to follow simple steps.

What to Enter?

  • First of all, select the standard by which the numbers would be separated 
  • After that provide the values that you are going to calculate the sum of squares.


What is the sum of squares error?

The difference between an observed value and a predicted value is known as the sum of squares error. A sum of squares error: SSE represents the sum of squares error, also known as the residual sum of squares. You can also use sse calculator to find this.

References: Sum of Squares, What is the Sum of Squares? Sum of Squares Formula, Steps to Find Sum of Squares, Sum of Squares in Statistics, and Sum of Squares Error.