Permutation Calculator (nPr)

Ka ƙidaya tsarin da aka tsara na abubuwa r da aka zaɓa daga n.

Permutations (nPr) —
Formula —

Results update as you type.

Shin wannan Kalkulator ya ba ka amsa madaidaiciya?

Game da wannan Kalkulator

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.

Tambayoyi da ake yi da yawa

Mẽne ne bambanci a tsakãnin wani permutation da wani haɗuwa?

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.

Me ya sa aka canza sunan fayil?

nPr = n! / (n − r)!. Ga abubuwa 10 da aka dauka 3 a lokaci guda: 10 × 9 × 8 = 720.

Yaushe zan iya amfani da permutation?

Idan tsari yana da muhimmanci: rangwamen masu kammalawa, cika farko / na biyu / na uku wurare, zaune mutane a cikin wani layin, ko gina code tsari.

Me ya faru idan r ya fi girma daga n?

Ba za ka iya shirya abubuwa da yawa fiye da abin da kake da shi ba, don haka sakamakon ba'a bayyana shi ba kuma kayan aiki na mayar da wata dama.

Mẽne ne nP0?

Shi ne 1 - akwai hanya daya kawai don shirya komai, tsarin da bamfani da shi.

Mẽne ne nPn?

Yana daidai da n!, saboda shirya dukkan abubuwa n cikin tsari yana da daidaitacce kamar wani cikakke factorial. Misali 4P4 = 4! = 24.

❤️ Love Calculator.Free? Share

𝕏  X Facebook Reddit
API — amfani da wannan calculator daga code

Ka kira wannan kwalban kamar wata maɓallin ƙarshe JSON mai kyauta - babu maɓalli da ake buƙata. Ka aika kimar fannin ƙasa kamar paramita na tambaya ko JSON. Anything you omit uses the same default this page is pre-filled with; an unknown parameter is a 400, never a silent zero. Read the full API docs →

Endpoint

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);

Results are estimates for general guidance only, not financial, medical or tax advice.