Permutation and Combination Calculator — Free Online Tool
Calculate permutations (nPr) and combinations (nCr) simultaneously with step-by-step formulas, factorial breakdowns, and instant results.
Permutation (nPr)
720
Order matters
Combination (nCr)
120
Order does not matter
Permutation Formula
P(10, 3) = 10! / (10 - 3)! = 10! / 7!Combination Formula
C(10, 3) = 10! / (3! × (10 - 3)!) = 10! / (3! × 7!)n!
3,628,800
r!
6
(n-r)!
5,040
Permutation and Combination Quick Reference
| n | r | P(n,r) | C(n,r) |
|---|---|---|---|
| 5 | 2 | 20 | 10 |
| 6 | 3 | 120 | 20 |
| 8 | 3 | 336 | 56 |
| 10 | 4 | 5,040 | 210 |
| 12 | 5 | 95,040 | 792 |
| 20 | 5 | 1,860,480 | 15,504 |
| 52 | 5 | 311,875,200 | 2,598,960 |
Related Calculators
Factorial Calculator
Calculate factorials with large number support for combinatorics.
Probability Calculator
Calculate event probabilities using combinatorial counting methods.
Statistics Calculator
Comprehensive descriptive statistics for any dataset.
Sample Size Calculator
Determine required sample sizes for research studies.
Percentage Calculator
Calculate percentages, proportions, and percentage changes.
Scientific Calculator
Perform advanced calculations with scientific functions.
About this calculator
Permutation and Combination Formulas
Permutation (Order Matters)
P(n, r) = n! / (n - r)! Combination (Order Does Not Matter)
C(n, r) = n! / (r! × (n - r)!) Relationship
P(n, r) = C(n, r) × r! Variables Explained
- n: The total number of items in the set. This is the pool from which you are choosing.
- r: The number of items being chosen or arranged. Must satisfy 0 ≤ r ≤ n.
- n!: n factorial — the product of all positive integers from 1 to n. For example, 5! = 120.
- P(n, r) or nPr: The number of ordered arrangements of r items from n items.
- C(n, r) or nCr: The number of unordered selections of r items from n items. Also written as "n choose r" or (n r) with parentheses.
Step-by-Step Example
A club has 12 members and needs to elect a president, vice president, and secretary. How many ways can this be done? Then, how many ways can a 3-person committee be selected (no specific roles)?
- Identify: n = 12, r = 3
- Permutation (roles assigned, order matters):
- P(12, 3) = 12! / (12-3)! = 12! / 9! = 12 × 11 × 10 = 1,320
- Combination (committee only, order irrelevant):
- C(12, 3) = 12! / (3! × 9!) = (12 × 11 × 10) / (3 × 2 × 1) = 1,320 / 6 = 220
- Verify: P(12,3) = C(12,3) × 3! = 220 × 6 = 1,320
There are 1,320 ways to assign three distinct roles from 12 members, but only 220 ways to form a generic 3-person committee. The ratio is 6 (which is 3!), because each group of 3 people can fill the 3 roles in 6 different ways.
Sources
- Khan Academy — Counting, Permutations, and Combinations: khanacademy.org
- Math is Fun — Combinations and Permutations: mathsisfun.com
- Purplemath — Permutations and Combinations: purplemath.com
Disclaimer: This calculator is for informational and educational purposes only. Results are estimates and may not reflect exact values.
Last updated: November 3, 2026