What this calculator does
Permutations and combinations both count ways to choose items from a group, but they answer different questions. A permutation treats a different order as a different outcome: a first, second, and third place finish is not the same as the reverse. A combination treats order as irrelevant: a committee of three people is one group no matter who is listed first. This calculator shows both counts side by side so you can see how much the ordering adds.
How to use it
- Enter n, the total number of distinct items.
- Enter r, the number of items you choose.
- Read nPr for ordered arrangements.
- Read nCr for unordered groups.
- Check n! and r! to see the factorials used in the formulas.
How it works
Example calculations
Example 1: n = 5, r = 2
There are 20 ordered pairs and 10 unordered pairs. The factorials are 5! = 120 and 2! = 2.
Example 2: n = 10, r = 3
There are 720 ordered triples and 120 unordered groups. 10! is 3,628,800 and 3! is 6.
Example 3: n = 6, r = 6
There are 720 orders of all six items but only 1 group. Both 6! values are 720.
What the result means
The question to ask is whether order changes the outcome. Choosing a president, vice president, and treasurer from a club is a permutation because each office is different. Choosing three members for a committee is a combination because the roles are identical. Passwords, race finishes, and seating charts are ordered. Teams, lottery tickets, and pizza toppings usually are not. If every item is selected (r = n), there is exactly one combination but n! permutations, which is a useful check on the formula. The counts grow very fast as n rises, because each added item multiplies the number of arrangements.
Common mistakes
- Using combinations when order matters, such as for a password or a podium finish.
- Using permutations when the group is unordered, such as a committee.
- Entering r larger than n.
- Forgetting that the formulas assume no replacement.
- Treating 0! as 0 instead of 1.
Assumptions and limits
- All n items are distinct.
- Each item can be chosen at most once.
- r is a whole number from 0 to n.
- Order matters for nPr and does not matter for nCr.
- No item is repeated or put back after selection.
Frequently asked questions
What is the difference between a permutation and a combination?
A permutation counts arrangements where order matters. A combination counts groups where order does not matter. For the same n and r, nPr is always larger.
What do n and r mean?
n is the total number of distinct items available. r is how many of them you choose.
Can r be 0?
Yes. Choosing nothing counts as 1 way, so nP0 and nC0 both equal 1. This follows from 0! = 1.
Can r be larger than n?
No. You cannot choose more items than the group contains, so the calculator rejects r > n.
Does this allow repetition?
No. These formulas are for sampling without replacement. If items can repeat, the count uses a different formula, usually base n to the power r.
Why is nCr smaller than nPr?
Each unordered group of r items can be arranged in r! different orders. Dividing nPr by r! removes those duplicates.
Sources
2026 update
How to use the professional output
This page is not just a formula box. The result is designed to be checked, compared, and taken away.
- Professional worksheet. The result includes the inputs used, the method and scope, and a one-variable sensitivity check for finance calculators.
- A/B scenarios. Save two input sets in the browser and compare the primary, secondary, and breakdown figures side by side.
- Print / PDF and CSV. Print a branded worksheet, or export the year-by-year table when the calculator produces one.
The formulas and assumptions above still govern the number. The worksheet makes the estimate auditable; it does not make it a lender quote, tax return, or personalized advice.
Go deeper
