Permutation & Combination Calculator

Enter values for n and r below to calculate permutations (nPr) and combinations (nCr).

Permutations (nPr)

nPr = n! / (n - r)! = 60
5! / (5 - 3)! = 120 / 2 = 60
Factorial expansions:
5! = 5 × 4 × 3 × 2 × 1 = 120
(5-3)! = 2! = 2 × 1 = 2

Combinations (nCr)

nCr = n! / (r! × (n - r)!) = 10
5! / (3! × (5 - 3)!) = 120 / (6 × 2) = 10
Factorial expansions:
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:

Permutations (nPr)

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

Combinations (nCr)

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

Tip: Remember that permutations are about arrangements (order matters), while combinations are about selections (order doesn't matter). For further reading, explore our probability calculator to see how these counts translate into actual likelihoods.

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
Note: Always consider whether order matters in your scenario to choose between permutations and combinations correctly. If you're working with larger datasets, you might also find our descriptive statistics tool useful for summarizing your findings.