Permutation & Combination Calculator
Enter values for n and r below to calculate permutations (nPr) and combinations (nCr).
Permutations (nPr)
5! = 5 × 4 × 3 × 2 × 1 = 120
(5-3)! = 2! = 2 × 1 = 2
Combinations (nCr)
5! = 5 × 4 × 3 × 2 × 1 = 120
3! = 3 × 2 × 1 = 6
(5-3)! = 2! = 2 × 1 = 2
Frequently Asked Questions
Permutations (nPr) consider the order of items, while combinations (nCr) do not.
Example: For items A, B, C:
- Permutations of 2 items: AB, BA, AC, CA, BC, CB (6 results)
- Combinations of 2 items: AB, AC, BC (3 results - order doesn't matter)
- Permutations: Password combinations, race rankings, seating arrangements
- Combinations: Lottery number selection, team formation, menu combinations
- Common uses: Probability, statistics, game theory, cryptography
You can't select more items than you have available. Mathematically:
- If r > n, (n - r) is negative, and factorial isn't defined for negative numbers
- In practical terms, you can't choose 5 items if you only have 3 available
Help & Tutorial
Understanding the Calculator
This tool helps you calculate two important mathematical concepts:
Number of possible arrangements in a specific order:
nPr = n! / (n - r)!
Example: How many ways can you award 1st, 2nd, and 3rd place with 10 runners?
n = 10, r = 3 → 10P3 = 720
Number of possible selections where order doesn't matter:
nCr = n! / (r! × (n - r)!)
Example: How many 5-card hands from a 52-card deck?
n = 52, r = 5 → 52C5 = 2,598,960
Practical Examples
| Scenario | Type | Calculation | Result |
|---|---|---|---|
| Password with 4 distinct digits (0-9) | Permutation (order matters) | 10P4 | 5,040 |
| Selecting 6 numbers from 1 to 49 (lottery) | Combination (order doesn't matter) | 49C6 | 13,983,816 |
| Committee of 3 from 10 people | Combination | 10C3 | 120 |
| 1st, 2nd, 3rd place from 8 competitors | Permutation | 8P3 | 336 |
| Unique 3-color flags from 7 colors | Permutation (order matters) | 7P3 | 210 |