Statistics

Permutations and Combinations Explained: Formulas and Examples

Struggling to tell permutations from combinations? This guide breaks down when order matters, teaches both formulas, and walks through counting problems step by step.

Frequently asked questions

How do you know if order matters in a counting problem?

Ask whether swapping two chosen items gives a different outcome. Assigning president and vice president depends on order, so use permutations. Picking a committee of two people does not, so use combinations. Words like arrange, rank, or line up point to permutations, and choose or select to combinations.

What are the formulas for nPr and nCr?

Permutations: nPr = n!/(n − r)!. Combinations: nCr = n!/(r!(n − r)!). For n = 5 and r = 2, 5P2 = 120/6 = 20 and 5C2 = 120/(2 · 6) = 10. The combination count is smaller because it ignores the order of the chosen items.

How many ways can you choose 3 people from 10, and how many ways to assign 3 roles?

Choosing a group of 3 from 10 is 10C3 = 720/6 = 120. Assigning president, vice president, and secretary to 3 of the 10 people is 10P3 = 10 · 9 · 8 = 720. Same people, but the roles make order matter.

Why is nPr always at least as big as nCr?

Each group of r items can be arranged in r! different orders, so nPr = nCr × r!. Combinations count each group once, and permutations count every ordering of it. For 4 items taken 3 at a time, 4P3 = 24 and 4C3 = 4, and 24 = 4 × 6.

Why does 0! equal 1, and does it matter in combinations?

By convention 0! = 1, which makes the formulas work. There is exactly one way to choose all n items, and nCn = n!/(n! · 0!) only equals 1 if 0! = 1. It also gives nC0 = 1, since there is one way to choose nothing.

Try these solvers

General Math10 min read

How to Solve Word Problems in Math: A Step-by-Step Framework

Word problems are the most feared part of math for many students. This guide gives you a repeatable framework and applies it to the five most common word problem types.

Algebra8 min read

5 Common Algebra Mistakes Students Make on Exams

These five algebra mistakes trip up students on nearly every exam. Learn to spot them before they cost you points, with clear examples showing what goes wrong and how to fix it.

Statistics10 min read

Introduction to Probability: Rules, Formulas & Examples

Probability measures how likely events are. Master sample spaces, the addition and multiplication rules, conditional probability, and Bayes' theorem with clear examples.

Stuck on your own problem?

Snap a photo in Solver AI for iPhone and iPad and see every step, so you can do the next one yourself.