Permutation Calculator (nPr)

Comhaireamh na socruithe ordaithe de r míreanna a roghnaíodh ó n.

Iomraíocht (nPr) —
Formula —

Torthaí a nuashonrú mar a chlóscríobh tú.

Did this calculator give you the right answer?

Maidir leis an áireamhán seo

A permutation counts how many ways you can arrange r items chosen from a set of n, where order matters — so first, second and third place are three different outcomes. This calculator returns the exact count and the formula it used, even for large n and r.

The formula is nPr = n! / (n − r)!, which is the same as multiplying the top r numbers counting down from n. For 10 items taken 3 at a time, that is 10 × 9 × 8 = 720. Choosing none gives nP0 = 1, and arranging all of them gives nPn = n!. You cannot choose more items than you have, so if r is greater than n the tool returns a dash.

Permutations answer "how many ordered sequences?" — the number of possible race finishes, seating orders, PIN codes or ranked shortlists. When order does not matter, use a combination instead, which is always the smaller count.

Ceisteanna Coitianta

What is the difference between a permutation and a combination?

In a permutation order matters (first, second, third are different outcomes); in a combination it does not. There are always at least as many permutations as combinations.

What is the permutation formula?

nPr = n! / (n − r)!. For 10 items taken 3 at a time: 10 × 9 × 8 = 720.

When should I use a permutation?

When order matters: ranking finishers, filling first/second/third places, seating people in a row, or building an ordered code.

What happens if r is greater than n?

You cannot arrange more items than you have, so the result is undefined and the tool returns a dash.

What is nP0?

It is 1 — there is exactly one way to arrange nothing, the empty arrangement.

What is nPn?

It equals n!, because arranging all n items in order is the same as a full factorial. For example 4P4 = 4! = 24.

❤️ Grá Calculator.Free? Comhroinn é

𝕏  X Facebook Reddit
API — úsáid an áireamhán seo ó chód

Glaoigh ar an áireamhán seo mar chríochphointe JSON saor in aisce - níl aon eochair ag teastáil. Seol na luachanna réimse thíos mar pharaiméadair cheist nó JSON. Anything you omit uses the same default this page is pre-filled with; an unknown parameter is a 400, never a silent zero. Léigh an doiciméadú iomlán API →

Deireadhphointe

GET https://calculator.free/api/v1/permutation/

curl

curl "https://calculator.free/api/v1/permutation/?n=10&r=3"

JavaScript fetch()

const r = await fetch(
  "https://calculator.free/api/v1/permutation/?" + new URLSearchParams({
    "n": "10",
    "r": "3"
  }));
const data = await r.json();
console.log(data.results);

Is meastacháin iad na torthaí le haghaidh treoir ghinearálta amháin, ní comhairle airgeadais, leighis nó cánach.