How it works
Use permutations when order matters, such as arranging people in seats or a PIN code. Use combinations when order does not matter, such as choosing a team or lottery numbers.
Formula
nPr = n! ÷ (n − r)! nCr = n! ÷ (r! (n − r)!)
Calculate permutations (nPr) and combinations (nCr), with and without repetition.
Use permutations when order matters, such as arranging people in seats or a PIN code. Use combinations when order does not matter, such as choosing a team or lottery numbers.