Permutation and Combination Calculator

The Permutation and Combination Calculator solves two fundamental problems in combinatorics: how many ways can you arrange or select items from a set? Permutations count ordered arrangements (the order matters), while combinations count unordered selections (order doesn't matter). This calculator handles both cases, with and without repetition, showing every step of the factorial calculation so you can understand the math behind the answer.

star 4.9
auto_awesome AI
New

calculate Inputs

Total items in the set (max 170)

Quick Examples

analytics Results

Without Repetition

Permutations nPr Order matters
Combinations nCr Order doesn't matter

Step-by-Step

auto_awesome AI Analysis

Powered by Claude

Enter your values and calculate to receive AI-powered insights about your results.

lightbulb Tips

  • Order matters → Permutation (nPr)
  • Order doesn't matter → Combination (nCr)
  • C(n,r) = C(n, n−r) — symmetric property
  • nCr ≤ nPr always (for same n, r)

functions Formulas

Without Repetition
nPr n! / (n−r)!
nCr n! / (r!×(n−r)!)
With Repetition
nPr (rep)
nCr (rep) C(n+r−1, r)
Common Examples
Lottery C(49,6) 13,983,816
Cards C(52,5) 2,598,960
4-digit PIN (rep) 10,000

The Formula

Permutations (nPr) count ordered arrangements. Combinations (nCr) count unordered selections. With repetition: nPr = nʳ, nCr = (n+r−1)! / (r!(n−1)!)

nPr = n! / (n−r)! | nCr = n! / (r! × (n−r)!)

lightbulb Variables Explained

tips_and_updates Pro Tips

1

Use permutation when order matters (e.g., first/second/third place finishes)

2

Use combination when order doesn't matter (e.g., selecting a team)

3

nCr is always ≤ nPr for the same n and r

4

C(n,r) = C(n, n−r) — choosing 3 from 10 = choosing 7 from 10

5

For repetition allowed: arranging r items from n gives nʳ permutations

Frequently Asked Questions

sell

Tags

verified

Data sourced from trusted institutions

All formulas verified against official standards.