UseCalcPro
Home
MathFinanceHealthConstructionAutoPetsGardenCraftsFood & BrewingTools
Blog
  1. Home
  2. Math

Combination Calculator — nCr with Steps

Calculate combinations with step-by-step formula breakdown

C(n, r)

120

n

10

r

3

P(n,r)

720

Each item can only be selected once. Formula: n! / (r!(n-r)!)

Combination Result

C(10, 3)

120

C(n+r-1, r)

220

Step-by-Step

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

= 10! / (3! × 7!)

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

= 120

Pascal’s Triangle — Row 10

1
10
45
120
210
252
210
120
45
10
1

Highlighted value at position r=3 is C(10, 3) = 120

Combination vs Permutation

C(10, 3) — order ignored120
P(10, 3) — order matters720
Ratio P/C = r!6

Formulas

C(n, r) = n! / (r! × (n − r)!)
With rep. = (n+r-1)! / (r! × (n-1)!)
C(n, r) = C(n, n − r)
C(n, 0) = C(n, n) = 1
C(n, 1) = n

Formulas Used

Combination (without repetition)

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

Count the number of ways to choose r items from n distinct items where order does not matter.

Where:

n= Total number of items to choose from
r= Number of items being chosen
n!= n factorial = n × (n-1) × ... × 1

Combination with repetition (multiset)

C_rep(n, r) = (n + r - 1)! / (r! × (n - 1)!)

Count the number of ways to choose r items from n types when items can be reused (multiset selections).

Where:

n= Number of item types available
r= Number of items being chosen

Relationship to Permutations

C(n, r) = P(n, r) / r!

Combinations equal permutations divided by r!, because order does not matter in combinations.

Where:

P(n,r)= Number of permutations (ordered arrangements)
r!= Number of ways to arrange r items

Example Calculations

1C(10, 3) — Choose 3-Person Committee from 10

Inputs

n (Total Items)10
r (Items Chosen)3

Result

C(10, 3)120
With Repetition C(12,3)220
P(10, 3)720

C(10,3) = 10!/(3!×7!) = (10×9×8)/(3×2×1) = 720/6 = 120. There are 120 ways to form a 3-person committee from 10 candidates.

2C(52, 5) — Poker Hand

Inputs

n (Total Items)52
r (Items Chosen)5

Result

C(52, 5)2,598,960
P(52, 5)311,875,200

C(52,5) = 52!/(5!×47!) = 2,598,960. There are nearly 2.6 million possible 5-card poker hands from a standard deck.

3C(6, 6) — Select All Items

Inputs

n (Total Items)6
r (Items Chosen)6

Result

C(6, 6)1
P(6, 6)720

C(6,6) = 6!/(6!×0!) = 1. There is only one way to choose all items: take them all. However, P(6,6) = 720 because there are 720 orderings.

Frequently Asked Questions

Q

What is a combination and how does it differ from a permutation?

A combination counts the number of ways to select items where order does not matter. Choosing {A, B, C} is the same combination as {C, B, A}. In permutations, order matters, so ABC and CBA are counted separately. The formula is C(n,r) = n! / (r!(n-r)!).

  • C(10,3) = 120 — choosing 3 people for a committee from 10 (order irrelevant)
  • P(10,3) = 720 — assigning president, VP, secretary from 10 (order matters)
  • C(52,5) = 2,598,960 — number of possible 5-card poker hands
  • P(n,r) = C(n,r) × r! — every combination has r! permutations
  • Lottery "pick 6 from 49": C(49,6) = 13,983,816 possible tickets
ScenarioCombination C(n,r)Permutation P(n,r)
3 from 10120720
5 from 52 (poker)2,598,960311,875,200
2 from 82856
6 from 49 (lottery)13,983,81610,068,347,520
Q

How do you calculate combinations with repetition?

Combinations with repetition (multisets) use the formula C(n+r-1, r) = (n+r-1)! / (r!(n-1)!). This counts selections where the same item can be chosen multiple times. For example, choosing 3 scoops from 5 ice cream flavors: C(5+3-1, 3) = C(7,3) = 35 combinations.

  • 3 scoops from 5 flavors: C(7,3) = 35 combinations (with repetition)
  • Without repetition: C(5,3) = 10 (each flavor at most once)
  • 4 items from 3 types: C(6,4) = 15 multiset selections
  • Distributing 10 identical balls into 4 boxes: C(13,10) = 286 ways
  • Stars and bars method: same formula, different visualization
ScenarioWithout RepetitionWith Repetition
3 from 5 itemsC(5,3) = 10C(7,3) = 35
2 from 4 itemsC(4,2) = 6C(5,2) = 10
4 from 6 itemsC(6,4) = 15C(9,4) = 126
Q

What is Pascal's triangle and how does it relate to combinations?

Pascal's triangle is a triangular array where each entry is C(n,r), the number of combinations of r items from n. Each number equals the sum of the two numbers above it. Row n contains all values of C(n,0) through C(n,n). It is used in probability, algebra, and binomial expansions.

  • Row 0: 1 | Row 1: 1,1 | Row 2: 1,2,1 | Row 3: 1,3,3,1 | Row 4: 1,4,6,4,1
  • Entry at row n, position r = C(n,r)
  • Each entry = sum of two entries above: C(n,r) = C(n-1,r-1) + C(n-1,r)
  • Row sums equal powers of 2: row n sums to 2ⁿ
  • Used in binomial theorem: (a+b)ⁿ = Σ C(n,k) × aⁿ⁻ᵏ × bᵏ
Q

What does "n choose r" mean in math?

"n choose r", written as C(n,r) or ⁷Cr, is the binomial coefficient. It represents the number of ways to choose r items from a set of n distinct items, without regard to order. The formula is C(n,r) = n! / (r! × (n-r)!).

  • C(5,2) = 10 — there are 10 ways to pick 2 items from 5
  • C(n,0) = 1 and C(n,n) = 1 — one way to choose nothing or everything
  • C(n,r) = C(n, n-r) — choosing 3 from 10 = choosing 7 from 10
  • In Excel/Sheets: use =COMBIN(n, r) to calculate
  • Also called binomial coefficient, written as (n r) with parentheses
ExpressionExpansionResult
C(5,2)5!/(2!×3!)10
C(10,3)10!/(3!×7!)120
C(20,5)20!/(5!×15!)15,504
C(52,5)52!/(5!×47!)2,598,960

Understanding Combinations and Binomial Coefficients

Combinations are a core concept in combinatorics, counting the number of ways to select items from a larger set when the order of selection does not matter. The combination formula C(n,r) = n!/(r!(n-r)!) gives the binomial coefficient, which appears throughout mathematics, from probability theory to polynomial expansions.

Pascal's triangle provides a visual representation of all binomial coefficients. Each row n contains the values C(n,0) through C(n,n), and the recursive property C(n,r) = C(n-1,r-1) + C(n-1,r) means each entry is the sum of the two entries above it. This elegant pattern connects to the binomial theorem (a+b)^n.

Combinations with repetition (multichoose) extend the concept to situations where items can be selected multiple times. The formula C(n+r-1, r) uses the stars and bars method and is essential in problems like distributing identical objects into distinct groups or counting multisets.

Related Calculators

Permutation Calculator

Calculate nPr permutations

Probability Calculator

Calculate event probability

Statistics Calculator

Calculate statistical measures

Fraction Calculator

Fraction operations made easy

Triangle Calculator

Calculate triangle area, perimeter, and semi-perimeter from base and height. Shows step-by-step solutions using standard formulas and Heron's formula.

Pythagorean Theorem Calculator

Solve a\u00B2 + b\u00B2 = c\u00B2 for any missing side with step-by-step solutions. Identifies Pythagorean triples and calculates triangle area, perimeter, and angles.

Related Resources

Permutation Calculator

Calculate nPr and ordered arrangements

Probability Calculator

Calculate event probability with combinations

Statistics Calculator

Calculate mean, median, and standard deviation

Percentage Calculator

Calculate percentages and proportions

Last Updated: Mar 9, 2026

This calculator is provided for informational and educational purposes only. Results are estimates and should not be considered professional financial, medical, legal, or other advice. Always consult a qualified professional before making important decisions. UseCalcPro is not responsible for any actions taken based on calculator results.

UseCalcPro
FinanceHealthMath

© 2026 UseCalcPro