Permutation calculator (nPr)
Find the number of ways to select and arrange r items from n distinct items when order matters.
P(n,r) = n! / (n−r)!
Calculate permutations, combinations, selections with repetition, factorials, and binomial coefficients exactly.
Version 1.0 · Last Updated: August 10, 2026 · Maintained by ToolLarder
Solve selection problems where order matters or does not matter with the appropriate formula. Large results are calculated as exact integers without rounding.
Find the number of ways to select and arrange r items from n distinct items when order matters.
P(n,r) = n! / (n−r)!
When each of r positions can independently use any of n choices, including repeated choices, there are n to the power r arrangements.
nʳ
Find the number of ways to choose r items from n distinct items when order does not matter.
C(n,r) = n! / (r!(n−r)!)
Count unordered selections of r items from n types when a type may be selected more than once.
C(n+r−1,r)
n factorial is the product of positive integers from 1 through n; 0 factorial is defined as 1.
n! = n×(n−1)×…×1
A coefficient in a binomial expansion equals the number of ways to choose r items from n.
(n choose r) = C(n,r)