Calculate the number of combinations — ways to choose r items from a set of n items where order does not matter. Perfect for probability, statistics, combinatorics, and lottery calculations.
A combination is a selection of items from a larger set where the order of selection does not matter. In mathematics, combinations are used to count the number of ways to choose a subset of items from a larger set. The notation C(n, r) or nCr represents the number of ways to choose r items from a set of n distinct items.
For example, if you have a set of 5 fruits {apple, banana, cherry, date, elderberry} and you want to choose 2 of them, the number of possible combinations is C(5,2) = 10. The pair {apple, banana} is considered the same combination as {banana, apple} because order does not matter.
The combination formula is derived from the permutation formula by dividing out the r! ways that the chosen items can be ordered. This gives us the number of unordered selections.
Problem: How many different 5-card poker hands can be dealt from a standard 52-card deck?
Solution: n = 52 (total cards), r = 5 (cards in a hand).
C(52,5) = 52! / (5! × 47!) = 2,598,960 possible poker hands.
The order of cards in your hand doesn't matter — the same 5 cards in any order is the same hand.
Problem: A pizza parlor offers 8 toppings. How many different 3-topping pizzas can you order?
Solution: n = 8 (toppings), r = 3 (toppings per pizza).
C(8,3) = 8! / (3! × 5!) = 56 different 3-topping pizzas.
Choosing pepperoni, mushrooms, and olives is the same pizza regardless of the order you list them.
Problem: In a lottery, you must correctly choose 6 numbers from 1 to 49. What are the total possible combinations?
Solution: n = 49 (total numbers), r = 6 (numbers to pick).
C(49,6) = 49! / (6! × 43!) = 13,983,816 possible combinations.
Your odds of winning the jackpot with a single ticket are 1 in 13,983,816.
Problem: A club has 12 members and needs to select a committee of 4 people. How many different committees can be formed?
Solution: n = 12 (members), r = 4 (committee size).
C(12,4) = 12! / (4! × 8!) = 495 possible committees.
A committee of Alice, Bob, Charlie, and Diane is the same committee regardless of the order they are listed.
Combinations are fundamental to calculating probabilities in games of chance, survey sampling, and the binomial probability distribution formula.
Geneticists use combinations to calculate possible gene combinations, Punnett square outcomes, and the probability of inheriting specific traits.
Used in supply chain optimization, inventory selection problems, scheduling, and determining possible team configurations for projects.
Feature selection in machine learning, combinatorial optimization, and analyzing subsets of data all rely on combination calculations.
Game developers use combinations to design card decks, loot tables, character builds, and any system involving selecting items from a pool.
Combination counting is essential in analyzing key spaces, password strength estimation, and understanding the computational difficulty of certain cryptosystems.
⚠️ Important Note: This Combination Calculator is for educational and informational purposes only. Combination calculations assume all items are distinct and selections are made without replacement. For critical applications involving gambling, financial decisions, or scientific research, results should be verified independently. Always consult a qualified mathematician or statistician for high-stakes combinatorial analysis.