When should I use combinations?
Use combinations when selecting the same items in another order does not create a different result.
Calculate nCr combinations and nPr permutations with exact integers.
Calculations happen locally. We do not send your values to our server.
Choosing 2 items from 5 gives 10 combinations when order does not matter and 20 permutations when order matters.
Combinations use n!/(r!(n−r)!), calculated with integer cancellation. Permutations multiply n × (n−1) through r selected positions.
Inputs must be whole numbers with 0≤r≤n≤1000. Very large answers are displayed as exact integers.
Use combinations when selecting the same items in another order does not create a different result.
Use permutations when the order or assigned position of selected items matters.
There is exactly one way to select or arrange zero items, so both results equal one.