The Science of Selection
Combinations are a fundamental concept in combinatorics, a field of mathematics concerned with counting, arrangement, and probability. Unlike permutations, which care about the sequence of items, a combination focuses purely on selection. It answers the question: "In how many ways can I choose a group of items from a larger set, if the order of selection doesn't change the group?"
This concept is applied everywhere, from determining lottery odds to forming sports teams. For example, if you are making a fruit salad and you choose Apple, Banana, and Cherry, it is the same salad as Cherry, Apple, and Banana. The order doesn't change the outcome. This is a Combination.
Team Formation
Calculating how many different project teams or committees can be formed from a department of employees.
Lottery Odds
Determining the probability of winning a lottery where you choose 6 numbers from a pool of 49 (C(49,6)).
The Combination Formula Explained
The formula for calculating combinations is denoted as C(n,r), nCr, or sometimes as a binomial coefficient vector. It relies on factorials (!).
C(n,r) = n! / [r! × (n-r)!]
Here, n is the total number of items available, and r is the number of items you want to select. The formula divides the total permutations (n!) by the redundancy caused by the order of selection (r!) and the unselected items ((n-r)!). This removal of redundancy is what makes the combination count smaller than the permutation count.
Combination vs. Permutation
The crucial distinction lies in order.
- Combination (Order Doesn't Matter): Selecting 3 fruits for a smoothie (Apple, Banana, Orange). The result is 1 distinct group.
- Permutation (Order Matters): Awarding Gold, Silver, and Bronze medals to 3 runners. (Runner A, Runner B, Runner C) is a different outcome than (Runner C, Runner A, Runner B).
Real-World Examples
Card Hands
Scenario: Dealing a 5-card poker hand from a 52-card deck.
Calculation: C(52, 5) = 2,598,960 possible hands.
Note: The order you receive the cards doesn't change your hand's value.
Pizza Toppings
Scenario: Choosing 2 toppings from a list of 10.
Calculation: C(10, 2) = 45 different pizza combinations.
Note: Pepperoni and Mushroom is the same pizza as Mushroom and Pepperoni.
Frequently Asked Questions
What does nCr mean?
"nCr" is a shorthand notation for "n Choose r," which means selecting r items from a set of n. It is synonymous with the term combination.
Why is C(n,n) always 1?
If you have 5 items and you want to select all 5 of them, there is only one way to do it: take everything. The order doesn't matter, so it's just 1 group.
Does this calculator handle large numbers?
Yes, our calculator uses BigInt arithmetic to handle values where n is up to 1000. Be aware that the results can be massive numbers with hundreds of digits!
What is symmetry in combinations?
Combinations have a symmetry property where C(n, r) = C(n, n-r). For example, choosing 2 items from 10 is mathematically the same as choosing 8 items to leave behind.
How to Use This Combination Calculator
Enter n (total number of items) and r (number to choose). The Combination Calculator computes C(n, r) = n! / (r!(n−r)!)—the number of ways to choose r items from n when order does not matter. Use it for lottery odds, committee formation, sampling, or any problem where you select a subset and the arrangement is irrelevant. For ordered selections, use the Permutation Calculator; for counting all arrangements of n items, use the Factorial tool. Ensure n ≥ r and both are non-negative integers.
Example: choosing 3 people from 10 for a committee gives C(10,3) = 120. Because order does not matter, the group (A,B,C) is the same as (C,B,A). For probability, divide the number of favorable combinations by the total number of outcomes (e.g. C(5,3)/C(52,5) for poker hands). This tool is for educational and reference use only.
When Combinations Apply
Combinations are used in probability (e.g. how many ways to pick 5 cards from 52), experimental design, sampling, and combinatorics. The symmetry C(n,r) = C(n,n−r) can simplify calculations. This calculator is for educational and reference use; for very large n and r, numerical overflow may occur in some implementations.
Limitations
This calculator assumes selection without replacement (each item chosen at most once). For combinations with repetition (e.g. multiset selection), the formula is C(n+r−1, r). Inputs must be non-negative integers with r ≤ n. For probability problems, remember to divide by the total number of outcomes when needed. This tool is for informational use only; verify with your textbook or a second source for critical applications.
Disclaimer
This tool is for informational use only. Verify formula and inputs for your specific problem (e.g. with or without replacement).
Related Statistical Tools
Factorial Calculator
Calculate factorial values of numbers.
Permutation Calculator
Calculate ordered selection possibilities.
About the Combination Tool
A versatile combinatorics engine for calculating the number of possible selections from a given set.
Combination Tool How to Use?
- Enter the total pool size (n)
- Enter the selection size (r)
- Calculate the combinations
- Compare with permutation results
Combination Tool Features
- nCr and nPr calculation
- BigInt large number support
- Step-by-step formula breakdown
- Probability analysis helper