Factorial Calculator
Calculate n!, nPr (permutations), and nCr (combinations) instantly.
📖 What is a Factorial?
A factorial is denoted by an exclamation mark (n!) and represents the product of all positive integers from 1 up to n. The factorial function appears throughout mathematics - in combinatorics, probability theory, number theory, and calculus.
For example: 6! = 6 × 5 × 4 × 3 × 2 × 1 = 720. This tells us there are 720 ways to arrange 6 different objects in a sequence.
Factorials are fundamental to two key counting techniques - permutations and combinations - which are used any time you need to count the number of possible arrangements or selections from a group.
Permutations (nPr) answer the question: *In how many ways can I arrange r items from a group of n, where the order matters?* For example, the number of ways 3 runners can finish first, second, and third from a group of 10 athletes is 10P3 = 720.
Combinations (nCr) answer: *In how many ways can I choose r items from n, where order doesn't matter?* For example, the number of ways to choose 3 people for a committee from a group of 10 is 10C3 = 120 - much less than 720, because the same group of 3 people is only counted once regardless of the order they were chosen.