The permutation calculator can determine the number of permutations when selecting r samples from a set of n objects.