Permutation and Combination Calculator

Ordered arrangements

720

Unordered selections

120

All results
Calculator inputs
?

Number of distinguishable choices available, from 0 to 1,000. Identical objects are not separate choices.

?

Number of ordered positions or unordered selections, from 0 to 1,000. Without repetition, r cannot exceed n.

?

Without repetition, selecting an item removes it from the pool. With repetition, it remains available at every position.

Same members. Different order.

For three labeled items A, B and C, selecting two without reuse gives six ordered arrangements but only three groups.

Compare selection sizes for this pool

Exact integers. The table shows r = 0 through 12 (or n if smaller) plus your selected r; it is an explicit preview, not a list of every possible selection size.

Compare selection sizes for this pool
Selected rOrdered countUnordered count
011
11010
29045
3720120
45040210
530240252
6151200210
7604800120
8181440045
9362880010
1036288001

Three labeled items: why AB and BA differ

Illustration uses exactly A, B and C with r = 2, independently of your input. With reuse, repeated groups have fewer distinct rearrangements: do not divide n^r by r!.

Three labeled items: why AB and BA differ
Unordered groupCorresponding ordered sequences
A, BAB and BA
A, CAC and CA
B, CBC and CB

How to use the Permutation and Combination Calculator

Calculate exact permutations and combinations, with or without repetition. Compare ordered arrangements with unordered groups using a visual example and count table.

  1. 1. Enter your inputs

    Start with Distinct items n, Positions or selected items r, Can an item be used again?. Use the units shown beside each field and open the field help when you need its assumptions.

  2. 2. Read the results

    Results update as you enter valid values. Review Ordered arrangements, Unordered selections, Selection rule. Keep the entered units and settings consistent when comparing scenarios.

  3. 3. Check the calculation

    n and r are integers from 0 to 1,000. Items are distinguishable; restrictions, circular symmetry and specified repeated-item multiplicities require different models.

    See the worked example and method

Understanding the Permutation and Combination Calculator: uses, inputs and results

The Permutation and Combination Calculator distinguishes selections where order matters from those where it does not, without replacement.

When do I use a permutation instead of a combination?

Ask whether swapping two selected items creates a different outcome. A chair and deputy chosen from six people have distinct roles: Alex–Blair and Blair–Alex assign different jobs, so order matters. Selecting two people for an unranked committee treats those two names as the same group.

This Permutation and Combination Calculator returns both counts for the same n and r. From six distinct items, selecting two without repetition gives 6 × 5 = 30 ordered arrangements and 30/2! = 15 unordered groups. The visual groups reversed sequences together so the division has a concrete meaning.

What do n and r mean in nPr and nCr?

n counts the distinguishable items available, while r counts the positions or selections you want to fill. Without repetition, each selected item is removed from the pool, so r cannot exceed n. With n = 10 and r = 3, ordered choices number 10 × 9 × 8 = 720.

Each unordered three-item group has 3! = 6 possible orders, so C(10,3) = 720/6 = 120. Distinctness matters: ten labeled objects do not describe the same counting problem as ten objects containing unspecified identical copies.

Further reading: OpenStax: counting principles

What do the Permutation and Combination Calculator inputs mean?

Distinct items n
Number of distinguishable choices available, from 0 to 1,000. Identical objects are not separate choices.
Positions or selected items r
Number of ordered positions or unordered selections, from 0 to 1,000. Without repetition, r cannot exceed n.
Can an item be used again?
Without repetition, selecting an item removes it from the pool. With repetition, it remains available at every position.

When is the Permutation and Combination Calculator useful?

Count ordered arrangements

Enter the item count and selection size to calculate permutations.

Count unordered selections

Compare the combination result for the same inputs. The model does not include selection with replacement.

Permutation and Combination Calculator: a practical reference

The fixed “Ten choose three” example on this page produces the results below. It illustrates the stated model; your live results above use your current inputs.

Distinct items n
10
Positions or selected items r
3
Can an item be used again?
No — without repetition
Ordered arrangements
720
Unordered selections
120
Review the example inputs and calculation

Use the result in context

n and r are integers from 0 to 1,000. Items are distinguishable; restrictions, circular symmetry and specified repeated-item multiplicities require different models.

Try the Permutation and Combination Calculator·Read the subject guide·Explore a related calculator

Worked example: Permutation and Combination Calculator

Ten choose three. This fixed reference example shows one complete scenario; the interactive results above use your current inputs.

View the example inputs
Distinct items n
10
Positions or selected items r
3
Can an item be used again?
No — without repetition
Calculated results for the fixed example
Calculated quantityExample result
Ordered arrangements720
Unordered selections120
Selection ruleNo reuse; order distinguishes permutations

Permutation and Combination Calculator: decide whether positions have meaning

When do I use a permutation instead of a combination?

Ask whether swapping two selected items creates a different outcome. A chair and deputy chosen from six people have distinct roles: Alex–Blair and Blair–Alex assign different jobs, so order matters. Selecting two people for an unranked committee treats those two names as the same group.

This Permutation and Combination Calculator returns both counts for the same n and r. From six distinct items, selecting two without repetition gives 6 × 5 = 30 ordered arrangements and 30/2! = 15 unordered groups. The visual groups reversed sequences together so the division has a concrete meaning.

OpenStax: counting principles

What do n and r mean in nPr and nCr?

n counts the distinguishable items available, while r counts the positions or selections you want to fill. Without repetition, each selected item is removed from the pool, so r cannot exceed n. With n = 10 and r = 3, ordered choices number 10 × 9 × 8 = 720.

Each unordered three-item group has 3! = 6 possible orders, so C(10,3) = 720/6 = 120. Distinctness matters: ten labeled objects do not describe the same counting problem as ten objects containing unspecified identical copies.

How do permutations and combinations change with repetition?

With reuse, every ordered position has n choices, giving n^r sequences. Three symbols filling two positions create nine sequences, including AA, BB and CC. Unordered repeated selections are multisets; for positive n, their count is C(n+r−1,r).

Do not divide n^r by r! to count repeated groups. AB has two orders, but AA has only one, so the groups do not all have the same number of rearrangements. For n = 3 and r = 2, there are six unordered repeated selections: AA, AB, AC, BB, BC and CC.

Why is selecting zero items counted as one outcome?

There is exactly one way to choose nothing: the empty selection. This keeps C(n,0) and P(n,0) equal to one, including an empty pool. It also agrees with the empty-product convention used by factorial formulas.

If no items exist but a positive number of repeated selections is requested, there are zero outcomes. A positive selection without repetition from an empty pool is invalid because r exceeds n. Those are different questions, so the calculator distinguishes them.

Are large permutation and combination results exact?

The counting operations use integer arithmetic and return complete decimal strings, avoiding the rounding that occurs when very large counts are stored as ordinary floating-point numbers. Inputs are limited to n and r from 0 through 1,000 to keep interactive work practical.

The comparison table shows several small selection sizes and your selected r. It is an explicitly labeled preview, not an enumeration of every group or a list of all selection sizes. CSV retains the exact digits in each displayed count; spreadsheet software may need text import to preserve very long integers.

What can I calculate with permutations and combinations?

Use ordered counts for assigning different roles, filling labeled positions or forming symbol sequences. Use unordered counts for committees, teams or selections where membership alone defines the outcome. Choose reuse only when selecting an item does not remove it from the available pool.

Circular arrangements, forbidden adjacent items, prescribed duplicate multiplicities and other restrictions need additional reasoning. The total count can be a denominator in a probability problem only when the outcomes you count are equally likely under the stated sampling process.

Formula and calculation method

Without repetition: P(n,r) = n!/(n−r)! and C(n,r) = P(n,r)/r!.

With repetition: ordered sequences = n^r; unordered multisets = C(n+r−1,r) for n > 0.

Selecting nothing gives one empty arrangement. With no available items, a positive-length repeated selection has zero outcomes. Counts are exact base-10 BigInt strings.

Scope and Limitations

  • n and r are integers from 0 to 1,000. Items are distinguishable; restrictions, circular symmetry and specified repeated-item multiplicities require different models.

Reference Sources

Frequently asked questions

What is the difference between nPr and nCr?

nPr counts ordered selections; nCr counts unordered selections. Without repetition, nPr = nCr × r!.

Can r be greater than n?

With repetition, yes within the supported limits. Without repetition, it is rejected.

Does this count circular arrangements?

No. Positions are treated as distinct. Circular equivalence requires a different model.

Why not divide n^r by r! when repetition is allowed?

Repeated groups have different numbers of distinct rearrangements, so that division does not count them correctly.

Will a CSV preserve long counts?

The exported count is an exact decimal string. Import long-count columns as text in spreadsheet software to avoid its numeric precision limit.