Sum of naturals & squares calculator

Closed formulas for 1+2+…+n and 1²+2²+…+n².

Loading tool…

Recommended next step

Related math tools

After using Sum of naturals & squares calculator, continue with 2×2 matrix determinant & inverse.

Open next

Tools selected to complete the same task.

4 steps

Tool guide

Sum of naturals & squares calculator: how it works

Practical information to understand the result and use this tool correctly.

About Sum of naturals & squares calculator

Gauss’s formula sums 1 through n in constant time.

The sum of squares formula is a standard discrete-math identity.

Ideal for checking homework and induction examples.

How to use it

  1. 1Enter n ≥ 0.
  2. 2Read both closed-form results.
  3. 3Try small n to verify by hand.

Frequently asked questions

Sum of cubes?
That equals [n(n+1)/2]² — not included here yet.
n = 0?
Both sums are 0.