Combination Calculator (nCr) — C(n,r) = n! / (r! x (n-r)!)

The Combination Calculator computes C(n,r) — the number of ways to choose r items from n items when order does not matter. Uses exact BigInt arithmetic so results are always precise even for large values like C(52,5)=2,598,960 or C(100,50). Shows the step-by-step factorial cancellation, permutations...

C(n, r) = ?

CHOOSE r ITEMS FROM n ITEMS (ORDER DOES NOT MATTER)

C(

n (total)

,

r (choose)

)

C(10, 3) = NUMBER OF COMBINATIONS

120

= 10! / (3! × 7!)

Permutations P(n,r)

720

order matters

Symmetry C(n, n-r)

120

C(10, 7)

Probability (1/nCr)

0.00833333

if chosen randomly

Pascal's rule check

120 ✓

C(n-1,r-1)+C(n-1,r)

STEP-BY-STEP

1

n = 10, r = 3

2

C(n, r) = n! / (r! × (n−r)!)

3

C(10, 3) = 10! / (3! × 7!)

4

= 3,628,800 / (6 × 5,040)

5

= 120

6

Symmetry check: C(10, 7) = 120 ✓

7

Pascal's rule: C(9,2) + C(9,3) = 36 + 84 = 120 ✓

C(n,0) = C(n,n)1
C(n,1) = C(n,n-1)10
C(n,2)45
Sum of row n1,024 (= 2ⁿ)

QUICK EXAMPLES

PASCAL'S TRIANGLE

Row n, position r (highlighted in black)

11112113311464115101051161520156117213535217118285670562881Row 10 not shown (n > 8)

PROPERTIES OF C(10, 3)

Result120
Formula10! / (3! × 7!)
SymmetryC(10,3) = C(10,7)
Permutations P(n,r)720
P(n,r) / C(n,r)3! = 6
Sum of all C(n,k), k=0..n2^10 = 1,024

WHAT THIS MEANS

There are 120 ways to choose 3 items from 10 items when order does not matter.

Created with❤️byeaglecalculator.com

FORMULAS

COMBINATION & PERMUTATION FORMULAS
NAMEFORMULADESCRIPTION
Combination nCrC(n,r) = n! / (r! x (n-r)!)Number of ways to choose r from n, order irrelevant
Permutation nPrP(n,r) = n! / (n-r)!Number of ways to choose r from n, order matters
RelationshipP(n,r) = C(n,r) x r!Permutations = combinations x arrangements of chosen items
SymmetryC(n,r) = C(n, n-r)Choosing r items same as choosing which n-r to exclude
Pascal's ruleC(n,r) = C(n-1,r-1) + C(n-1,r)Each value is sum of the two above it in Pascal's Triangle
Row sumSum of C(n,k) for k=0 to n = 2^nTotal combinations across all r values equals 2 to the n
Special casesC(n,0) = C(n,n) = 1Choosing none or all gives exactly 1 way
Linear caseC(n,1) = C(n,n-1) = nChoosing one item gives n options

HOW TO USE

  1. 1

    Enter n — the total number of items in the set. For example, n=52 for a standard deck of cards.

  2. 2

    Enter r — how many items you are choosing. Order does not matter: choosing items A, B, C is the same as B, C, A.

  3. 3

    C(n,r) appears instantly in the black result box as an exact integer. For large n, BigInt arithmetic is used for exact results.

  4. 4

    Check the related values: permutations P(n,r) = C(n,r) x r! (when order matters), symmetry C(n,r) = C(n,n-r), and the probability 1/C(n,r) of a single random selection.

  5. 5

    The Pascal's Triangle diagram highlights your result at row n, position r. Each cell equals the sum of the two cells above it, which is Pascal's rule: C(n,r) = C(n-1,r-1) + C(n-1,r).

WORKED EXAMPLE

C(10,3): n=10, r=3. Cancel 7! top and bottom. (10x9x8)/(3x2x1) = 720/6 = 120. Symmetry: C(10,7)=120. Pascal: C(9,2)+C(9,3)=36+84=120. Permutations P(10,3)=120x6=720. Probability=1/120=0.00833. C(52,5): (52x51x50x49x48)/(5x4x3x2x1)=311875200/120=2598960 poker hands.

FREQUENTLY ASKED QUESTIONS

RELATED CALCULATORS

MORE STATISTICS CALCULATORS

Was this calculator helpful?

Last updated: April 29, 2026 · Formula verified by EagleCalculator team · Eagle-eyed accuracy for every calculation.