Home › Learning Resources › Maths › Permutation and Combination: Formulas, Difference & Solved Examples

Permutation and Combination: Formulas, Difference & Solved Examples

A complete, exam-focused guide to permutation and combination — clear definitions, the nPr and nCr formulas, the key difference between the two, worked examples, and practice questions for Class 11, Class 12, and JEE Mains.

Maths 28 September, 2026 16 min read

1. What Is Permutation and Combination?

Combinatorics is the branch of mathematics concerned with counting, arranging, and selecting objects. Permutation and combination are its two most fundamental tools, used to answer one basic question in different forms: "In how many ways can this happen?"

Both appear throughout Class 11 and Class 12 mathematics, in probability, statistics, the binomial theorem, and in competitive exams such as JEE Mains — largely because counting problems show up everywhere, from arranging books on a shelf to forming a committee.

Permutation

An ordered arrangement of a set of objects. The sequence ABC is different from BCA.

Combination

An unordered selection of a set of objects. The group {A, B, C} is the same as {B, C, A}.

2. Factorial Notation — The Building Block

Both permutation and combination formulas are built from the factorial function, written n!, which is the product of all positive integers up to n.

Factorial Definition

n! = n × (n−1) × (n−2) × … × 2 × 1

By convention, 0! = 1. Example: 5! = 5 × 4 × 3 × 2 × 1 = 120

nn!Value
00!1
11!1
22!2
33!6
44!24
55!120
66!720

3. Permutation: Definition and Formula

A permutation is an arrangement of objects in a specific order. The number of permutations of r objects chosen from a set of n distinct objects is denoted nPr (read "n permute r").

Permutation Formula

nPr = n! / (n − r)!

n = total number of distinct objects  |  r = number of objects arranged  |  Valid for 0 ≤ r ≤ n

Permutation Example — Arranging 3 Letters (A, B, C): 3P3 = 6 A B C A C B B A C B C A C A B C B A All six arrangements are DIFFERENT permutations — order matters 3P3 = 3! / (3−3)! = 3! / 0! = 6/1 = 6 All 3 objects arranged in all possible orders First slot: 3 choices, Second: 2 choices, Third: 1 choice → 3×2×1

Figure 1: All 6 permutations of the 3 letters A, B, C. Since order matters, ABC and BCA are counted as two distinct outcomes.

Intuition: The Fundamental Counting Principle

nPr can be understood without the factorial formula: you have n choices for the first position, (n−1) choices for the second (one is used), (n−2) for the third, and so on, for r positions total. Multiplying these choices together gives the same result as n!/(n−r)!.

4. Combination: Definition and Formula

A combination is a selection of objects where order does not matter. The number of combinations of r objects chosen from n distinct objects is denoted nCr (read "n choose r").

Combination Formula

nCr = n! / [r! (n − r)!]

Equivalently: nCr = nPr / r!  |  This divides out the r! ways each group could be ordered

Combination Example — Choosing 2 Letters from (A, B, C): 3C2 = 3 {A, B} {A, C} {B, C} {A,B} and {B,A} are the SAME group — only 3 unique unordered selections exist 3C2 = 3! / [2!(3−2)!] = 6 / (2×1) = 3 Each pair could be ordered 2 ways (2! = 2), so 3P2 = 6 permutations ÷ 2 = 3 combinations

Figure 2: Only 3 unique combinations exist when choosing 2 letters from 3, since {A,B} and {B,A} represent the same selection.

5. Permutation vs Combination — Key Differences

This is the single most searched question on this topic: what is the difference between permutation and combination? The table below summarizes it clearly.

AspectPermutationCombination
OrderMatters (ABC ≠ BCA)Does not matter (ABC = BCA)
MeaningArrangementSelection
FormulanPr = n!/(n−r)!nCr = n!/[r!(n−r)!]
RelationshipnPr = nCr × r!nCr = nPr ÷ r!
Count (same n, r)Always ≥ combinationsAlways ≤ permutations
Typical scenarioRanking, passwords, seating, race positionsCommittees, teams, lottery numbers, groups
Keyword clues"arrange," "order," "rank," "sequence," "code""select," "choose," "group," "committee," "team"
How Permutation and Combination Relate nPr Ordered arrangements (larger count) ÷ r! × r! nCr Unordered selections (smaller count) Each group of r objects has r! possible orderings

Figure 3: nPr and nCr are directly related by r! — every combination expands into r! permutations.

6. When to Use Permutation vs Combination

The One-Question Test

Ask yourself: "If I swap two of the chosen items, do I get a different outcome?" If yes, it's a permutation. If no, it's a combination.

Use Permutation For

Assigning gold/silver/bronze medals, creating a PIN code, arranging books on a shelf, seating people in specific chairs, ranking finishers in a race.

Use Combination For

Choosing a committee of 5 from 20 people, picking lottery numbers, selecting a cricket team, forming a group project, choosing toppings for a pizza.

7. Solved Examples

Example 1 — Permutation: Arranging Letters
Question

In how many ways can 4 different books be arranged on a shelf?

Solution

This is a permutation — order matters on a shelf. Here n = 4, r = 4.

4P4 = 4!/(4−4)! = 4!/0! = 24/1 = 24 ways

Example 2 — Combination: Choosing a Committee
Question

In how many ways can a committee of 3 people be chosen from a group of 8?

Solution

This is a combination — a committee has no internal order. Here n = 8, r = 3.

8C3 = 8!/[3!(8−3)!] = 8!/(3!×5!) = (8×7×6)/(3×2×1) = 336/6 = 56 ways

Example 3 — Permutation: Race Positions
Question

10 athletes compete in a race. In how many ways can gold, silver, and bronze medals be awarded?

Solution

Medal positions matter — this is a permutation. Here n = 10, r = 3.

10P3 = 10!/(10−3)! = 10!/7! = 10×9×8 = 720 ways

Example 4 — Combination: Card Selection
Question

From a standard deck of 52 cards, in how many ways can 5 cards be chosen (a poker hand)?

Solution

A hand of cards has no order — this is a combination. Here n = 52, r = 5.

52C5 = 52!/[5!(47)!] = (52×51×50×49×48)/(5×4×3×2×1) = 2,598,960 ways

8. Special Cases and Related Formulas

CaseFormulaNote
Permutations of n objects, all takennPn = n!r = n, so (n−r)! = 0! = 1
Combinations of n objects, all takennCn = 1Only one way to select everything
Combinations, choosing nonenC0 = 1One way to select nothing (empty set)
Symmetry rulenCr = nC(n−r)Choosing r is the same count as choosing what's left out
Permutations with repetition allowedn^rEach of r positions has n independent choices
Permutations of n objects with repeated itemsn! / (p!q!...)p, q = counts of each repeated item, e.g. letters in "MISSISSIPPI"
Circular permutations(n−1)!Arrangements around a circle, rotations counted as identical

9. Connection to Probability and the Binomial Theorem

Permutation and combination are not isolated topics — they are the foundation for two major areas of Class 11–12 mathematics.

Probability

Many probability problems are really counting problems: P(event) = favorable outcomes ÷ total outcomes, and both numerator and denominator are usually computed using nCr, since the order in which cards are dealt or dice land typically doesn't matter to the outcome being measured.

Binomial Theorem and Binomial Distribution

The binomial theorem expands (x + y)ⁿ using combinations directly: the coefficient of each term is nCr, called the binomial coefficient. This same idea extends into the binomial distribution in statistics, where nCr counts the number of ways r successes can occur in n independent trials.

Binomial Theorem

(x + y)ⁿ = Σ (nCr) xⁿ⁻ʳ yʳ, for r = 0 to n

Each term's coefficient nCr is exactly the combination formula from this article

10. Practice Questions (Class 11, 12 & JEE Mains Level)

Try These Practice Questions

#QuestionType
1How many 4-digit numbers can be formed from digits 1–9 with no repetition?Permutation
2In how many ways can 3 students be chosen from a class of 30 for a quiz team?Combination
3How many distinct arrangements exist for the letters of the word "APPLE"?Permutation with repetition
4A bag has 5 red and 4 blue balls. In how many ways can 3 balls be drawn so that at least 2 are red?Combination
5In how many ways can 6 people be seated around a circular table?Circular permutation
6How many ways can a password of 4 distinct digits (0–9) be created?Permutation

Frequently Asked Questions (FAQ)

Permutation and combination are two counting methods in mathematics used to determine the number of ways objects can be arranged or selected from a set. A permutation counts the number of ways to arrange objects where order matters. A combination counts the number of ways to select objects where order does not matter. Both are core topics of combinatorics, the branch of mathematics dealing with counting.

The key difference between permutation and combination is order. A permutation is an ordered arrangement of objects — ABC and BCA are counted as different permutations. A combination is an unordered selection of objects — ABC and BCA are counted as the same combination. Because permutations count every ordering separately, the number of permutations is always greater than or equal to the number of combinations for the same n and r.

The permutation formula is nPr = n!/(n−r)!, which gives the number of ways to arrange r objects from a set of n distinct objects where order matters. The combination formula is nCr = n!/[r!(n−r)!], which gives the number of ways to select r objects from n where order does not matter. Note that nCr = nPr / r!, since each combination corresponds to r! different orderings, all counted separately in nPr.

Use permutation when the arrangement or order matters, such as assigning ranks in a race, forming a password, or seating people in specific chairs. Use combination when only the selection matters and order is irrelevant, such as choosing a committee of people, picking lottery numbers, or selecting a team from a group of players. A simple test: if swapping two chosen items creates a new, distinct outcome, it's a permutation; if it doesn't, it's a combination.

Permutation and combination can feel confusing at first because both involve counting and share similar formulas, but the concept becomes straightforward once you focus on a single question: does order matter? Most difficulty comes from misidentifying which formula applies to a word problem, not from the formulas themselves. Practicing a variety of solved examples is the fastest way to build confidence with this topic.

nPr denotes the number of permutations of r objects chosen from a set of n distinct objects, calculated as n!/(n−r)!. nCr denotes the number of combinations of r objects chosen from n, calculated as n!/[r!(n−r)!]. nPr is read as "n permute r" and nCr is read as "n choose r". Both are fundamental tools in combinatorics and probability calculations.

Combinations are used directly in probability to count favorable outcomes over total outcomes when order doesn't matter, such as in card and dice problems. The binomial theorem also relies on combinations: the coefficient of each term in the expansion of (x + y)^n is given by nCr, known as the binomial coefficient. This connects permutation and combination directly to binomial expansion and binomial distribution in statistics.