↑

Free Permutation and Combination Calculator

What this tool does

The Permutation and Combination Calculator finds how many ways you can arrange or choose items from a set. Enter n, the total items, and r, how many you pick, and it shows permutations nPr where order matters and combinations nCr where it does not. Turn on repetition to allow reuse, and see factorials plus the exact working. Results use exact whole-number maths, so big answers stay correct. Free and private.


Permutations: P(n, r)=n! / (n - r)! (order matters). Combinations: C(n, r)=n! / (r! x (n - r)!) (order does not matter).
-
Permutations nPr
-
Combinations nCr
-
Factorial n!
Working and details

Let us know

Please share your experience with this tool.

Thanks for rating!
No ratings yet — be the first!

How do I use the permutation and combination calculator?

Type n, the total number of items you have, and r, how many of them you are choosing. The calculator instantly shows the permutations nPr and the combinations nCr, along with n factorial and the full working. With the default values n=10 and r=3, you get P(10, 3)=720 permutations and C(10, 3)=120 combinations. Tick "Allow repetition" when the same item can be picked more than once, and press Sample to load the classic 52 choose 5 card problem.

What is the difference between permutations and combinations?

Both count ways of choosing items, but they treat order differently. A permutation counts arrangements, so picking A then B is different from B then A. A combination counts selections, so A then B and B then A are the same pick. That is why the permutation count is always larger: for 10 items taken 3 at a time there are 720 arrangements but only 120 selections. If the order of your picks changes the outcome, use permutations; if only the final group matters, use combinations.

Which formulas does the calculator use?

Permutations use P(n, r)=n! / (n - r)!, which expands to n x (n - 1) x ... down r terms. Combinations use C(n, r)=n! / (r! x (n - r)!), which divides the permutation count by r! to remove the orderings. The exclamation mark means factorial: 10!=3,628,800. Every result is computed with exact whole-number arithmetic, so even huge answers like C(100, 50) come out digit-perfect instead of rounded.

When should I use permutations and when combinations?

Use permutations for anything ordered: race podiums, rankings, seating plans and codes. Ten runners fighting for gold, silver and bronze give P(10, 3)=720 possible podiums. Use combinations for groups: committees, teams and lottery tickets. Choosing a 3-person committee from 10 people gives C(10, 3)=120. A 5-card poker hand from a 52-card deck gives C(52, 5)=2,598,960 possible hands, and a 6-from-49 lottery has C(49, 6)=13,983,816 combinations, which is why jackpots are so rare.

How does repetition change the count?

With repetition allowed, each pick can reuse items you already chose, so the counts grow. Permutations with repetition are simply n to the power r: a 3-digit PIN from 10 digits has 10^3=1,000 possibilities. Combinations with repetition use C(n + r - 1, r): picking 3 scoops from 10 ice-cream flavours, repeats allowed, gives C(12, 3)=220 combinations. Turn on the repetition tick box and the calculator switches to these formulas automatically.

Is it free and private?

Yes. The permutation and combination calculator is completely free, needs no sign-up, and runs entirely in your browser. Your numbers are never sent to a server, so you can check homework, probability problems or lottery odds in private. It works on phones, tablets and desktop computers.

FAQs

What does nPr mean?

nPr is the number of permutations of r items chosen from n items, where order matters. It equals n! / (n - r)!. For example, P(10, 3)=720.

What does nCr mean?

nCr is the number of combinations of r items chosen from n items, where order does not matter. It equals n! / (r! x (n - r)!). For example, C(10, 3)=120.

How many 5-card poker hands are possible?

There are C(52, 5)=2,598,960 possible 5-card hands from a standard 52-card deck. Load the Sample button to see it.

What is 10 choose 3?

10 choose 3 is C(10, 3)=120, the number of ways to pick 3 items from 10 when order does not matter.

Does order matter in a combination?

No. A combination only cares which items are in the group, not the order they were picked in. If order matters, use permutations instead.

What is the largest n I can enter?

You can enter n and r up to 1,000. Results are exact whole numbers, so even 1000! with its 2,568 digits is shown in full.


Author

Awais Arshad

Web Tools Developer & Content Creator at FastToolKit.