Combinations & Permutations Calculator

How many ways to choose or arrange r items from a set of n.

Combinations (nCr)
120
  1. Combinations (nCr)120
  2. Permutations (nPr)720
Inputs used
  • Total items (n)10
  • Items chosen (r)3

About this calculator

Combinations count selections where order doesn't matter; permutations count arrangements where it does. Choosing 3 pizza toppings from 10 is a combination (₁₀C₃ = 120); awarding gold, silver and bronze among 10 runners is a permutation (₁₀P₃ = 720).

The formulas: nPr = n! ÷ (n−r)!, and nCr = nPr ÷ r! — dividing by r! removes the orderings of the chosen items, which is why the permutation count is always r! times the combination count.

r can't exceed n (you can't choose more items than exist). The numbers explode quickly: a 52-card deck has more orderings (52!) than there are atoms visible in the universe.

Quick reference

Combinations (nCr) by n and r

The number of ways to choose r items (columns) from n items (rows), where order does not matter.

Total items (n)1234
5510105
66152015
77213535
88285670
993684126
101045120210
111155165330
121266220495

Frequently asked questions

What is the difference between a combination and a permutation?

A combination counts selections where order does not matter; a permutation counts arrangements where it does. Choosing 3 toppings from 10 is a combination (₁₀C₃ = 120), but ranking 3 of 10 runners is a permutation (₁₀P₃ = 720).

What is 5 choose 2?

Ten. Using nCr = n! ÷ (r!(n−r)!), ₅C₂ = 120 ÷ (2 × 6) = 10 — the number of distinct pairs you can pick from five items.

What is the formula for combinations?

nCr = n! ÷ (r! × (n − r)!). Equivalently it is the permutation count nPr divided by r!, which removes the different orderings of the r chosen items.

Why is nPr always at least as large as nCr?

Because permutations count every ordering of the chosen items separately, while combinations count each selection once. Exactly r! orderings collapse into one combination, so nPr = nCr × r! and the two are equal only when r is 0 or 1.

Embed this calculator on your site

Paste this HTML where you want the calculator to appear. It stays free, works on any site, and updates automatically. Adjust the height to taste.

Results are informational only — not financial, medical or legal advice.