ok.com
Browse
Log in / Register

What is a Factorial and How Do You Calculate It?

OKer_khyh4js
12/04/2025, 07:28:35 AM
factorial calculation

A factorial, denoted as n!, is a mathematical function that multiplies a whole number by every whole number below it down to 1. For example, 5! = 5 x 4 x 3 x 2 x 1 = 120. This concept is fundamental in fields like combinatorics, probability, and calculus for counting possible arrangements.

What is a Factorial Used For?

Factorials are rarely used in isolation but are the building blocks for calculating permutations and combinations. Permutations concern the number of ways to arrange items where the order matters, while combinations deal with groupings where the order does not matter. The formulas for both rely on factorials:

  • Combinations Formula: nCr = n! / (r! * (n - r)!)
  • Permutations Formula: nPr = n! / (n - r)!

How Do You Calculate a Factorial by Hand?

Calculating a factorial involves a straightforward, sequential process. Let's break down how to calculate 9!.

  1. Identify the Number: Start with the positive integer followed by an exclamation point, in this case, 9.
  2. Write the Sequence: Write out the sequence of multiplication from the number down to 1: 9 x 8 x 7 x 6 x 5 x 4 x 3 x 2 x 1.
  3. Multiply Sequentially: Multiply each number in the sequence. It's often easiest to multiply in pairs to simplify the steps.
    • 9 x 8 = 72
    • 72 x 7 = 504
    • 504 x 6 = 3,024
    • 3,024 x 5 = 15,120
    • 15,120 x 4 = 60,480
    • 60,480 x 3 = 181,440
    • 181,440 x 2 = 362,880
    • 362,880 x 1 = 362,880 Therefore, 9! = 362,880.

What Are the Values of Common Factorials?

While small factorials are easy to compute, larger ones grow exponentially. A special case defined by mathematicians is 0! (zero factorial), which is equal to 1. The table below provides a quick reference for the first 15 factorials plus zero.

nn! (Formula)Result
01 (by definition)1
111
22 x 12
33 x 2 x 16
44 x 3 x 2 x 124
55 x 4 x 3 x 2 x 1120
66 x 5 x 4 x 3 x 2 x 1720
77 x 6 x 5 x 4 x 3 x 2 x 15,040
88 x 7 x 6 x 5 x 4 x 3 x 2 x 140,320
99 x 8 x 7 x 6 x 5 x 4 x 3 x 2 x 1362,880
1010 x 9 x 8 x 7 x 6 x 5 x 4 x 3 x 2 x 13,628,800
1111 x 10 x 9 x 8 x 7 x 6 x 5 x 4 x 3 x 2 x 139,916,800
1212 x 11 x 10 x 9 x 8 x 7 x 6 x 5 x 4 x 3 x 2 x 1479,001,600
1313 x 12 x 11 x 10 x 9 x 8 x 7 x 6 x 5 x 4 x 3 x 2 x 16,227,020,800
1414 x 13 x 12 x 11 x 10 x 9 x 8 x 7 x 6 x 5 x 4 x 3 x 2 x 187,178,291,200
1515 x 14 x 13 x 12 x 11 x 10 x 9 x 8 x 7 x 6 x 5 x 4 x 3 x 2 x 11,307,674,368,000

For values larger than 15, using a scientific calculator or software is essential due to the immense size of the results. Factorials for negative integers are undefined, but advanced mathematics uses the Gamma Function to extend the concept to decimal numbers.

In summary, understanding factorials is key to mastering more complex counting principles. Remember that the factorial of a number n is the product of all integers from 1 to n, and 0! is always 1. For practical application, use the table for quick reference and a calculator for larger computations.

Cookie
Cookie Settings
Our Apps
Download
Download on the
APP Store
Download
Get it on
Google Play
© 2025 Servanan International Pte. Ltd.