Permutation and Combination Calculator

Solve combinatorics problems by calculating permutations and combinations, with or without repetition. Enter your total number of items (n) and the number you choose (r).

Result

Select your calculation type and enter values.

Permutation vs. Combination: What's the Difference?

The core difference between permutations and combinations lies in a single question: Does order matter?

This calculator also handles scenarios with and without repetition (i.e., whether an item can be chosen more than once).


Formulas Used by the Calculator

1. Permutation without Repetition (nPr)

The number of ways to arrange 'r' items from a set of 'n' unique items.

nPr = n! / (n - r)!


2. Combination without Repetition (nCr)

The number of ways to choose 'r' items from a set of 'n' unique items, where order doesn't matter.

nCr = n! / (r! * (n - r)!)


3. Permutation with Repetition

The number of ways to arrange 'r' items from 'n' items where repetition is allowed.

nr


4. Combination with Repetition

The number of ways to choose 'r' items from 'n' items where repetition is allowed and order doesn't matter. This is also known as the "stars and bars" method.

(n + r - 1)! / (r! * (n - 1)!)

The factorial calculations can result in very large numbers. For these, you might also find our Big Number Calculator useful.


Real-World Examples

These concepts are fundamental to many areas of mathematics, especially when working with our Probability Calculator.