nCr, nPr and n! Calculator

nPr = n! ÷ (n − r)!; nCr = nPr ÷ r!. Exact with BigInt up to n = 1000.

How to use it

Enter n and r (r ≤ n). All three values are exact integers, shown in scientific form when very large.

Example: with n 10, r 3, the result is combinations ncr 120.

Common questions

What is 52 choose 5?

2,598,960 poker hands.

What is 0!?

It is 1 by definition.

More calculators