Skip to content
D DocNectar

Free Permutation & Combination Calculator

Calculate permutations (nPr) or combinations (nCr) with the full factorial formula shown step by step.

100% Free No Signup Works on all devices

Built and fact-checked by the DocNectar team — see our editorial standards

Thanks for rating!

Key Features

Instant Calculation

Get accurate results in real time with our optimized algorithm.

Mobile Friendly

Fully responsive design. Works on all devices & screen sizes.

Privacy Focused

Your data stays on your device. We don't store any inputs.

100% Free

No hidden costs. This tool is completely free forever.

Permutations and combinations both count the number of ways to choose r items from a set of n, but they answer different questions — permutations count arrangements where order matters, while combinations count selections where it doesn't.

This calculator applies the correct factorial formula for whichever one you need and shows every step.

How it works

Enter n (the total number of items) and r (how many you're choosing), and select whether order matters. The calculator computes the relevant factorials and simplifies the result.

  1. Enter n (total items).
  2. Enter r (items chosen).
  3. Enter type.
  4. Click Calculate to see your results.

Examples

Choosing a committee vs. choosing officers

Choosing 3 people from 10 for an unordered committee is a combination (10C3 = 120), while choosing a president, vice president, and treasurer from the same 10 is a permutation (10P3 = 720), since the roles make order matter.

Who should use it

  • Probability and statistics homework involving counting outcomes.
  • Calculating the number of possible lottery combinations, passwords, or seating arrangements.

Industry applications

  • Mathematics and statistics education
  • Probability theory and combinatorics

Advantages

  • Handles both permutations and combinations in one tool.
  • Shows the full factorial substitution for transparency.

Common mistakes to avoid

  • Using the combination formula when order actually matters (or vice versa), which gives a technically correct-looking but wrong answer to the actual question being asked.
  • Forgetting that r cannot be greater than n — you can't choose more items than exist in the set.

Best practices

  • Before calculating, ask "does the order of selection matter here?" — that single question determines whether you need a permutation or a combination.

Tips

  • If you're unsure which to use, imagine swapping the order of two chosen items — if that creates a genuinely different outcome, you need a permutation; if not, use a combination.

Frequently asked questions

Yes, with no signup and no limit on how many calculations you run.
Use a permutation when the order or arrangement of the chosen items matters (like assigning distinct roles). Use a combination when only which items are chosen matters, not their order (like picking a team).
nPr counts every possible ordering of the chosen items as a distinct outcome, while nCr treats all of those orderings as the same outcome — so nPr is always nCr multiplied by r! (the number of ways to arrange r items).
n! means multiplying every whole number from n down to 1 together (e.g. 5! = 5×4×3×2×1 = 120). By definition, 0! = 1.

Get new calculators and guides in your inbox

No spam — just new tools like Permutation & Combination Calculator and practical guides.

Favorites