Combinations Calculator (nCr)
Free online Combinations Calculator (nCr). Calculate n choose r without replacement, simplify factorial steps, explore Pascal's triangle row, and list all subsets.
nCrCombination Parameters
Specify the total set size (n) and the number of items to select (r).
Highlighted entries show position r=3 and symmetric position n-r=2.
123Step-by-Step Mathematical Solution
Factorial Cancellation MethodThe combination formula calculates the number of ways to pick 3 items from a total set of 5 distinct items when the order of selection does not matter and each item can be chosen at most once (without replacement).
Calculate (n - r)! = (5 - 3)! = 2!. The denominator is therefore 3! × 2!.
To calculate efficiently without computing massive factorials, cancel the largest factorial 3! from the top and bottom. This leaves 2 factor(s) in both the numerator and the denominator.
Multiplying the factors yields a numerator of 20 (which equals the permutation count P(5, 2)) and a denominator of 2 (2!).
Dividing 20 by 2 gives exactly 10 distinct combinations.
☷The 4 Fundamental Combinatorial Sampling Models
Comparing n=5 and r=3 across all combinations of order and repetition.
| Model Name | Order | Repetition | Formula | Possible Outcomes |
|---|---|---|---|---|
| Combinations without Repetition (This Tool) | No | No | n! / [r!(n-r)!] | 10 |
| Permutations without Repetition | Yes | No | n! / (n - r)! | 60 |
| Combinations with Replacement (Multichoose) | No | Yes | (n + r - 1)! / [r!(n - 1)!] | 35 |
| Permutations with Replacement (Tuples) | Yes | Yes | nr | 125 |
✓All 10 Distinct Combinations
Full list of subsets generated without repetition.
How to Use the Combinations Calculator (nCr)
Step-by-step instructions for computing combinations, factorials, and Pascal coefficients
Enter Total Population Size (n)
Input the total count of distinct objects or elements available in the initial pool (n ≥ 0).
Enter Sample Size to Choose (r)
Input how many distinct items you want to choose (0 ≤ r ≤ n). If r > n, the result without replacement is 0.
Optionally Customize Set Elements
Type custom comma-separated names (e.g. Alice, Bob, Charlie) to see personalized subsets when total combinations are 120 or fewer.
Review Cancellation & Sampling Grid
Analyze the step-by-step factorial cancellations, the Pascal's triangle row preview, and compare results across all 4 combinatorial sampling models.
Combinations Formula & Mathematical Principles
Understanding binomial coefficients, symmetry, and factorial simplification
In discrete mathematics and probability theory, a combination is a technique that determines the number of possible arrangements in a collection of items where the order of selection does not matter.
Why Do We Divide by r!?
If order mattered, the number of ways to pick r items from n would simply be the permutation formula:
However, any chosen group of r items can be arranged in r! different sequences. Because order does not differentiate subsets in combinations, every subset has been over-counted exactly r! times. Dividing by r! collapses all permutations into unique unordered combinations:
Core Combinatorial Properties
- Symmetry Property: C(n, r) = C(n, n − r). Selecting r items to include in a group is physically identical to selecting the (n − r) items to leave behind.
- Pascal's Identity: C(n, r) = C(n − 1, r − 1) + C(n − 1, r). Each number in Pascal's triangle is the sum of the two numbers directly above it.
- Power Set Size: ∑k=0n C(n, k) = 2n. Summing all combinations across every possible subset size yields 2n (the cardinality of the power set).
Taxonomy: The 4 Classical Sampling Regimes
| Sampling Model | Order Matters? | Replacement Allowed? | Mathematical Formula |
|---|---|---|---|
| Combinations (nCr) [This Tool] | No | No | n! / [r!(n − r)!] |
| Permutations (nPr) | Yes | No | n! / (n − r)! |
| Combinations with Replacement (CR) | No | Yes | (n + r − 1)! / [r!(n − 1)!] |
| Sequences / Tuples | Yes | Yes | nr |
Real-World Worked Applications
5-Card Hand from 52 Cards
How many distinct 5-card poker hands can be dealt from a standard 52-card deck?
Jackpot Odds
What is the probability of matching all 6 winning numbers drawn from 49 balls?
3 Members from 10 Candidates
How many unique 3-person project teams can be selected from 10 eligible engineers?
Frequently Asked Questions
Answers to common combinations, factorials, and probability questions
What is the formula for combinations (nCr)?
The formula for combinations without replacement is C(n, r) = n! / [r! × (n - r)!], where n is the total number of items, r is the number of items chosen, and "!" denotes the factorial operation.
What is the difference between combinations and permutations?
In permutations (nPr), order matters (for example, the code 1-2-3 is different from 3-2-1). In combinations (nCr), order does not matter (the hand {Ace, King} is identical to {King, Ace}). Because of this, combinations equal permutations divided by r! (the number of ways to arrange the chosen items).
What is the symmetry property of combinations?
Combinations are symmetric: C(n, r) = C(n, n - r). For example, choosing 3 people out of 10 to be on a committee is mathematically equivalent to choosing the 7 people (10 - 3) who are left off the committee. Thus, C(10, 3) = C(10, 7) = 120.
What happens if r is greater than n in combinations without replacement?
If r > n, the number of combinations without replacement is 0 because you cannot select more unique items than exist in the set. If replacement were allowed, combinations with replacement would be C(n + r - 1, r).
How does Pascal's triangle relate to combinations?
Every entry in Pascal's triangle is a combination! The r-th number in row n (starting at row 0, column 0) is equal to C(n, r). Additionally, the sum of all numbers in row n equals 2^n, which represents the total number of all possible subsets (the power set) of a set with n elements.
Related Calculators
Quick SuggestionsCombination with Replacement Calculator
Free online Combination with Replacement Calculator. Calculate multicombinations C(n + r - 1, r) using stars and bars, compare all 4 sampling models, and view step-by-step proofs.
Circular Permutation Calculator (Pn)
Free online Circular Permutation Calculator (Pn). Compute round table seating permutations (n - 1)!, necklace arrangements, and circular subsets with step-by-step proofs and BigInt precision.
Circle Calculator
Free online Circle Calculator. Compute radius, diameter, circumference, and area from any single known property with exact Pi representations, sector arc lengths, and step-by-step proofs.
Basic Calculator
Free online Basic Calculator with standard handheld keys, arithmetic operations, memory registers, percentages, square roots, rounding modes, and copyable paper tape audit log.
Algebra Word Problems: Age
Free online Algebra Word Problems: Age calculator. Solve 3-person age relationships, age shifts across time, and learn step-by-step linear equation modeling.
Percentage Calculator
Free online percentage calculator. Find percentages, percent change, and percentage difference with step-by-step explanation.