Skip to content
Embed

Paste this on your site. The attribution link is required and is what makes embedding free.

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)
522010
6312020
8333656
1045,040210
12595,040792
2051,860,48015,504
525311,875,2002,598,960

Related Calculators

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)?

  1. Identify: n = 12, r = 3
  2. Permutation (roles assigned, order matters):
  3. P(12, 3) = 12! / (12-3)! = 12! / 9! = 12 × 11 × 10 = 1,320
  4. Combination (committee only, order irrelevant):
  5. C(12, 3) = 12! / (3! × 9!) = (12 × 11 × 10) / (3 × 2 × 1) = 1,320 / 6 = 220
  6. 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

Disclaimer: This calculator is for informational and educational purposes only. Results are estimates and may not reflect exact values.

Last updated: November 3, 2026