Permutation & Combination Calculator Permutations Combinations Advanced Examples ...
Permutation & Combination Calculator
Permutations (Order Matters)
Total Items (n)
Items to Choose (r)
Permutation Type
P(n,r) = n! / (n-r)!
Combinations (Order Doesn't Matter)
Total Items (n)
Items to Choose (r)
Combination Type
C(n,r) = n! / (r!(n-r)!)
Advanced Calculations
Calculation Type
Number (n)
Items to Choose (r)
Repeated Elements
n! = n × (n-1) × ... × 1
Common Examples
4-digit password using digits 0-9
Choose 3 people from 10 for a committee
Top 3 finishers from 8 runners
5-card poker hand from 52 cards
Arrange 5 different books on a shelf
Click "Print or Save as PDF" above → Choose "Save as PDF" as your printer → Click "Save".
Results
Permutation Example
Combination Example
Understanding Permutations and Combinations
Permutations and combinations are fundamental concepts in combinatorics, the branch of mathematics dealing with counting, arrangement, and selection of objects. Understanding the difference between them is crucial for solving probability problems, statistical analysis, and various real-world applications.
Permutations deal with arrangements where order matters. For example, if you're selecting a president, vice-president, and secretary from a group, the order of selection is important - ABC is different from BAC. The formula for permutations without repetition is P(n,r) = n! / (n-r)!.
Combinations deal with selections where order doesn't matter. Using the same example, if you're just selecting a 3-person committee, then ABC is the same as BAC - the order doesn't matter. The formula for combinations without repetition is C(n,r) = n! / (r!(n-r)!).
These concepts are essential in fields like computer science (algorithm design), cryptography (password security), genetics (gene combinations), and game theory (probability calculations).
Frequently Asked Questions
A: Ask yourself: "Does the order matter?" If yes, use permutation. If no, use combination. For example, lottery numbers (order doesn't matter) use combinations, while race finishing positions (order matters) use permutations.
A: Without repetition means each item can only be used once (like drawing cards from a deck). With repetition means items can be reused (like digits in a password). Permutations with repetition: nʳ. Combinations with repetition: C(n+r-1, r).
A: Factorial (n!) is the product of all positive integers from 1 to n. For example, 5! = 5 × 4 × 3 × 2 × 1 = 120. By definition, 0! = 1. Factorials grow very quickly - 10! = 3,628,800.
A: For permutations and combinations without repetition, if r > n, the result is 0 (impossible). For combinations with repetition, it's still possible even when r > n because you can repeat items.
A: Circular permutations arrange items in a circle where rotations are considered the same. The formula is (n-1)! instead of n! because rotating the entire arrangement doesn't create a new permutation.
A: When some items are identical, you divide by the factorial of the counts of each repeated item. For example, arrangements of "AAB" would be 3! / 2! = 3, since the two A's are indistinguishable.
A: The relationship is P(n,r) = C(n,r) × r!. This makes sense because each combination of r items can be arranged in r! different ways (permutations), so total permutations equal combinations times arrangements per combination.