Do Quick Calculation!

Perform fast calculations with our user-friendly online calculator! Conveniently crunch numbers and solve equations instantly. Ideal for quick math tasks, our tool simplifies your daily computations effortlessly. Try our intuitive calculator for accurate results on the go!

Permutations and Combinations Calculator

Permutations and Combinations calculator for nPr and nCr. Calculate permutations, combinations, formulas, and results quickly online.

n = total distinct objects  |  r = objects selected
Order matters → permutation (nPr). Order doesn't matter → combination (nCr). Both use the same n and r.
Permutations & Combinations — Equation Reference
EquationMeaningUse When
n! = n(n−1)(n−2)···2×1Factorial0! = 1
nPr = n! ÷ (n−r)!PermutationOrder matters
nCr = n! ÷ (r!(n−r)!)CombinationOrder doesn't matter
nPr = nCr × r!RelationshipEach group of r has r! orderings
nCr = nC(n−r)Symmetry identityReduces calculation work
⚠ Valid range: 0 ≤ r ≤ n. nC0 = nCn = 1.
30 views

Our Permutations and Combinations calculator helps you solve counting problems in seconds. You can use it to calculate permutations, combinations, or compare both results.

The calculator uses two main values: n and r. Here, n is the total number of objects, while r is the number of objects you select.

Use permutations when order matters. Use combinations when order does not matter. The calculator uses direct product loops, so it can avoid large factorial calculations when possible.

Permutations and Combinations Formula

Permutation Formula

The permutation formula is:

nPr = n! / (n − r)!

It can also be written as:

nPr = n × (n − 1) × (n − 2) × ... × (n − r + 1)

A permutation counts different orders as different results.

For example, choosing A, B, and C gives different arrangements such as ABC, ACB, and BAC.

Combination Formula

The combination formula is:

nCr = n! / [r! × (n − r)!]

A combination does not treat different orders as new results. So, choosing A, B, and C is the same group as C, A, and B.

The calculator uses a shorter calculation when possible:

rr = min(r, n − r)

This uses the smaller value between r and n − r. It makes combination calculations more efficient.

Relationship Between Permutations and Combinations

The key relationship is:

nPr = nCr × r!

This lets you convert a combination into a permutation when the selected objects can be arranged in different orders.

How to Use Online Permutations and Combinations Calculator

  1. Enter the total number of objects in the n field.
  2. Enter the number of objects you want to select in the r field.
  3. Choose Permutation, Combination, or Compare mode.
  4. Click the calculate button to process the values.
  5. Review the result, formula values, and calculation details shown by the calculator.

Both n and r must be non-negative whole numbers. Also, r cannot be greater than n.

Example Permutations and Combinations Calculation

Suppose you have 5 different books and want to arrange 3 of them.

Here:

n = 5

r = 3

Because the order of the books matters, use permutations.

nPr = n! / (n − r)!

5P3 = 5! / (5 − 3)!

5P3 = 5! / 2!

5P3 = 120 / 2

5P3 = 60

So, there are 60 possible arrangements.

Now suppose you want to choose 3 books from the same 5 books, but their order does not matter.

Use combinations:

nCr = n! / [r! × (n − r)!]

5C3 = 5! / (3! × 2!)

5C3 = 120 / (6 × 2)

5C3 = 10

So, there are 10 possible groups.

You can also verify the relationship:

nPr = nCr × r!

60 = 10 × 3!

60 = 10 × 6

60 = 60

This confirms the permutation and combination relationship.

Final Verdict

Our Permutations and Combinations calculator makes common counting calculations fast and simple. It calculates nPr when order matters and nCr when order does not matter.

It can also compare both values and show the relationship between them. Whether you're checking a math problem, studying probability, or working with counting formulas, the calculator gives you a quick way to find the correct result.

FAQs

What is a Permutations and Combinations calculator?

It is an online math tool that calculates permutations and combinations from n and r values. It can show nPr, nCr, and their relationship.

What is the difference between permutation and combination?

A permutation is used when order matters. A combination is used when order does not matter.

What is the formula for nPr?

The formula is:

nPr = n! / (n − r)!

What is the formula for nCr?

The formula is:

nCr = n! / [r! × (n − r)!]

Can r be greater than n?

No. For this calculator, r must be less than or equal to n. You cannot select more objects than the total number available.

Can I use this calculator online?

Yes. Our online Permutations and Combinations calculator lets you enter n and r and calculate the required result without doing the full calculation by hand.

Is this the same as a permutation and combination calculator on TI-84?

The mathematical formulas are the same. A TI-84 can calculate nPr and nCr, while an online calculator can provide a simpler interface and calculation details.

Can I use a permutation and combination calculator in Excel?

Yes. Excel has functions for permutations and combinations. However, an online calculator can be more convenient when you want a quick result and formula-based explanation.

What does n mean in permutations and combinations?

n represents the total number of available objects, items, people, or choices.

What does r mean?

r represents the number of objects selected or arranged from the total n objects.