Super Calculator logoSuper Calculator

Combination Calculator

Calculate combinations nCr and permutations nPr

Results are estimates for informational purposes only — not professional financial, medical, or legal advice. See how we build and verify our calculators.

Frequently Asked Questions

What is a combination?

A combination C(n,r) counts ways to choose r items from n items where ORDER DOES NOT MATTER. Choosing 3 people from 10 for a committee: C(10,3) = 10!/(3! x 7!) = 120 ways. If you chose Alice, Bob, Carol — that is the same as Carol, Bob, Alice in combinations.

What is a permutation?

A permutation P(n,r) counts ways to arrange r items from n where ORDER MATTERS. Choosing a president, VP, and treasurer from 10 people: P(10,3) = 720. Here, Alice-Bob-Carol and Carol-Bob-Alice are DIFFERENT arrangements. Permutations = Combinations x r!

What is the difference between combinations and permutations?

Combinations: order does not matter (choosing committee members, lottery numbers). Permutations: order matters (ranking, passwords, assigned roles). P(n,r) = n!/(n-r)!. C(n,r) = n!/(r! x (n-r)!). Permutations are always >= combinations (for same n and r).

How do I calculate combinations on a calculator?

On a scientific calculator: enter n, press nCr button, enter r, press =. On iPhone calculator (landscape): look for Cr. Most graphing calculators have MATH > PRB menu. In Excel: COMBIN(n,r). In Python: math.comb(n,r) or scipy.special.comb(n,r).

What is the probability of winning a lottery?

Lottery (pick 6 from 49): C(49,6) = 13,983,816. Probability of winning = 1 in 13,983,816 (about 0.0000071%). Powerball (pick 5 from 69 + 1 from 26): C(69,5) x 26 = 292,201,338. Probability = 1 in 292 million. Combinations make these astronomical numbers precise.

Common Combination Values

C(n,r)ResultExample
C(4,2)6Choose 2 from 4
C(6,2)15Pairs from 6
C(10,3)1203 from 10
C(13,5)1,287Poker hand
C(49,6)13,983,816Lottery 6/49

Real-World Applications

Lottery — how many combinations of numbers exist
Poker — how many possible 5-card hands from 52 cards = C(52,5) = 2,598,960
Committee selection — pick 5 members from 20 candidates
Drug trials — choose which patients receive treatment
Sports brackets — matchup possibilities
Password security — combinations of characters in a password