Permutation & Combination Calculator (nPr & nCr)

Reviewed

Enter details
ResultUpdates as you type
Permutations nPr720
Combinations nCr120
Permutations with Repetition (n^r)1,000
Combinations with Repetition220
n Factorial (n!)3,628,800
r Factorial (r!)6

Calculate permutations nPr and combinations nCr for set size n and selection r, with or without repetition, plus factorials.

Calculate permutations nPr, combinations nCr, arrangements with repetition, and factorials for any total items n and selection r.

Understanding Permutations and Combinations

Permutations and combinations are counting principles in combinatorics used to determine the total number of possible outcomes when selecting $r$ elements from a set of $n$ elements.

Formulas Overview

  • Permutations without Repetition (nPr): Order matters, elements cannot repeat. P(n, r) = n! / (n - r)!
  • Combinations without Repetition (nCr): Order does not matter, elements cannot repeat. C(n, r) = n! / [r! × (n - r)!]
  • Permutations with Repetition: n^r
  • Combinations with Repetition: (n + r - 1)! / [r! × (n - 1)!]

How to use

  1. Enter the total number of items n.
  2. Enter the number of items to select r (where r ≤ n).
  3. View nPr, nCr, repetitions, and factorial values instantly.

Formula

Permutations (nPr)nPr = n! / (n - r)!Order matters. Selections without repetition.
Combinations (nCr)nCr = n! / [ r! × (n - r)! ]Order does NOT matter. Selections without repetition.

Worked examples

Calculating nPr and nCr for n = 10, r = 3

Permutations nPr = 10! / 7! = 720. Combinations nCr = 10! / (3! × 7!) = 120.

Frequently asked questions

What is the key difference between permutations and combinations?

Permutations count arrangements where order matters (e.g. lock combinations, race standings). Combinations count selections where order does not matter (e.g. lottery picks, team selections).

What is n factorial (n!)?

n factorial is the product of all positive integers less than or equal to n (e.g., 5! = 5 × 4 × 3 × 2 × 1 = 120).

Related calculators