Permutation & Combination Calculator — Free nPr nCr Tool

Free permutation and combination calculator. Calculate P(n,r), C(n,r), with repetition, and factorial. Supports large numbers. 100% client-side. 100% serverless.

🔒 100% Private
Completely Free
🌐 Runs in Browser
📦 Export Ready

Permutation & Combination Calculator — Free nPr nCr Tool

Tool Workspace

Ready

Loading tool...

  1. Enter n — Total number of items.
  2. Enter r — Number of items chosen.
  3. Calculate — See permutations, combinations, with/without repetition, and factorial.

Permutation & Combination Calculator

Calculate permutations P(n,r) and combinations C(n,r) with and without repetition. The calculator uses BigInt for exact results even with very large numbers, and shows factorial values.

Formulas

  • P(n,r) = n! / (n-r)! — Order matters, no repetition
  • C(n,r) = n! / (r!(n-r)!) — Order doesn't matter, no repetition
  • P with repetition = n^r — Order matters, repetition allowed
  • C with repetition = (n+r-1)! / (r!(n-1)!) — Order doesn't matter, repetition allowed

Real-World Examples

  • Lottery — C(49,6) = 13,983,816 possible combinations
  • Password — P with rep: 26^8 = 208 billion for 8 lowercase letters
  • Committee — C(20,5) = 15,504 ways to choose 5 from 20
  • Race places — P(10,3) = 720 ways for gold, silver, bronze from 10

Features

  • 5 Calculations — P, C, P with rep, C with rep, factorial
  • Large Numbers — BigInt support for exact results
  • Formula Display — Shows formula used for each calculation

Privacy

All calculations run in your browser.

Frequently Asked Questions

What is the difference between permutation and combination?

Permutations consider order (ABC ≠ BAC). Combinations don't (ABC = BAC). Permutations are always ≥ combinations.

What does 'with repetition' mean?

Items can be chosen more than once. Without repetition, each item can only be chosen once.

How large can n be?

Up to 170. The calculator uses BigInt for exact results with very large numbers.

Is my data uploaded?

No. All calculations run 100% in your browser.