Back to Index

Permutation Calculator (nPr)

Permutation Calculator

Enter values to compute.

Understanding the Math

The Permutation Calculator (nPr) computes the result using fundamental principles of mathematics. Calculate the number of ways to arrange objects.

Formula Definition

Result = function f(num){if(num<0)return -1;if(num==0)return 1;return num×f(num-1);} f(n)÷f(n-r)

This formula is applied directly to the inputs provided above. Ensure all units are consistent (e.g., all lengths in meters) before calculation to guarantee accuracy.

Example Problem

Given:

  • Total Items (n) = 2
  • Selected Items (r) = 5

Solution:

Substitute values into the formula:

Result = fu2ctio2 f(2um){if(2um<0)5etu52 -1;if(2um==0)5etu52 1;5etu52 2um×f(2um-1);} f(2)÷f(2-5)

Quick Notes

  • Double-check input units. Inconsistent units (e.g. feet vs meters) will yield incorrect results.
  • Calculations are performed with high-precision floating point arithmetic.
Advertisement

Share This Tool