Combination Calculator – Calculate nCr Online
Calculate combinations (nCr) instantly with our free online combination calculator. Find how many ways r items can be chosen from n items using the combination formula.
Understanding Combinations
Combinations count the number of ways you can select items from a larger set when the order doesn't matter. If you're picking 3 toppings for your pizza from 10 available options, it doesn't matter whether you pick pepperoni first or last – you end up with the same pizza. That's a combination.
This is different from permutations, where order does matter. A lock combination is actually a permutation – 1-2-3 opens the lock, but 3-2-1 does not. In true combinations, selecting Alice, Bob, and Carol for a committee is the same as selecting Carol, Alice, and Bob.
Combinations appear everywhere: lottery drawings, card hands, committee selections, menu combinations, and sample selections in research. Anytime you're choosing a subset without regard to order, you're dealing with combinations.
The Combination Formula
Also written as nCr, Cn,r, or the binomial coefficient (n⁄r)
Key Properties
Combinations vs Permutations
Worked Examples
Example 1: Poker Hands
How many different 5-card hands can be dealt from a standard 52-card deck?
Example 2: Committee Selection
A club has 12 members. How many ways can they choose a 4-person committee?
Example 3: Pizza Toppings
A pizza shop offers 8 toppings. How many different 3-topping pizzas can you order?
Example 4: Lottery Odds
A lottery requires choosing 6 numbers from 1 to 49. What are your odds of winning?
Quick Fact
Blaise Pascal (1623-1662) studied combinations extensively and arranged them in what we now call Pascal's Triangle. Each entry in the triangle is a combination value C(n,r). The triangle reveals patterns in binomial expansions, probability, and even fractal geometry (the Sierpinski triangle emerges when you color odd numbers). Pascal's work on combinations with Pierre de Fermat also founded probability theory – they developed it while solving a gambler's problem about how to fairly divide stakes in an interrupted game.
Frequently Asked Questions
When do I use combinations instead of permutations?
Use combinations when order doesn't matter – selecting team members, choosing menu items, drawing cards. Use permutations when order matters – creating passwords, ranking finishers in a race, arranging books on a shelf. Ask yourself: if I rearrange my selections, is it still the same outcome? If yes, it's a combination.
Why does C(n,r) equal C(n, n-r)?
Choosing r items to include automatically determines which (n-r) items you're excluding. If you have 10 people and choose 3 for a committee, you're also choosing 7 people who won't be on the committee. There's a one-to-one correspondence between the two choices, so they have the same count.
What does the factorial symbol (!) mean?
Factorial means multiply all positive integers from 1 up to that number. So 5! = 5 × 4 × 3 × 2 × 1 = 120. By definition, 0! = 1. Factorials grow extremely fast – 10! is already 3,628,800. This is why combination formulas often cancel out large portions of the factorials.
Can r be larger than n?
No, C(n,r) is undefined when r > n. You can't choose 10 items from a set of only 5. Mathematically, the formula would require calculating factorials of negative numbers, which aren't defined. If you try to compute it, you should get 0 or an error.
What is the binomial coefficient?
The binomial coefficient (n⁄r) is exactly the same as C(n,r). It's called the binomial coefficient because it appears in the binomial theorem: (a + b)ⁿ = Σ C(n,k) × aⁿ⁻ᵏ × bᵏ. The coefficients in the expansion of (a + b)ⁿ are the combination values.
How do I calculate combinations without a calculator?
Write out the formula and cancel before multiplying. For C(8,3) = 8!/(3!×5!), expand to (8×7×6×5!)/(3!×5!). The 5! cancels, leaving (8×7×6)/(3×2×1). Simplify: 6/6 = 1, so you have 8×7 = 56. Always cancel factorials first to keep numbers manageable.
What's the largest combination I can calculate?
This calculator handles n up to 170 because 171! exceeds the maximum value for standard number types. For most practical purposes, this is more than enough. Lottery calculations, card probabilities, and typical combinatorics problems all fall well within this range.
Other Free Tools
Permutation Calculator – Calculate nPr Online
Calculate permutations (nPr) instantly with our free online permutation calculator. Find the number of ways r items can be arranged from n items with formula and solution shown.
Factorial Calculator – Compute n! Instantly Online
Calculate the factorial of any non-negative integer instantly with our free online factorial calculator. Supports large factorials with exact results.
Probability Calculator – Calculate Probability of Events Online
Calculate the probability of any event with our free online probability calculator. Find simple, complementary, and conditional probabilities with formula explanations.
Pascal's Triangle Generator – Generate Pascal's Triangle Online
Generate Pascal's Triangle up to any number of rows with our free online generator. Visualize binomial coefficients, patterns, and number relationships in a clear triangle format.
Binomial Expansion Calculator – Expand (a+b)^n Online
Expand any binomial expression (a + b)^n with our free online binomial expansion calculator. Uses the binomial theorem with Pascal's triangle coefficients and full term listing.
Fibonacci Sequence Generator – Calculate Fibonacci Numbers Online
Generate the Fibonacci sequence up to any number of terms or find the nth Fibonacci number with our free online Fibonacci calculator. Fast and accurate for any value of n.
Random Number Generator – Generate Random Numbers Online
Generate random numbers within any range with our free online random number generator. Useful for games, statistics, lotteries, and any application requiring random values.
Dice Roller Simulator – Roll Virtual Dice Online Free
Roll any type and number of dice virtually with our free online dice roller simulator. Supports d4, d6, d8, d10, d12, and d20 dice with instant results and totals.