Skip to content
FiftyCalc Free calculators for all 50 states

Combination Calculator

Test cases replayed : 4 of 4 match · Methodology · No outside source listed

Enter the total number of items and how many you choose, to count the possible groups when order does not matter.

Result

Sample figures

Combinations C(n, r)—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Combination Calculator

Total number of items (n): enter 0 or more. Prefilled example: 10.

Number of items chosen (r): enter 0 or more. Prefilled example: 3.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Total number of items (n): enter 0 or more.
  2. Number of items chosen (r): enter 0 or more.
  3. Read the result: Combinations C(n, r).

How this calculator works

C(n, r) = n! ÷ (r! × (n − r)!), read "n choose r": the number of groups of r items taken from n distinct items, without repetition and without regard to order.

Results above about 10¹⁵ are shown rounded, since they exceed exact double-precision integers.

The formula

  1. C=ncr⁡(n,r)
Symbols used in the formula
SymbolMeaning
nTotal number of items
rNumber of items chosen
CCombinations C(n, r)
ncr(n, k)the number of ways to choose k items from n, order ignored.

Worked example

Total number of items (n)10
Number of items chosen (r)3
  1. C=ncr⁡(10,3)=120

Combinations C(n, r) 120

Each step uses the unrounded value of the step before it; figures on this page are rounded for display.

Frequently asked questions

How many 5-card poker hands are there?

C(52, 5) = 2,598,960.

What is the difference between a combination and a permutation?

A combination ignores order (ABC = CBA); a permutation counts each order separately, so there are r! times more permutations than combinations.

Questions answered

Related calculators