Home› Math› Combination & Permutation Calculator

Combination & Permutation Calculator

Compute combinations (order doesn’t matter) and permutations (order matters) for choosing k items from n.

Inputs

Combinations C(n,k)
—
Permutations P(n,k)
—
Permutations with repetition (n^k)
—
Combinations with repetition
—
Formula used
—

About Combination & Permutation Calculator

Combination vs permutation

Permutation cares about order — ABC, ACB, BAC are different. Combination does not — they’re all the same selection {A,B,C}. P(n,k) = k! × C(n,k).

Real-world examples

Pick 6 lottery numbers from 49: C(49,6) = 13,983,816. License plate (3 letters then 4 digits): 26³ × 10⁴ = 175,760,000 combinations. Order/repetition rules matter a lot.

Pascal’s triangle

Row n of Pascal’s triangle is C(n,0), C(n,1), ..., C(n,n). The classic recursive identity C(n,k) = C(n-1,k-1) + C(n-1,k) lets you compute the triangle row by row.