Permutation & Combination Calculator

Selecting three distinct items from ten without replacement gives 10×9×8 = 720 ordered arrangements. Dividing by 3! = 6 arrangements per group gives 120 unordered selections. A particular arrangement has probability 1/720 only when all such arrangements are equally likely; the count alone cannot establish that assumption for a real process.

Permutation & Combination Calculator: inputs

Calculated result
Permutations (order matters)720
Combinations (order doesn't matter)120

Permutation & Combination Calculator: n (total items) sensitivity

Permutation & Combination Calculator: n (total items) and Permutations (order matters)5 calculations vary the “n (total items)” input while holding the other entered inputs constant.833695041072011990121,320

Permutation & Combination: formula

ₙPᵣ = n! ÷ (n−r)!; ₙCᵣ = n! ÷ (r!(n−r)!)

NIST/SEMATECH e-Handbook of Statistical Methods · OpenStax College Algebra 2e: counting principles

Repeated items, or choices with replacement, use different formulas. Very large values are shown approximately. Deciding whether order matters is the main source of mistakes, so restate the problem in words before choosing.

The displayed formulas distinguish selecting a group from assigning items to ordered positions. An item that can be selected repeatedly requires a different counting model from the distinct-item selection shown here.

Permutation & Combination: worked example

n (total items)10
r (items chosen)3
Permutations (order matters)720
Combinations (order doesn't matter)120

Enter n, the total number of items, and r, the number you choose, where r cannot exceed n. Use permutations when order matters, such as ranking finalists or arranging a password, and combinations when it does not, such as choosing a committee or a lottery ticket. The formulas use factorials: permutations are n factorial over n minus r factorial, and combinations divide that further by r factorial.

Permutation & Combination: changing n (total items)

n (total items)Permutations (order matters)Combinations (order doesn't matter)
833656
950484
10 (example)720120
11990165
121,320220

Permutation & Combination: compare input ranges

InputTested fromToPermutations (order matters): low inputPermutations (order matters): high inputSwing
r (items chosen)24905,0404,950 (688%)
n (total items)911504990486 (68%)

Permutation & Combination: individual input comparisons

InputValuePermutations (order matters)Combinations (order doesn't matter)
n (total items)833656
950484
10720120
11990165
121,320220
r (items chosen)11010
29045
3720120
45,040210
530,240252

Permutation & Combination: combined input changes

n (total items) / r (items chosen)135
883366,720
9950415,120
101072030,240
111199055,440
12121,32095,040

Permutation & Combination: which assumptions move the result?

Permutation & Combination: Permutations (order matters) as r (items chosen) changesPermutations (order matters) starts at 10. Moving r (items chosen) from 1 to 5 changes it to 30,240, with n (total items) 10 kept fixed.110290372045,040530,240
Chart quantityDisplayed settings
r (items chosen)1 → 5
Permutations (order matters)10 → 30,240
n (total items)10
Permutation & Combination: Permutations (order matters) as n (total items) changesPermutations (order matters) starts at 336. Moving n (total items) from 8 to 12 changes it to 1,320, with r (items chosen) 3 kept fixed.833695041072011990121,320
Chart quantityDisplayed settings
n (total items)8 → 12
Permutations (order matters)336 → 1,320
r (items chosen)3

Permutation & Combination: values and definitions

Quantity and definitionValue used
n (total items)10
r (items chosen)3
Permutations (order matters)720
Combinations (order doesn't matter)120

Permutation & Combination: half and double r (items chosen)

r (items chosen)Permutations (order matters)
1.590
3720
6151,200

Common error: Defaulting to permutations because the formula sounds more thorough. Using it for a situation where order doesn't matter inflates the count, often substantially, because it separately counts arrangements a combination treats as the same outcome.

Statistics & Probability calculators: Simple Probability Calculator, Z-Score Calculator, Confidence Interval Calculator, Sample Size Calculator, Binomial Probability Calculator, Normal Distribution Probability Calculator.

Whether order matters is the entire decision between these two formulas, and it's easy to answer wrong because the two situations can look superficially similar. Choosing 3 people from 10 for identical unnamed committee seats is a combination; choosing 3 people from 10 for president, vice president and secretary is a permutation, because swapping two people between those roles produces a different outcome.

A permutation distinguishes order; a combination counts a selected group independently of its order. If it does, use permutations; if the result is identical either way, use combinations.

Compute the chance of an outcome on the probability and binomial pages, and factorials on the factorial calculator. The expected value page evaluates bets, and the Bayes theorem calculator updates probabilities. The exponent page gives counts with replacement.

Permutation & Combination Calculator: quantities and terminology

What is the difference between a permutation and a combination?

A permutation counts ordered arrangements. A combination counts selections with no assigned order. Rearrange the same chosen items: if that creates a different outcome, use the ordered count.

Otherwise those arrangements belong to one selection.

How many ways can I choose 3 items from 10?

Choosing three from ten gives 120 unordered selections. Ranking those same three gives six arrangements per selection. Therefore the ordered count is 120 × 6 = 720, assuming distinct items and no reuse.

When does order matter?

Order matters for ranked finishing places and assigned seats. Exchanging two people changes the outcome. A PIN also assigns positions, although repeated digits can be allowed; that repetition rule needs a counting model different from choosing distinct items without reuse.