Popular: 1/2 + 3/4 20% of 150 GCF(12, 18) 100 ÷ 7 √144 Circle r=7 sin(30°) 255 in Binary
Total Items (n): Choose (r):

About the Combinations (nCr) & Permutations (nPr) Calculator

In combinatorics and probability, Combinations (nCr) count how many ways you can select r items from a group of n items when order does not matter. Permutations (nPr) count how many ways you can arrange r items from n when order does matter.

Our calculator computes both C(n, r) and P(n, r) simultaneously using exact factorials.

Combinations (nCr) & Permutations (nPr) Formulas

When selecting r items from a set of n distinct items (where 0 ≤ r ≤ n):

Combinations (Order Does Not Matter): C(n, r) = n! / ( r! × (n − r)! )
Permutations (Order Matters): P(n, r) = n! / (n − r)!

How to Calculate nCr and nPr Step-by-Step

  1. Calculate Permutations P(n, r) First: Multiply r descending factors starting from n, which equals n! / (n − r)!.
  2. Divide by r! for Combinations C(n, r): Since order does not matter in combinations, divide P(n, r) by r! to remove duplicate orderings.

Worked Example: To find 5 choose 2, first find P(5, 2) = 5 × 4 = 20. Then divide by 2! = 2 to get C(5, 2) = 10 combinations.

Frequently Asked Questions (FAQ)

When should I use Combinations vs. Permutations?

Use Permutations when the order of selection creates a different outcome (such as a podium finish 1st/2nd/3rd or a PIN code). Use Combinations when order does not matter (such as choosing a 3-person committee or lottery numbers).

All-in-One Math Calculators by Category All Solved Math Problems →

Popular Step-by-Step Solved Problems Full Directory →