Big Number Calculator

Exact nPr Permutations for Large Whole Numbers

Compute exact nPr permutations. Count ordered selections from distinct items without replacement.

2 digits
Operation
Permutations: Counts the ways to choose items when order matters, such as 1st, 2nd and 3rd place. Put the total first and how many you pick second.
1 digits

How many ordered selections can I make without repeating an item?

A permutation distinguishes positions as well as the selected items. Enter the number of distinct available items n, followed by the number of positions r. Choosing the same members in a different order produces another arrangement. This model can describe assigning different contestants to ordered places or filling distinct roles from a candidate pool. It assumes that each item is used at most once. If your task only asks who belongs to a group, with no role or position distinction, combinations describe that different question.

Method

The first position has n choices. After one item is used, the next position has one fewer choice, and the available count decreases again for every subsequent position. The engine multiplies that descending sequence for exactly r factors. This equals n factorial divided by the factorial of n minus r, but avoids computing the unused portion of either factorial. All intermediate products are integers, so the displayed count is not reconstructed from a rounded exponential estimate. Selecting zero positions returns the single empty arrangement.

Reading the answer

When r equals n, every available item is placed somewhere, and the permutation count matches the factorial of n. When r is smaller, unused items are allowed but selected items still occupy distinct positions. For a fixed pair of valid counts, permutations can also be checked by multiplying the combinations count by the number of orders of the selected members. That relationship explains why using permutations for an unordered group overcounts it. The answer remains a count of possible arrangements, not a prediction of which arrangement will occur.

Checks and boundaries

Use non-negative integer counts and keep r no larger than n. The tool has a workload limit on the number of descending factors, so an extremely long selection can be rejected even when its input strings are short. Scenarios with repeated characters, reusable objects, or identical items require assumptions beyond this no-replacement formula. Do not subtract such restrictions from a result without constructing the appropriate counting method. The examples below distinguish partial ordering, arranging an entire set, and a large pool with only a few ordered positions.

Worked examples

P(10, 3)

= 720

Assign three different positions from ten distinct items. Each assignment reduces the choices available for the next position.

Calculation steps and checks
  1. Count unordered selections

    C(10, 3) = 120

  2. Count the orders of each selection

    3! = 6

  3. Assign a distinct order to every selected group

    120 × 6 = 720

P(5, 5)

= 120

Use every available item exactly once. The descending product runs through the whole set and agrees with its factorial.

Calculation steps and checks
  1. Count unordered selections

    C(5, 5) = 1

  2. Count the orders of each selection

    5! = 120

  3. Assign a distinct order to every selected group

    1 × 120 = 120

P(1000, 4)

= 994010994000

Fill four ordered places from a large pool. Multiply only the four descending choice counts rather than calculating the entire population factorial.

Calculation steps and checks
  1. Count unordered selections

    C(1000, 4) = 41417124750

  2. Count the orders of each selection

    4! = 24

  3. Assign a distinct order to every selected group

    41417124750 × 24 = 994010994000

Related calculators

See the accuracy checks and calculation methodology for independently specified test cases and known limits. To report a result that differs from your calculation, send the operation, both inputs, and the expected answer.