CCalclabhub

Math · 93 calculators

Factorial Calculator

A factorial answers a counting question: in how many orders can a set of distinct objects be arranged? The answer is the product of every positive integer up to n, written n!, and this calculator multiplies six visible factors so nothing is hidden. With the factors 1, 2, 3, 4, 5 and 6 the product is 720, while stopping at five gives 120 and stopping at four gives 24.

Last updated

Factorial (six factors)

720

Product through five factors
120
Product through four factors
24
Ratio of six-factor to five-factor products
6

Values update as you type. This calculator covers the single scenario its formula assumes — see Common Mistakes for what it leaves out.

The formula this calculator uses

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

n
The non-negative integer whose factorial is wanted
n!
The product of all positive integers up to n
0!
The empty product, defined as 1

How to check the result by hand

  1. 1

    Write out the factors

    List every positive integer up to the number you need. For six factorial the list is 1, 2, 3, 4, 5 and 6. Do not include zero: multiplying by zero would collapse the answer, and zero factorial is a separate convention. Writing the list first makes it easy to see whether any factor has been omitted.

  2. 2

    Multiply in order

    Work from left to right: 1 x 2 = 2, then 2 x 3 = 6, then 6 x 4 = 24, then 24 x 5 = 120 and finally 120 x 6 = 720. Keeping a running total prevents the most common arithmetic slips. Each step multiplies by the next integer, never adds it.

  3. 3

    Record the running products

    Note the totals at useful checkpoints. Through four factors the product is 24, through five it is 120 and through all six it is 720. These intermediate values are the same quantities the calculator reports as productThroughFour and productThroughFive. They also let you resume quickly if a later multiplication goes wrong.

  4. 4

    Check the result with a ratio

    Divide the final product by the one before it. Here 720 / 120 = 6, which is exactly the last factor. If the quotient is anything other than n, a factor has been duplicated or missed. This check costs one division and catches most manual errors.

  5. 5

    Interpret the number

    The answer 720 is the number of distinct orderings of six different objects, assuming no ties or repetitions. If there is nothing to arrange, use the convention 0! = 1, the empty product. State the factorial as an exact integer where possible, because rounded values hide the counting meaning.

Common Questions

How does the Factorial Calculator work?

Multiply the integers from 1 up to n inclusive. The six-factor calculator shows the product through four as 24, through five as 120 and through all six as 720, with the ratio 6! / 5! equal to 6. By convention 0! is defined as 1.

What do I need to enter in the Factorial Calculator?

It takes 6 inputs: First factor, Second factor, Third factor, Fourth factor, Fifth factor, Sixth factor. Fields that expect a unit say so next to the label.

Where does Factorial (six factors) come from?

It comes from 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 is the most common mistake with the Factorial Calculator?

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.

For worked examples, common mistakes and the limits of this formula, read the full How To Calculate The Factorial page.