Combination & Permutation Calculator

Discrete mathematics problems require understanding when order matters: choosing lottery numbers (order irrelevant: pick any 6 of 49 equals 13.9 million possible combinations) versus assigning race medals to 25 contestants (order crucial: gold vs. silver placement = 360 million permutations). Probability calculations in card games (5-card poker has 2.6 million possible hands) and security (4-digit PIN from 10 digits = 5,040 codes) hinge on whether repetition and arrangement matter. Students, engineers, and data analysts frequently encounter scenarios where this distinction determines accurate calculation versus catastrophic misunderstanding.

Combinations (nCr)
120
Formula used
10C3 = 10! / (3! × 7!)
Calculation type
Ways to choose 3 items from 10 (order doesn't matter)
Probability %
12000.00%
n! (total factorial)
3,628,800
r! (selected factorial)
6
(n-r)! (remainder factorial)
5,040

There are 120 ways to choose 3 items from 10 items when order doesn't matter.

This calculator instantly handles both operations, automatically selecting nCr or nPr based on your choice. It displays the mathematical formula, factorials for each component, and probability percentages to verify results. The calculator prevents manual calculation errors (20! = 2.4 trillion is easy to get wrong) and immediately clarifies what combinations versus permutations mean by computing both for the same values, letting you see why seating 3 winners among 10 candidates yields more arrangements (nPr = 720) than selecting 3 committee members from 10 (nCr = 120).

Before defaulting to either operation, verify which scenario applies: if rearrangement doesn't change the outcome (committee selections, lottery draws, pizza toppings), use combinations. If sequence or assignment matters (job titles, race placements, password generation), use permutations. This conceptual clarity matters more than mathematical skill; once you identify the right operation, the calculator handles the computation.

Understanding Combinations: Order Doesn't Matter

A combination is a selection of items where order is irrelevant. Choosing 3 people from a group of 10 to form a committee is a combination because the committee "Alice, Bob, Charlie" is identical to "Charlie, Alice, Bob." The combination formula is nCr = n! / (r! × (n-r)!), where n is total items and r is selected items. For 10 people choosing 3: 10C3 = 10! / (3! × 7!) = 3,628,800 / (6 × 5,040) = 120. There are 120 distinct committees possible. Combinations are used in lottery calculations, team selections, food menu combinations, and any scenario where arrangement sequence doesn't change the result.

Understanding Permutations: Order Matters

A permutation is an arrangement where order is significant. Assigning 3 different job titles (President, Secretary, Treasurer) from 10 candidates is a permutation because "Alice as President" is different from "Alice as Secretary." The permutation formula is nPr = n! / (n-r)!. For 10 people choosing 3 roles: 10P3 = 10! / 7! = 3,628,800 / 5,040 = 720. There are 720 different ways to assign three distinct positions. Permutations are used in password calculations, race placements, seating arrangements, and scheduling where position or sequence matters.

Difference Between Combinations and Permutations with Examples

A pizza shop offers 8 toppings. How many 3-topping pizzas can be made? Since "pepperoni, mushroom, sausage" is the same pizza as "sausage, pepperoni, mushroom," this is a combination: 8C3 = 56 unique pizzas. However, if selecting 3 items from a menu to rank your favorites, "pepperoni as 1st, mushroom as 2nd" differs from "mushroom as 1st, pepperoni as 2nd," making it a permutation: 8P3 = 336 ranked preferences. Another example: selecting 5 students from a class of 25 for a recognition award (combination: 25C5 = 53,130) versus awarding 5 distinct prizes to 5 of 25 students (permutation: 25P5 = 6,375,600). The same scenario with different requirements yields vastly different results.

Practical Applications in Probability and Statistics

Combinations appear frequently in probability. For a 52-card deck, the number of possible 5-card poker hands is 52C5 = 2,598,960. The probability of a specific hand (e.g., royal flush) is (number of royal flush combinations) / 2,598,960. In lottery games, matching 6 numbers from 49 possible is 49C6 = 13,983,816 possible combinations—your odds are 1 in 13,983,816. Permutations model scenarios like shuffle probabilities or password strength: a 4-digit PIN from 10 digits (0–9) is 10P4 = 5,040 possible codes. Understanding these calculations helps assess genuine probability, risk, and odds in games, lotteries, and statistical events.

Calculating Combinations and Permutations Manually

For small numbers, manual calculation is possible. To find 5C3: 5C3 = 5! / (3! × 2!) = 120 / (6 × 2) = 120 / 12 = 10. List them: (1,2,3), (1,2,4), (1,2,5), (1,3,4), (1,3,5), (1,4,5), (2,3,4), (2,3,5), (2,4,5), (3,4,5)—yes, 10 combinations. For 5P3: 5P3 = 5! / 2! = 120 / 2 = 60. This is tedious for large numbers; factorials grow exponentially (20! = 2.4 trillion). Use this calculator for accuracy with large numbers and to verify small-number manual calculations.

Advanced Topics: Circular Permutations and Combinations with Replacement

Circular permutations arrange items in a circle where rotations are identical. Arranging 5 people around a round table: (5-1)! = 4! = 24 seating arrangements (not 5! = 120) because rotations are equivalent. Combinations with replacement allow selecting the same item multiple times: choosing 3 toppings from 8 where repeats are allowed is (8+3-1)C3 = 10C3 = 120 unique selections. These advanced variants address specific scenarios beyond standard nCr and nPr but follow similar mathematical principles. Understand when to apply each formula based on scenario constraints.

Frequently asked questions

What's the difference between combinations and permutations in simple terms?

Combinations: "Choose 3 toppings from 8" (order doesn't matter). Permutations: "Arrange 3 trophies (Gold, Silver, Bronze) among 8 winners" (order matters—Gold vs. Silver is different). Same items, different context yields different calculation.

When should I use nCr instead of nPr?

Use nCr when selecting items where order is irrelevant: lottery numbers, committee members, pizza toppings, handshakes, team selections. Use nPr when arranging items where order is important: seating charts, race placements, password codes, job positions, line orders.

Why does combination always yield a smaller number than permutation?

Permutations count all arrangements; combinations group identical sets. Choosing 3 from 10 gives one combination but 3! = 6 different permutations (all ways to arrange those 3). Thus nPr is always greater than or equal to nCr: nPr = nCr × r!.

Can r be larger than n?

No. You cannot choose 5 items from 3 items or arrange 10 items when only 6 exist. If r > n, both nCr and nPr equal zero. The calculator validates this and displays an error message.

What does 0! (zero factorial) equal?

By definition, 0! = 1. This makes mathematical formulas work consistently: nC0 = n! / (0! × n!) = 1 (one way to choose nothing), and nC1 = n (n ways to choose one item). Without 0! = 1, these wouldn't work correctly.

How do I calculate combinations and permutations with very large numbers?

Factorials grow exponentially and overflow quickly. Use this calculator for accuracy. For ultra-large numbers (n > 100), specialized software or approximation formulas (Stirling's approximation) are needed. Most real applications (lottery, poker) fit within calculator range.

How do poker hand probabilities relate to combinations?

A standard 52-card deck has 52C5 = 2,598,960 possible 5-card hands. Specific hands (royal flush) occur in exactly 4 ways (one per suit). Probability of royal flush = 4 / 2,598,960 ≈ 0.0000015 or 1 in 649,740. All poker probabilities derive from these combination counts.

What's a real-world use of permutations outside math class?

Password strength: a 6-character password using 26 letters + 10 digits (36 options) allows 36P6 = 2.2 billion combinations. Permutations also model scheduling (assign 5 workers to 5 shifts—5P5 = 120 ways), encryption, and arrangement puzzles.

CalcNow provides estimates for informational purposes only. Verify important figures with a qualified professional.