CCalclabhub

Combinatorics

Factorial as a product

Multiply every positive integer from 1 through n. The product of the first six integers is 720, and the empty product for n = 0 is defined as 1.

Last updated

The Formula

n! = 1 x 2 x 3 x ... x n

Multiply every positive integer from 1 through n. The product of the first six integers is 720, and the empty product for n = 0 is defined as 1.

SymbolMeaning
nNon-negative integer
n!Factorial of n

What Each Symbol Means

ncount

Non-negative integer

The upper limit of the product; 6 in the worked case.

n!count

Factorial of n

The product of all positive integers up to n.

See It Worked With Real Numbers

A formula on its own does not tell you which number goes where. The how to calculate the factorial page applies this equation to a concrete case, shows every intermediate step, and names the mistakes that produce a wrong answer even when the algebra is right.

Where This Formula Appears

This equation is the working core of How To Calculate The Factorial, filed under Math. Every number the guide produces comes from substituting into this one line.

Common Questions

What is the formula for Factorial as a product?

The formula for Factorial as a product is n! = 1 x 2 x 3 x ... x n. Multiply every positive integer from 1 through n. The product of the first six integers is 720, and the empty product for n = 0 is defined as 1.

What units should I use with Factorial as a product?

Substitute n as a plain count, n! as a plain count. Convert every input to those units before you start, because the equation only returns the right answer when the units on both sides agree.

What is a common mistake when using Factorial as a product?

Assuming 0! is zero. Zero factorial is 1 by convention, because an empty product is the multiplicative identity. Many counting formulas depend on this value at their boundary. If you substitute zero, expressions such as the number of ways to choose all objects from a set collapse to the wrong answer.