Combination Formula

STATISTICS

Combination formula

A combination counts the ways to choose r items from n when order does not matter. Selecting the same group in a different order counts only once, so combinations give smaller numbers than permutations.

C(n, r) = n! / ( r! (n − r)! )
where:

  • n = the total number of items
  • r = the number of items chosen
  • n! = n factorial

When order does not matter

Use combinations when only the group matters, not its arrangement, such as choosing a committee, dealing a hand of cards, or picking lottery numbers. The extra r factorial in the denominator divides out the duplicate orderings that permutations would count separately.

Worked example

  1. Choose 2 items from 5, so n = 5 and r = 2.
  2. Apply the formula: C(5, 2) = 5! / (2! × 3!).
  3. That is 120 / (2 × 6) = 120 / 12 = 10.
  4. There are 10 unordered selections.

Related formula

See the Permutation Formula for arrangements where order matters.

FAQ

What is the combination formula?

C(n, r) = n! / (r!(n − r)!), the number of ways to choose r items from n when order does not matter.

Why is a combination smaller than a permutation?

Combinations ignore order, so each unordered group corresponds to several ordered permutations. Dividing by r! removes those duplicates.

Spotted an error or have a suggestion for this calculator? Let us know →
Scroll to Top

The calculators and tools on Formula Factory are provided for general guidance and informational purposes only. Results are estimates based on standard formulas and the values you enter — they do not constitute professional engineering, electrical, or architectural advice. Always verify calculations with a qualified professional before making decisions for any safety-critical, code-compliance, or commercial application. Formula Factory makes no representations or warranties as to the accuracy or completeness of any result, and accepts no liability for errors, omissions, or any outcomes arising from reliance on this information.