Permutation & Combination Calculator
nPr and nCr with or without repetition — exact big-integer answers, never rounded.
Permutations and combinations answer the same shopping trip with different questions. A combination counts selections where order is irrelevant — a committee of 3 chosen from 10 people is the same committee however you name its members. A permutation counts arrangements where order matters — first, second and third place among the same 10 people are different outcomes. That single difference explains the numbers: P(10, 3) = 720 while C(10, 3) = 120, and the ratio between them is exactly 3! = 6, the number of ways to order any chosen three. Repetition opens both doors wider: allowing the same item to be picked again gives n^r = 1,000 ordered picks and C(n + r − 1, r) = C(12, 3) = 220 unordered picks for the same inputs.
Results are exact whole numbers of any size, calculated with big-integer arithmetic in your browser — no rounding, no scientific notation, nothing uploaded or stored.
Quick answers
How many combinations of 3 from 10 are there?
120. C(10, 3) = 10! ÷ (3! × 7!) = 120. The matching permutation count is P(10, 3) = 720, because each chosen three can be ordered 6 ways.
Allowing repetition changes both: 10^3 = 1,000 ordered picks, and C(12, 3) = 220 unordered picks with repeats allowed.
What is the difference between a permutation and a combination?
A permutation counts arrangements, where order matters. A combination counts selections, where it does not. The combination formula is the permutation formula divided by r!, removing exactly the orderings of each selection.
Podium finishes are permutations; the set of medallists, ignoring who got gold, is a combination. Same people, different question, different count.
How to use
- Enter n, the number of items you are choosing from.
- Enter r, how many you choose or arrange.
- Read all four counts: permutations and combinations, each with and without repetition.
- Use the permutation row when order matters (finishing positions, codes) and the combination row when it does not (hands, committees).
About this tool
Counting numbers explode fast — 52! is a 68-digit number — so this page computes with big-integer arithmetic and prints every digit. There is no floating-point rounding and no scientific notation: the value shown for C(100, 50) is the exact integer, all 30 digits of it, which matters when a count feeds a probability or a checksum-style verification. The formulas are printed next to each result so the page doubles as a reminder of which count is which: P(n, r) = n! ÷ (n − r)!, C(n, r) = n! ÷ (r! × (n − r)!), repetitions allowed are n^r and C(n + r − 1, r).
Frequently asked questions
When does order matter?
Order matters when swapping two chosen items produces a different outcome: race positions, podium finishes, PIN codes, batting line-ups. It does not matter when the outcome is just a set: lottery numbers as drawn on the ticket, committee members, cards in a hand. When in doubt, ask whether rearranging your selection would be called a different result — if yes, it is a permutation.
Why is C(10, 3) = 120 but P(10, 3) = 720?
Because every group of 3 people can be arranged in 3! = 6 orders. The permutation counts all 6 orderings separately; the combination counts each group once. 720 ÷ 6 = 120 is not a coincidence — dividing permutations by r! is exactly how the combination formula is built.
What does “with repetition” mean?
That the same item can be selected more than once: digits in a code can repeat, a menu item can be ordered twice. Ordered with repetition gives n^r possibilities (10^3 = 1,000 three-digit codes, leading zeros included). Unordered with repetition — scoops of ice cream where two can be the same flavour — is C(n + r − 1, r), the stars-and-bars count.
How large can n and r be?
The arithmetic is exact at any size, and the page accepts n up to 100,000 and r up to 10,000 — already counts with tens of thousands of digits. Beyond that the page asks you to stop, not because the mathematics fails but because printing a novel-length integer helps nobody.
First time embedding? Read the step-by-step guide →
More free tools
Probability Calculator
General probability: single events, AND/OR for two events, conditional probability, and at least once in repeated trials.
Card Draw Probability Calculator
Hypergeometric probabilities for one draw without replacement: exactly k target cards, or at least k.
Fraction Calculator
Add, subtract, multiply and divide fractions — reduced, as a mixed number and as a decimal.
Percentage Calculator
Work out percentages, increases and discounts in one click.
Age Calculator
Find your exact age in years, months and days.
BMI Calculator
Check your Body Mass Index in seconds.