Skip to main content
TOP free online tools Your Workbench
English

Permutation Calculator

Free online permutation calculator. Process data instantly in your browser. No upload, no signup, fully private.

Local browser processing — zero server uploads

How to Use

  1. Enter your values or parameters into the Permutation Calculator input fields above.
  2. Click the calculate button or adjust the inputs to compute the result instantly.
  3. Review the detailed breakdown and use Reset to run another calculation.

What is Permutation Calculator?

A Permutation Calculator computes both ordered permutations P(n, k) and unordered combinations C(n, k) for choosing k items from a pool of n distinct items, using an overflow-friendly multiplicative loop.

How It Works

Given non-negative integers n and k (0 <= k <= n), clicking Calculate computes P(n, k) = n * (n - 1) * ... * (n - k + 1) iteratively—avoiding full n! intermediate factorial overflow—and divides by k! computed from 2..k to obtain C(n, k) = P(n, k) / k! locally.

Common Use Cases

  • Solving combinatorics and probability problems — inspect both order-sensitive P(n, k) and order-agnostic C(n, k) at once
  • Estimating PIN or lottery search spaces — compute how many ordered codes vs. unordered subsets exist for choosing k from n
  • Avoiding premature n! Infinity overflows — compute valid results for moderate n (e.g., P(200, 2)) via partial product loops
  • Copying formatted P(n,k) and C(n,k) results — copy both equations cleanly into homework or engineering notes
Technical Details

Formulas: P(n,k) = prod_{i=0..k-1}(n - i) and C(n,k) = P(n,k) / k!. Validation enforces non-negative integers with k <= n; standard IEEE-754 floating-point precision applies above 2^53 - 1. Runs locally.

FAQ

Is this Permutation Calculator free?

Yes, completely free. No signup required.

Does this tool upload my data?

No. All processing happens locally in your browser. Your data never leaves your device.