Permutation & Combination Calculator

Permutation & Combination Calculator

Permutation & Combination Calculator | CalcSphere.com

Permutation & Combination Calculator

Calculate permutations (nPr) and combinations (nCr) with step-by-step explanations and visualizations

Input Parameters

Results

Permutation (nPr)

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

Number of ways to arrange 'r' items from a set of 'n' items where order matters.

Combination (nCr)

-
C(n, r) = n! / [r! * (n - r)!]

Number of ways to choose 'r' items from a set of 'n' items where order doesn't matter.

Calculation results will be visualized here

Frequently Asked Questions

What is the difference between permutation and combination?

Permutation (nPr) is the arrangement of objects in a specific order. The order matters in permutations. Combination (nCr) is the selection of objects without regard to order. The order does not matter in combinations.

Example: For the letters A, B, C:

  • Permutations of 2 letters: AB, BA, AC, CA, BC, CB (6 results)
  • Combinations of 2 letters: AB, AC, BC (3 results)
How do I calculate permutations and combinations?

The formulas are:

Permutation (nPr): P(n, r) = n! / (n - r)!

Combination (nCr): C(n, r) = n! / [r! * (n - r)!]

Where n is the total number of items, r is the number of items selected, and ! denotes factorial (e.g., 5! = 5 × 4 × 3 × 2 × 1 = 120).

When should I use permutations vs combinations?

Use permutations when:

  • The order/arrangement matters (e.g., race results, password combinations)
  • Assigning positions (e.g., president, vice-president)
  • Arranging distinct objects in sequence

Use combinations when:

  • The selection matters but order doesn't (e.g., committee members, lottery numbers)
  • Selecting groups where arrangement isn't important
  • Choosing subsets from a larger set
What are some real-world applications of permutations and combinations?

Permutations:

  • Password and security combinations
  • Race results and rankings
  • Scheduling and timetables
  • Cryptography and encryption

Combinations:

  • Lottery and gambling probabilities
  • Committee selections
  • Menu combinations at restaurants
  • Genetics and biological combinations
  • Stock portfolio selections