IDEAFACTORYS LAB · Utility

Combination and Permutation Calculator

Enter n and r. Permutations count order; combinations do not. The default is no repetition.

Enter non-negative integers n and r

With no repetition, permutations are P(n, r) = n! / (n − r)! and combinations are C(n, r) = n! / (r! (n − r)!). Permutations count order; combinations do not. r must be ≤ n, otherwise the page reports an error. This page does not use with-repetition formulas, so the definitions stay distinct. Large factorials are computed with BigInt so they do not overflow ordinary floating-point numbers.

Counts of permutations and combinations without repetition. This is not a probability model or a lottery tip.

Permutations and combinations