Statistics & Probability · Formula v1.0

Permutation & Combination Calculator

Calculate permutations and combinations for choosing r items from n.

Use permutations when order matters, combinations when it doesn't. At the worked-example inputs, the permutations is 720 order matters. Permutations count arrangements and combinations count selections. On the example, choosing 3 of 10 items gives 720 ordered arrangements but only 120 unordered groups, since each group of 3 can be arranged in 6 ways. Use the counts for probability: the chance of a specific outcome is 1 divided by the total number of possibilities. The numbers grow fast, so even modest n produces very large counts. The formulas assume items are distinct and selected without replacement. It returns permutations (order matters), combinations (order doesn't matter).

FreeNo sign-upInputs stay in-browserCSV exportReviewed August 28, 2026
LAST REVIEWEDAugust 28, 2026Inputs stay in your browser
Live calculation

Enter your numbers

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

What if n (total items) changes?

-10% input504
0% input720
+10% input990

Transparent method

The formula

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

Worked example

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

Example inputs

n (total items)10
r (items chosen)3

How to interpret the result

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 genuinely different outcome.

Before you rely on it

What to check

Ask directly whether swapping two selected items changes the result. If it does, use permutations; if the result is identical either way, use combinations.

The common error

Where people go wrong with permutation & combination calculator

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.

Sensitivity evidence

How n (total items) changes the permutations (order matters)

Permutation & Combination Calculator: permutations (order matters) and combinations (order doesn't matter) across a range of n (total items), every other input held at the worked-example value.
n (total items)Permutations (order matters)Combinations (order doesn't matter)
833656
950484
10worked example720120
11990165
121,320220

Every input, tested

Which input moves the permutations (order matters) most

Permutation & Combination Calculator: permutations (order matters) with each input moved on its own, every other input held at the worked-example value.
InputTested fromToPermutations (order matters) at each endSwing
r (items chosen)2490 to 5,0404,950 (688%)
n (total items)911504 to 990486 (68%)

Two variables at once

Permutations (order matters) by n (total items) and r (items chosen)

Permutation & Combination Calculator: permutations (order matters) at each combination of n (total items) (rows) and r (items chosen) (columns).
n (total items) \ r (items chosen)135
883366,720
9950415,120
101072030,240
111199055,440
12121,32095,040

Step by step

The worked example, input by input

Worked-example inputs and the results they produce for the permutation & combination calculator.
InputValue used
n (total items)10
r (items chosen)3
Permutations (order matters)720
Combinations (order doesn't matter)120

Where the inputs come from

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.

When the result stops applying

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.

What to compare it with

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.

People also ask

Frequently asked questions

What is the difference between a permutation and a combination?

A permutation counts arrangements where order matters, and a combination counts selections where order does not.

How many ways can I choose 3 items from 10?

There are 120 combinations if order does not matter, and 720 permutations if it does, since each group of three can be arranged six ways.

When does order matter?

When different arrangements are different outcomes, such as first, second and third place, a PIN or seating positions.

Common statistics & probability questions

Sources and evidence