Permutation & Combination Calculator (nPr, nCr)

Count the ways to arrange or choose items. Everything runs in your browser; nothing you enter is uploaded or stored.

  • Free, no sign-up
  • Runs in your browser
  • Verified

How to use it

  1. Enter n, the number of items to choose from.
  2. Enter r, how many you choose.
  3. Read the permutations (order matters) and combinations (order does not).

How it works

nPr = n! ÷ (n − r)! and nCr = n! ÷ (r! × (n − r)!). Without repetition r cannot exceed n. With repetition allowed, arrangements are n^r and combinations are C(n + r − 1, r). BigInt arithmetic keeps every digit exact.

Examples

  • Choosing 3 of 10: 720 ordered arrangements or 120 unordered combinations. C(52, 5) = 2,598,960 poker hands.

Limitations

  • n and r up to 3,000. Results with more than 40 digits are shown as scientific notation plus the digit count.

Last verified . See our Accuracy & Editorial Policy. Found a problem? Email [email protected].