General

🎲 Permutations, Combinations & Probability Calculator

Calculate permutations (nPr), combinations (nCr), and simple probability.

What is a Probability & Combinatorics Calculator?

This calculator computes permutations, combinations, and probabilities with formulas shown.

How it's calculated

Permutation nPr = n! ÷ (n−r)! (order matters)
Combination nCr = n! ÷ (r!(n−r)!) (order doesn't matter)

Step-by-step example

How many ways to choose 2 representatives from 5 people (combination)?

Interpretation: If order mattered (permutation, 5P2), the answer would double to 20 ways.

Permutations vs. combinations — what's the difference?

The only question is whether order matters. Electing a president and vice president is a permutation (President A/VP B is different from President B/VP A); selecting two committee representatives is a combination (A,B is the same group as B,A). Combinations are smaller than permutations because they divide out the r! ways of ordering the same selected group.

Good to know

Frequently asked questions

Q. Should I use permutations or combinations?

If order affects the outcome, use permutations. If it doesn't, use combinations. 'Select then arrange' is permutation; 'just select' is combination.

Q. What if repetition is allowed?

Permutations with repetition use n^r; combinations with repetition use (n+r−1)C(r).

Q. If probability is 0.5, does trying twice guarantee success?

No. Both attempts failing has a 25% chance — each trial is independent.