Permutation Calculator with Steps

What is a Permutation?

A permutation is a mathematical calculation of the number of ways a particular set can be arranged, where the order of the arrangement matters. Unlike combinations, where the sequence of selection does not influence the outcome, in permutations, "ABC" is considered a different result than "CBA". This tool helps you calculate these arrangements instantly while showing the internal math involved.

The Permutation Formula (nPr)

The standard formula for calculating permutations is given by:

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

Where:

  • n is the total number of items in the set.
  • r is the number of items being chosen or arranged.
  • ! denotes a factorial (the product of all positive integers up to that number).

How to Use the Permutation Calculator

Using this calculator is simple. Follow these steps:

  1. Enter the total number of objects (n) in the first input box.
  2. Enter the number of objects to be arranged (r) in the second box.
  3. Click the "Calculate" button to view the final result and the detailed step-by-step factorial breakdown.

Frequently Asked Questions

Can r be larger than n? No. In a standard permutation, you cannot choose or arrange more items than are available in the set.

What if n and r are equal? If n = r, the formula simplifies to n! (n factorial), as (n-n)! equals 1.

Why does order matter? Order matters in scenarios like passwords, race results, or seating charts where the specific position changes the meaning of the set.