🔍
Financial CalculatorsHealth & FitnessMath CalculatorsArithmeticAlgebraGeometryTrigonometryStatisticsTime & DateEducationEngineeringIT & UtilityConversionCreator Economy

Permutation and Combination Calculator

Last updated: June 2026

Permutation and Combination Calculator

Examples:

Results

6P2 (Permutations) =
6!
(6 − 2)! = 4!
=
30
6C2 (Combinations) =
6!
2! × (6 − 2)! = 2! × 4!
=
15
6!
720
2!
2
4!
24
6P2
30
6C2
15
P / C ratio

Step-by-Step Expansion

Permutation Expansion
6P2 = 6 × 5 = 30
Starting from 6, multiply down 2 terms, reducing by 1 each time
Combination Expansion
6C2 = 6 × 5 ÷ (1 × 2)
= 30 ÷ 2 = 15
Divide by 2! to remove ordering redundancies (order doesn't matter)

All Values of r for n = 6

Notice: Permutations are always ≥ Combinations. The ratio P/C = r! (the number of orderings removed).

r6Pᵣ (Permutation)6Cᵣ (Combination)Ratio P/C
011
166
23015
312020
43601524×
57206120×
67201720×

Pascal's Triangle

Pascal's Triangle — Each cell = C(row, col)
1
1
1
1
2
1
1
3
3
1
1
4
6
4
1
1
5
10
10
5
1
1
6
15
20
15
6
1
C(6,2) = 15 is highlighted above

Permutations vs Combinations

Permutations (order matters)
nPr = n! / (n − r)!
Use when the arrangement or sequence matters. Choosing a captain then goalkeeper from 11 players: A→B is different from B→A.
EX: 11P2 = 11! / 9! = 11 × 10 = 110
With repetition: nPr = nʳ
Combinations (order irrelevant)
nCr = n! / (r! × (n − r)!)
Use when only the selection matters, not the order. Choosing 2 strikers from 11: A+B is the same as B+A.
EX: 11C2 = 11! / (2! × 9!) = 55
With repetition: (r+n−1)! / r!(n−1)!
💡 Key DistinctionA "combination lock" is technically a permutation lock — 1-2-9 is not the same as 2-9-1!
Combinations always ≤ Permutations. The difference: permutations count each ordering separately.
nCr = nPr / r!

Calculate permutations nPr and combinations nCr for any n and r. Includes step-by-step expansion, comparison table for all r values, Pascal's Triangle, and detailed explanations.

The Permutation Calculator is a combinatorics tool designed to calculate the number of ways to arrange a subset of items from a larger set, where the order of arrangement is critical. In mathematics, permutations represent sequences where different orderings of the same items are counted as distinct outcomes. This is in contrast to combinations, where order is irrelevant.

The formula for calculating permutations without repetition is: P(n, r) = n! / (n - r)!, where n is the total number of items in the set, r is the number of items being arranged, and the exclamation mark denotes a factorial (the product of all positive integers up to that number). For example, if you have 5 books (n = 5) and want to arrange 3 of them on a shelf (r = 3), the permutation count is 5! / (5 - 3)! = 120 ways.

The calculator also supports permutations with repetition, which occurs when items can be selected multiple times. The formula for permutations with repetition is simply: P(n, r) = n^r. For example, a 3-digit combination lock using digits 0-9 allows repetition, resulting in 10^3 = 1,000 possible configurations.

Understanding permutations is essential in probability theory, cryptography, and computer science. In cybersecurity, permutations are used to calculate the strength of passwords; a password with more character options (higher n) and longer length (higher r) has exponentially more permutations, making it harder to crack via brute-force attacks.

In daily life, permutations are used in event planning (assigning seats at a table), scheduling tasks, and designing security codes. The permutation calculator provides an efficient way to evaluate these combinations, saving users from manual factorial arithmetic and ensuring accurate combinatorial planning.

How it Works & Formula

nPr = n!/(n−r)! nCr = n!/r!(n−r)!

Calculates permutations representing the number of ways to arrange r items from a pool of n, where order matters.

Practical Examples

Example 1: Three-Letter Arrangements

Arranging 3 letters out of 5: P(5, 3) = 5! / 2! = 120 ways.

Frequently Asked Questions

What is the main difference between permutations and combinations?

In permutations, the order of items matters. In combinations, order does not matter.