Permutation & Combination Calculator

Calculate permutations (nPr) and combinations (nCr) for any values of n and r with step-by-step factorial display.

The total number of items to choose from.

The number of items being chosen or arranged.

AI Financial Assistant

Beta

Ask questions about your calculation results

I can help you understand your results and explore your options. Try asking:

3 free questions per session

AI provides general information, not financial advice. Always consult a qualified professional.

Permutations vs Combinations

Permutations count arrangements where order matters (e.g., race placements, passwords). Combinations count selections where order does not matter (e.g., lottery numbers, committee members). The key question is: does rearranging the same items create a different outcome? If yes, use permutations; if no, use combinations.

How to Calculate Permutations (nPr)

The permutation formula is nPr = n! / (n-r)!. For example, arranging 3 items from 10: 10P3 = 10! / 7! = 10 × 9 × 8 = 720. This counts every possible ordered arrangement of r items chosen from n total items.

How to Calculate Combinations (nCr)

The combination formula is nCr = n! / (r! × (n-r)!). For example, choosing 3 items from 10: 10C3 = 10! / (3! × 7!) = 120. This is always less than or equal to the permutation count because it eliminates duplicate arrangements of the same items.

Real-World Applications

Permutations apply to PIN codes, seating arrangements, race outcomes, and any scenario where sequence matters. Combinations apply to lottery odds, card hands, team selection, and survey sampling. Understanding both is essential for probability calculations and counting problems.

Frequently Asked Questions