# Sum of Squares Calculator

## About Sum of Squares Calculator

The Sum of Squares Calculator is used to calculate the sum of first n squares or the sum of consecutive square numbers from n_{1}^{2} to n_{2}^{2}.

## Sum of Squares Formula

The sum of the first n square numbers is equal to:

n(n + 1)(2n + 1) / 6

The sum of consecutive square numbers from n_{1}^{2} to n_{2}^{2} is equal to:

n_{1}^{2} + (n_{1} + 1)^{2} + ... + n_{2}^{2} = n_{2}(n_{2} + 1)(2n_{2} + 1) / 6 - n_{1}(n_{1} - 1)(2n_{1} - 1) / 6