Mathematics calculator

Permutation Without Repetition Calculator

Count the ordered arrangements of r distinct objects selected from n objects when no object can be chosen twice.

Calculator inputs

Enter your values

Ordered selections
Calculated output

Result summary

Your result will appear here

Complete the required fields and select the calculate button.

What is Permutation without Repetition?

This calculator counts ordered selections made from a set of distinct objects when an object cannot be chosen twice. It answers questions such as how many three-place finishing orders are possible among eight runners, or how many different four-character arrangements can be made from ten distinct symbols. Because order matters, ABC and BAC count as different outcomes.

The phrase “without repetition” describes the selection rule. Once an object has been used in one position, it is unavailable for later positions. That makes this calculation different from a power such as nr, which allows the same object to appear again, and from a combination, which ignores order.

How to Use This Calculator

  1. Enter the total number of distinct available objects as n.
  2. Enter the number of ordered positions to fill as r. Both entries must be whole numbers from zero through 100, and r cannot exceed n.
  3. Select Calculate. The result is formatted as a whole-number count.

Before entering values, decide what makes two outcomes different. If swapping the first and second selected objects creates a new outcome, a permutation is appropriate. If that swap still represents the same group, use a combination instead.

The page multiplies r descending factors beginning at n. The factorial form is a compact way to write that product. A selection of zero objects has one arrangement, the empty arrangement; this convention keeps many counting identities consistent.

Formula Used

P(n,r) = n! / (n − r)! = n × (n − 1) × … × (n − r + 1), where 0 ≤ r ≤ n. The exclamation mark denotes factorial, with 0! = 1.

Variables Explained

SymbolMeaningEntry rule
nTotal number of distinct available objectsWhole number from 0 to 100
rNumber of ordered positions being filledWhole number from 0 through n
P(n,r)Number of possible ordered selectionsA nonnegative whole-number count

“Distinct” means each object can be told apart from every other object. If several objects are identical, this simple formula can overcount visible arrangements. The sample size is the number placed, not the number left behind.

Worked Example

Suppose eight runners compete and medals are awarded for first, second and third place. Enter n = 8 and r = 3. The calculation is 8! ÷ (8 − 3)!, which reduces to 8 × 7 × 6. The result is 336 possible medal orders.

There are eight choices for first place. After that runner is used, seven choices remain for second place, followed by six choices for third. Multiplying those stage-by-stage choices explains both the answer and the “without repetition” condition.

Why Use This Calculator?

The output is a count of possible sequences, not the probability of any one sequence. If all 336 medal orders in the example were equally likely, one specified order would have probability 1/336, but equal likelihood is an additional assumption rather than part of the counting formula.

Counts grow quickly. A large answer may be mathematically correct even when n looks modest. Use the result to describe the size of the outcome space, then apply any separate restrictions—such as prohibited positions or tied participants—outside this basic calculation.

For a practical check, compare neighboring sample sizes. Moving from r positions to r + 1 positions multiplies the count by n − r, the number of objects still available. This gives a quick way to spot a missing factor.

Common Mistakes

A common mistake is using this calculator when order has no meaning. Choosing three committee members from eight is a combination, while assigning chair, secretary and treasurer is a permutation. Another mistake is allowing an object to occupy two positions; that would be selection with repetition.

Do not enter decimal sample sizes, negative counts or a sample larger than the available set. Also check whether the objects truly are distinct. For example, arranging letters from a word with duplicate letters needs a repeated-object adjustment and cannot be described by this form alone.

Frequently Asked Questions

How is this different from a combination?

A permutation treats a change in position as a new result. A combination counts only the selected group, so rearranging the same members does not create another group.

Why must the sample size be no greater than the total?

Without reuse, every filled position consumes one available object. Once all n objects have been used, no distinct object remains for an additional position.

What does a sample size of zero return?

It returns one. There is exactly one way to select and arrange nothing: the empty arrangement. This agrees with the convention that zero factorial equals one.

Can I use this for a PIN or password?

Only when every allowed symbol is distinct and no symbol may appear twice. If characters may repeat, the usual unrestricted count is n raised to the power r.

What if some objects are identical?

The standard result labels every object separately. Visually identical objects require another method that divides out duplicate arrangements or otherwise models their multiplicities.

Does the calculator give a probability?

No. It gives the number of eligible ordered outcomes. A probability also needs information about which outcomes are possible and how likely each one is.

Why does the answer become large so quickly?

Each extra position multiplies the count by another remaining choice. Several moderately sized factors can therefore produce a very large product.

Sources & References