เครื่องคิดเลขการเรียงสับเปลี่ยนและการจัดหมู่

ใส่ n (จำนวนสิ่งของที่เลือกได้) และ r (จำนวนที่เลือก)

ผลลัพธ์

ใส่ค่าแล้วกดคำนวณเพื่อดูผลลัพธ์

สูตร

nPr=n!(n−r)!{}_nP_r = \frac{n!}{(n - r)!}

Permutations: order matters.

nCr=n!r! (n−r)!{}_nC_r = \frac{n!}{r!\,(n - r)!}

Combinations: order does not matter.

วิธีใช้เครื่องคิดเลขนี้

  1. Enter whole numbers with r no bigger than n.
  2. Press Calculate to get both counts.

ตัวอย่างพร้อมวิธีทำ

Choose 2 from 5

5P2 = 5 × 4 = 20 ordered arrangements.

5C2 = 20 / 2! = 10 unordered selections.

คำถามที่พบบ่อย

When does order matter?

For rankings or codes (permutations). For teams or hands of cards, order doesn’t matter (combinations).

Are the answers exact?

Yes — even very large counts are computed exactly.

เรียนรู้เพิ่มเติม