Enter whole-number Total items (n) and Items to select (r); defaults are 5 and 3.
Use 0≤r≤n≤170. The page rejects r greater than n even for repeated-selection calculations.
Use Calculate or change a value to refresh the counts. Enter integers because decimal inputs can be truncated.
Keep values moderate; factorial-based results may overflow or lose precision even within the visible n limit.
Reading the result
Outputs cover nPr, nCr, n^r, repeated combinations, derangements !n, and n!. Here n! means multiplying the integers from 1 to n (0! = 1), while !n counts arrangements of all n items in which no item stays in its original position.
The two percentages divide nPr and nCr by n^r; they are comparison ratios, not universal event probabilities.
The small selection picture always illustrates choosing 3 out of 5 and does not follow changed inputs.