Sum of Fourth Powers Calculator

Add the fourth powers of the first n whole numbers with a closed-form polynomial.

Math and PercentUpdated 2026-11-192 min read
Sum of Fourth Powers Calculator
A whole number from 1 to 10,000.
Sum of fourth powers
...
n used...
Closed form used...

What it does

The sum of the fourth powers of the first n positive whole numbers has a compact closed form. Rather than adding thousands of terms, you can evaluate a degree five polynomial and get the exact integer immediately.

This tool takes n and returns that sum. The page opens with n equal to 4, where one plus sixteen plus eighty one plus two hundred fifty six gives three hundred fifty four.

The formula is n times n plus 1 times 2n plus 1 times 3n squared plus 3n minus 1, all divided by 30. Each factor is an integer, and the product is always divisible by 30.

Power sums appear when deriving formulas for sums of cubes, in numerical analysis, and in problems about moments of discrete distributions. The fourth power sum follows the same telescoping method as the lower order sums.

The tool accepts n up to ten thousand and reports the result with thousands separators. The exact integer is computed without floating point rounding.

How to use

  1. Enter the last whole number n.
  2. Read the sum of fourth powers as the main result.
  3. Check the closed form displayed for reference.
  4. Verify a small case by adding terms by hand.
  5. Try n = 10 to see the total of 25,333.
  6. Compare with the sum of cubes to see the faster growth.

Formula

Sum from k = 1 to n of k to the fourth = n(n+1)(2n+1)(3n squared + 3n - 1) / 30
n
The last whole number included.
k
The running index from 1 to n.
sum
The total of all fourth powers, an exact integer.

One derivation starts from the expansion of (a+1) to the fifth power, sums the resulting equations, cancels the telescoping fifth powers, and substitutes the known formulas for lower power sums. The result simplifies to the polynomial shown above.

Worked example

Example: first four fourth powers

The page opens with n = 4.

  1. List the fourth powers: 1, 16, 81 and 256.
  2. Add them directly to get 354.
  3. Evaluate the formula: 4 times 5 times 9 times (48 plus 12 minus 1), all over 30.
  4. The bracket is 59, and 4 times 5 times 9 is 180.
  5. 180 times 59 is 10,620, and dividing by 30 gives 354.
  6. The tool reports sum 354.

Reference table

Sums of fourth powers for sample n
nTerms addedSum of fourth powers
41, 16, 81, 256354
101 through 10 to the fourth25,333

Limits

  • Accepts whole numbers of n from 1 to 10,000.
  • Starts at 1, not at 0.
  • The result is an exact integer.
  • The tool does not sum fourth powers of an arbitrary list.

Common mistakes

  • Using the sum of cubes formula by mistake.
  • Forgetting to divide by 30.
  • Starting the sum at zero and expecting a different result.
  • Using 3n squared minus 3n minus 1 instead of plus 3n.
  • Expecting the sum to grow like a square.

Try it yourself

Quick checks. Answers sit tucked under each question.

Sum of the first ten fourth powers?

25,333.

What is one to the fourth plus two to the fourth?

1 plus 16, which is 17.

How fast does the sum grow?

Roughly like n to the fifth power divided by five.

Questions

What is the closed form?

n times n plus 1 times 2n plus 1 times 3n squared plus 3n minus 1, divided by 30.

Is the result always an integer?

Yes, the product is always divisible by 30.

Where do power sums appear?

In series, numerical methods and discrete moment calculations.

Can I use n = 0?

The sum would be zero, but this tool starts at n = 1.

How is the formula derived?

By summing expansions of consecutive fifth powers and cancelling telescoping terms.

Is there a formula for any power?

Yes, power sums are polynomials of degree r plus one in n.

Sources

How this page was checked. The formula above was matched against the cited sources, and the worked example was run through the tool on this page before publishing. If you spot an error, contact us so we can fix it and note the correction.