Skip to main content

What Is The Formula For Combinations And Permutations?

by
Last updated on 6 min read

The formulas for combinations and permutations help count arrangements and selections: combinations (nCr) count ways to choose items without order, while permutations (nPr) count ways when order matters, and they’re related by nCr = nPr / r!

What’s the formula for a permutation?

The permutation formula P(n,r) = n! / (n-r)! counts how many ways you can arrange r items from a set of n when order matters.

Ever wondered how many ways you can line up three books from a shelf of five? That’s a permutation question. Multiply 5 × 4 × 3 and you get 60 possible arrangements. You’ll run into permutations everywhere order counts—like ranking sports teams or generating secure passwords. Most calculators have a built-in permutation function, or you can crunch the numbers by hand using factorials.

How does the combination formula work?

Combination uses nCr = n! / [r!(n–r)!] to count selections where order doesn’t matter.

Imagine picking two movies from ten options. The order you choose them in doesn’t change the pair, so you’re dealing with combinations. Plug the numbers into the formula and you’ll find 45 possible pairs. That’s why combinations pop up in lottery odds, forming committees, and even in card games like poker. You can double-check your work with a scientific calculator or Excel’s COMBIN function—no guesswork needed.

What exactly is the nPr formula?

The nPr formula is n! / (n-r)!, used when order matters in selecting r items from n.

Let’s say you’re picking three runners from a team of five to stand on a podium. The order they finish in matters, so you’d use nPr. For n=5 and r=3, the calculation gives you 60 possible podium arrangements. That’s why nPr shows up in password generation, race rankings, and even tournament brackets. Most graphing calculators bundle this function under probability or combinatorics menus—handy for quick homework checks.

What’s the deal with NCN?

NCN is the same as nCr: n! / [r!(n–r)!] — it counts combinations where order doesn’t matter.

Think of NCN as just another way to write nCr—mathematicians flip between them like they’re swapping hats. If you’re choosing all items from a set (nCn), there’s only one way to do it, so the result is always 1. That makes sense when you consider the symmetry in combinations: nCr = nC(n–r). It’s a neat shortcut that saves time in proofs and calculations.

Why does P stand for in permutation formulas?

In permutation formulas, P stands for permutation — it’s not a variable but notation for the operation.

Here’s where context matters. In finance, P often means the principal amount in simple interest calculations. But in set theory, P(X) can denote the power set of X. So while P in nPr signals “permutation,” the same letter might mean something entirely different in another formula. Always read the surrounding text to avoid mix-ups.

How do you actually calculate possible combinations?

Use the combination formula n! / [r!(n–r)!] with n as total items and r as items chosen.

Start with your total number of items (n) and how many you’re selecting (r). Plug them into the formula—like n=10, r=2—and you’ll get 45 combinations. You can work this out manually by calculating factorials, or lean on a calculator’s COMBIN function for speed. Statisticians rely on this formula daily, especially when working with probability distributions like binomial or hypergeometric.

What’s an nPr calculator good for?

An nPr calculator computes n! / (n-r)! to find ordered arrangements of r items from n.

Need to know how many ways you can arrange three trophies on a shelf from a collection of eight? An nPr calculator spits out the answer in seconds. Tools like the TI-84, Desmos, or WolframAlpha handle the heavy lifting. Just input nPr(8,3) and you’ll get 336 ordered arrangements. Most of these calculators also include nCr functions, making them perfect for quick homework checks or data analysis.

Are nPr and nCr the same thing?

No — nPr and nCr are not the same: nPr counts ordered arrangements, while nCr counts unordered selections.

Here’s the quick test: for n=5 and r=2, nPr gives 20 while nCr gives 10. The difference? Order. Use nPr when the sequence matters—like creating passwords or ranking competitors. Use nCr when the order doesn’t count, like forming a committee or picking lottery numbers. They’re connected by the relationship nCr = nPr / r!, which shows how permutations and combinations relate.

What does nCr mean in math?

nCr, or combination, is the number of ways to choose r items from n without regard to order.

Mathematically, it’s defined as n! / [r!(n–r)!]. You’ll find nCr everywhere in combinatorics and probability, especially in binomial coefficients like those in the expansion of (a+b)^n. Ever looked at Pascal’s Triangle? The fourth row reads 1, 4, 6, 4, 1—those numbers match nCr values for n=4. It’s a fundamental concept that shows up in everything from genetics to game theory.

How do you solve 2C2?

2C2 = 1, because choosing all 2 items from 2 has only one way.

Plug the numbers into the formula: 2! / (2! × 0!) = 2 / (2 × 1) = 1. This isn’t just a random result—it’s a key identity in combinatorics. Whenever you see nCn, expect the answer to be 1, since there’s only one way to choose every item in a set. It’s a useful check in proofs and often pops up in induction arguments.

What’s the quickest way to calculate 6C2?

6C2 = 15, calculated as 6! / (2! × 4!) = 720 / (2 × 24) = 15.

That means there are 15 distinct ways to pick two items from six without caring about the order. You can work this out on paper or punch the numbers into a scientific calculator. It’s a common calculation in probability—like figuring out the odds of matching two numbers in a lottery draw. Keep this formula handy; it shows up more often than you’d think.

What’s the value of nC0?

For any n, nC0 = 1 — there’s exactly one way to choose zero items from n.

This might seem odd at first, but it follows directly from the formula: n! / (0! × n!) = 1. It’s one of those base cases that makes combinatorics work smoothly. You’ll see nC0 pop up in binomial expansions and probability mass functions. Even the edge case of 0C0 equals 1, representing the empty set—a concept that feels almost philosophical in math.

What does P(X) mean in different math contexts?

P(X) can mean probability of event X, a power set, or a projective space — context determines meaning.

In probability theory, P(X) is the chance that event X occurs. Move into set theory, and P(X) becomes the power set containing all possible subsets of X. In geometry, P might denote a projective plane. The meaning changes as fast as the context shifts, so always read carefully—confusing these could lead to some embarrassing mistakes.

What does P stand for in simple interest?

In simple interest, P stands for the principal amount — the initial sum of money.

Simple interest is calculated using I = P × r × t, where I is the interest earned, r is the annual rate (in decimal form), and t is time in years. For example, deposit $1,000 at 5% for 3 years, and you’ll earn $150 in interest. This straightforward formula is the backbone of many financial decisions, from savings accounts to short-term loans.

Edited and fact-checked by the FixAnswer editorial team.
Joel Walsh

Known as a jack of all trades and master of none, though he prefers the term "Intellectual Tourist." He spent years dabbling in everything from 18th-century botany to the physics of toast, ensuring he has just enough knowledge to be dangerous at a dinner party but not enough to actually fix your computer.