Permutation Calculator

Calculate permutations (nPr).

FreeNo accountOn your device

Runs in your browser. How to verify

Loading tool…

About this tool

Enter n and r to count the ordered ways to pick r items from n. 10P3 is 720: 10 choices for first place, 9 for second, 8 for third.

How to use

1
Step 1
Enter n, the total number of items.
2
Step 2
Enter r, how many you arrange.
3
Step 3
Press Calculate.

How it works

A permutation counts arrangements where order matters, so ABC and CBA are different. nPr multiplies n × (n − 1) × … for r terms. Divide by r! to get the combination count, where order is ignored.

nPr = n! ÷ (n − r)! = n × (n − 1) × … × (n − r + 1)

Worked example

Five-card ordered hands

Input
n = 52, r = 5
Output
311,875,200
Walkthrough
52 × 51 × 50 × 49 × 48 = 311,875,200 ordered sequences of five cards.

Limitations

  • r cannot exceed n.
  • n is limited to 5,000.

Questions

What is 10P3?
720.
What is 8P8?
40,320, which is 8!.
What is 52P5?
311,875,200.
What happens if r is larger than n?
You get an error, since you cannot arrange more items than you have.

Features

  • Exact large results
  • Working shown
  • Runs in your browser

Related resources

Guides and videos from around the web—opens on YouTube or the publisher’s site.

  • Finding mean, median, and mode

    Khan Academy

    Core descriptive stats for mean/median/mode tools.

    Watch on YouTube
  • Mean, Variance and Standard Deviation

    StatQuest with Josh Starmer

    Clear variance/SD explanation for spread calculators.

    Watch on YouTube