Permutation Calculator

Calculate nPr permutations with step-by-step formula breakdown

Calculate Permutation P(n, r)

A permutation counts the number of ways to arrange r items from a set of n items where order matters.

Permutation Result
P(10, 3)
720
Seven hundred twenty ways

There are 720 different ways to arrange 3 items from 10 when order matters.

Permutation P(n,r)
720
Combination C(n,r)
120
n! (n factorial)
3,628,800
r! arrangements per combo
6
Step-by-Step Calculation

Quick Examples

🏆 Race Podium
Gold, Silver, Bronze from 10 athletes
P(10, 3) = 720
🔤 3-Letter Code
Using 26 letters (no repeats)
P(26, 3) = 15,600
🔢 4-Digit PIN
From digits 1-9 (no repeats)
P(9, 4) = 3,024
👥 Queue of 8
Arrange 8 people in a line
P(8, 8) = 8! = 40,320
🃏 5-Card Sequence
Ordered 5 cards from deck
P(52, 5) = 311M+
📊 Officer Election
Pres, VP, Sec, Treas from 20
P(20, 4) = 116,280

Permutation Formula

The Formula

P(n, r) = n! / (n - r)!

Or equivalently, multiply the first r terms of n!:

P(n, r) = n × (n-1) × (n-2) × ... × (n-r+1)

Why This Works

  • First position: n choices
  • Second position: n-1 choices (one item used)
  • Third position: n-2 choices
  • ...and so on until r positions are filled

Special Cases

CaseValueExplanation
P(n, 0)1One way to arrange zero items (do nothing)
P(n, 1)nn ways to pick one item
P(n, n)n!Arrange all n items = n factorial
P(n, n-1)n!Same as P(n,n) — last item is determined

Permutation vs Combination

Key difference: Does order matter?

Permutation P(n,r)Combination C(n,r)
Order Matters ✓ Doesn't matter
Formula n! / (n-r)! n! / (r! × (n-r)!)
Example ABC ≠ BCA ≠ CAB {A,B,C} = {B,C,A} = {C,A,B}
P(10,3) vs C(10,3) 720 120
Relationship P(n,r) = C(n,r) × r!

When to Use Each

ScenarioUseWhy
Lottery numbersCombinationNumbers aren't ordered
Password/PINPermutation1234 ≠ 4321
Committee selectionCombinationMembers are equal
Race finish orderPermutation1st, 2nd, 3rd are different
Poker handCombinationCards can be reordered
Book arrangementPermutationLeft-to-right order matters

Factorial Reference

nn!Calculation
01By definition
111
222 × 1
363 × 2 × 1
4244 × 3 × 2 × 1
51205 × 4 × 3 × 2 × 1
67206!
75,0407!
840,3208!
9362,8809!
103,628,80010!
12479,001,600~479 million
151.307 × 1012~1.3 trillion
202.432 × 1018~2.4 quintillion

Privacy & Limitations

  • All calculations run entirely in your browser -- nothing is sent to any server.
  • Results are computed using standard formulas and should be verified for critical applications.

Related Tools

Related Tools

View all tools

Permutation Calculator FAQ

What is Permutation Calculator?

Permutation Calculator is a free math tool that helps you Calculate nPr permutations with step-by-step formula breakdown.

How do I use Permutation Calculator?

Enter your input values, review the calculated output, and adjust inputs until you reach the result you need. The result updates in your browser.

Is Permutation Calculator private?

Yes. Calculations run locally in your browser. Inputs are not uploaded to a server by default, and refreshing the page clears session data.

Does Permutation Calculator require an account or installation?

No. You can use this tool directly in your browser without sign-up or software installation.

How accurate are results from Permutation Calculator?

This tool applies standard formulas or deterministic processing logic for estimates. For medical, legal, tax, or investment decisions, verify with a qualified professional.

Can I save or share outputs from Permutation Calculator?

You can bookmark this page and copy outputs manually. Results are not persisted in your account and are typically not embedded in the URL.

Request a New Tool
Improve This Tool