Combinations and permutations calculator
Quickly count the ways to choose or arrange items: combinations (nCr) when order does not matter, permutations (nPr) when it does, and plain factorials (n!).
Choose a mode, enter your values for n and r, and the result appears instantly — all computed locally in your browser with nothing uploaded.