What Is a Factorial?
A factorial is a mathematical operation applied to a non-negative integer. It is represented by an exclamation mark after the number. For example, the factorial of 5 is written as 5!.
To calculate a factorial, multiply the selected number by every positive integer below it until you reach 1.
For example, 5 factorial is calculated as 5 × 4 × 3 × 2 × 1, which equals 120. By mathematical definition, both 0! and 1! are equal to 1.
How the Factorial Calculator Works
Enter your number
Type a non-negative whole number into the calculator input field.
Start the calculation
Select the Calculate Factorial button. The calculator multiplies all positive integers from your number down to 1.
Review the exact result
The result panel displays the factorial value, total digits, and number of multiplication operations.
Where Are Factorials Used?
Factorials are commonly used in permutations, combinations, probability, statistics, algebra, computer science, and mathematical series. They help calculate how many different arrangements can be created from a group of objects.
For example, if five different books are placed on a shelf, they can be arranged in 5!, or 120, different ways.