Skip to calculators
calcmintly

Sum of Squares

Sum the squares of positive integers from one through n.

Add to workspace

Your numbers

Local calculations. Results are estimates, not professional advice.

Sum of squares

—

Use consistent units. The result follows the assumptions you enter.

Formula

1²+2²+…+n² = n(n+1)(2n+1)/6

Sum the squares of positive integers from one through n.

Worked example

Last integer n
100
Sum of squares
338,350

Scope and limitations

Use consistent units. The result follows the assumptions you enter.

Inputs are checked for missing values and allowed ranges. A result outside the finite numeric range is not displayed. Rounding affects display, while the calculation uses the model’s numeric precision.

Check your units and assumptions before relying on a result. Changing a label does not convert a currency or physical unit.

Formula version: 103023b2786f · Example checked:

Methodology

Related tools