# Combinations Calculator (nCr)

## Calculator Use

The Combinations Calculator will find the number of possible combinations that can be obtained by taking a sample of items from a larger set. Basically, it shows how many different possible subsets can be made from the larger set. For this calculator, the order of the items chosen in the subset does not matter.

- Factorial
- There are n! ways of arranging n distinct objects into an ordered sequence, permutations where n = r.
- Combination
- The number of ways to choose a sample of r elements from a set of n distinct objects where order does not matter and replacements are not allowed.
- Permutation
- The number of ways to choose a sample of r elements from a set of n distinct objects where order does matter and replacements are not allowed. When n = r this reduces to n!, a simple factorial of n.
- Combination Replacement
- The number of ways to choose a sample of r elements from a set of n distinct objects where order does not matter and replacements are allowed.
- Permutation Replacement
- The number of ways to choose a sample of r elements from a set of n distinct objects where order does matter and replacements are allowed.
- n
- the set or population
- r
- subset of n or sample set

## Combinations Formula:

\[ C(n,r) = \frac{n!}{( r! (n - r)! )} \]For n ≥ r ≥ 0.

The formula show us the number of ways a sample of “r” elements can be obtained from a larger set of “n” distinguishable objects where order does not matter and repetitions are not allowed. [1] "The number of ways of picking r unordered outcomes from n possibilities." [2]

Also referred to as r-combination or "n choose r" or the **binomial coefficient**. In some resources the notation uses k instead of r so you may see these referred to as k-combination or "n choose k."

### Combination Problem 1

**Choose 2 Prizes from a Set of 6 Prizes**

You have won first place in a contest and are allowed to choose 2 prizes from a table that has 6 prizes numbered 1 through 6. How many different combinations of 2 prizes could you possibly choose?

In this example, we are taking a subset of 2 prizes (r) from a larger set of 6 prizes (n). Looking at the formula, we must calculate “6 choose 2.”

C (6,2)= 6!/(2! * (6-2)!) = 6!/(2! * 4!) = **15 Possible Prize Combinations**

The 15 potential combinations are {1,2}, {1,3}, {1,4}, {1,5}, {1,6}, {2,3}, {2,4}, {2,5}, {2,6}, {3,4}, {3,5}, {3,6}, {4,5}, {4,6}, {5,6}

### Combination Problem 2

**Choose 3 Students from a Class of 25**

A teacher is going to choose 3 students from her class to compete in the spelling bee. She wants to figure out how many unique teams of 3 can be created from her class of 25.

In this example, we are taking a subset of 3 students (r) from a larger set of 25 students (n). Looking at the formula, we must calculate “25 choose 3.”

C (25,3)= 25!/(3! * (25-3)!)= **2,300 Possible Teams**

### Combination Problem 3

**Choose 4 Menu Items from a Menu of 18 Items**

A restaurant asks some of its frequent customers to choose their favorite 4 items on the menu. If the menu has 18 items to choose from, how many different answers could the customers give?

Here we take a 4 item subset (r) from the larger 18 item menu (n). Therefore, we must simply find “18 choose 4.”

C (18,4)= 18!/(4! * (18-4)!)= **3,060 Possible Answers**

## References

[1] Zwillinger, Daniel (Editor-in-Chief). *CRC Standard Mathematical Tables and Formulae, 31st Edition* New York, NY: CRC Press, p. 206, 2003.

For more information on combinations and binomial coefficients please see Wolfram MathWorld: Combination.

**Cite this content, page or calculator as:**

Furey, Edward "Combinations Calculator (nCr)"; from *http://www.calculatorsoup.com* - Online Calculator Resource.