Skip to content
SoftwareSolutions.net
Calculators & Converters

Combination Calculator

Count selections of items where order does not matter.

Try it

Ready

Inputs

Result

The result appears here as you type.

About Combination Calculator

A combination calculator counts the ways to choose a group of items from a larger set when the order does not matter. Choosing three people from ten for a committee is a combination: the committee is the same whatever order its members were picked in. Combinations appear in lotteries, team selection, card games, quality sampling and many problems in probability.

Enter the total number of items and how many you will choose. The calculator returns the number of distinct groups you could form. Because order is ignored, the answer is always smaller than the matching permutation count.

How to use Combination Calculator

  1. Enter the total number of items available.
  2. Enter how many of them you will select.
  3. Read the number of combinations in the result panel.
  4. Compare the result with the permutation count if you are unsure which applies.
  5. Use Reset to clear the values and count another selection.

Counting groups where order is ignored

The number of combinations of n items taken r at a time is written nCr and equals n factorial divided by r factorial times (n minus r) factorial. Choosing three people from ten gives 10 times 9 times 8, divided by 3 times 2 times 1, which is 720 divided by 6, or 120. There are 120 different committees.

Dividing by r factorial removes the orderings of the chosen group. Each group of three people can be arranged in six ways, so the 720 ordered picks overcount each committee six times. Dividing by six corrects that, which is the key idea behind the formula.

A useful identity is that choosing r items is the same as choosing which n minus r to leave out. Ten choose three equals ten choose seven, both 120. This symmetry helps when r is large, because you can count the smaller group instead.

Lotteries, sampling and probability

Lotteries are a well-known application. In a game where you pick six numbers from 49, the order does not matter, so the number of possible tickets is 49 choose 6. That equals 13,983,816. Each ticket has the same chance, one in nearly fourteen million, which is why jackpots are rare.

Quality control uses combinations to plan samples. If a batch of 50 items contains 5 defective ones, the number of ways to select a sample of 4 that contains exactly one defect is the product of choosing one defective item and three good ones. Combinations give the exact count for each outcome, from which probabilities follow.

Probability questions usually divide the number of favourable combinations by the total number of combinations. Five cards from a standard deck of 52 can be chosen in 52 choose 5 ways, and each hand is equally likely. Counting carefully prevents the mistake of treating ordered and unordered outcomes as the same.

Frequently asked questions

Is a combination the same as a permutation?

No. Combinations ignore order and permutations count it. The same group of items gives one combination but several permutations.

What is 5 choose 0?

It is 1. There is exactly one way to choose nothing, which is the empty group.

Why is the answer the same when I choose the other way round?

Choosing r items from n leaves n minus r items behind, so the two counts match. Ten choose three and ten choose seven are both 120.

Where is the combination formula written in Pascal's triangle?

Each entry in Pascal's triangle is a combination. The entry in row n and position r is n choose r, which gives a quick check on small values.

Related tools

Tools that pair well with this one.