Find your next tool

Search stays in your browser. Use ↑ ↓ to browse and Enter to open.

Not sure which tool? Inspect a text sample

Use a small, non-sensitive sample. Inspection happens only when you choose Inspect sample, entirely in this browser. Nothing is uploaded, saved or automatically pasted into another tool. Closing this finder clears the sample.

0 / 8,000 characters

Try “make PDF smaller”, “remove photo location” or “GPA”. Ctrl / ⌘ + K opens this finder on any page.

Permutation Calculator

Calculate the number of permutations for a given set of items.

Runs locally in your browser

Your inputs are processed locally in your browser and are not uploaded or stored by us.

Before you start
  1. Enter the total number of items (n).
  2. Enter the number of items selected (r).
  3. Click "Calculate" to find the ordered arrangements.
  • Inputs must be safe integers where n >= 0, r >= 0, and r <= n.
  • Examples include nP0 = 1, nPn = n!, and 100P1 = 100.
  • If the exact result exceeds the JavaScript safe-integer range, the calculator rejects the input rather than approximating it.
  • The calculator preserves exact integer relationships within its documented limits.
  • Your inputs are processed locally in your browser and are not uploaded or stored by us.

Use the limits and supported formats shown by this tool. Read how it works.

The Permutation Calculator finds the number of ways to arrange r items from a set of n items where the order matters.

How to calculate permutations

  1. Enter the total number of items (n).
  2. Enter the number of items selected (r).
  3. Click "Calculate" to find the ordered arrangements.

Permutation Formula

nPr = n! / (n-r)!

In permutations, changing the order creates a different arrangement. The implementation evaluates only the factors required for the requested permutation and uses exact integer arithmetic internally. Therefore values such as 100P1 are valid when the final result remains within the supported safe-integer range.

Calculating 5P2

n (total items)5
r (selected items)2
5P2 = 5 × 4
Result: 20

Notes

  • Inputs must be safe integers where n >= 0, r >= 0, and r <= n.
  • Examples include nP0 = 1, nPn = n!, and 100P1 = 100.
  • If the exact result exceeds the JavaScript safe-integer range, the calculator rejects the input rather than approximating it.
  • The calculator preserves exact integer relationships within its documented limits.
  • Your inputs are processed locally in your browser and are not uploaded or stored by us.

Advertisement