انتقل إلى المحتوى
CalculatorsFinder
حاسبات الإحصاء

Combination and Permutation Calculator

Calculate nCr (combinations) and nPr (permutations) exactly, even for large numbers.

  • نتائج فورية
  • خطوة بخطوة
  • خاص: يعمل داخل متصفحك

أدخل أرقامك

النتيجة

Combinations C(52, 5)

2,598,960

Permutations P(52, 5)
311,875,200
Orderings of the chosen items (r!)
120
الحساب خطوة بخطوة
  1. C(n, r) = n! ÷ (r! × (n − r)!)
  2. P(n, r) = n! ÷ (n − r)!
  3. P(52, 5) ÷ r! = 311,875,200 ÷ 120 = 2,598,960

الشرح أدناه متاح بالإنجليزية فقط حاليًا. تعمل الحاسبة نفسها بالطريقة ذاتها في كل اللغات.

حول: Combination and Permutation Calculator

Combinations count the ways to choose r items from n when order does not matter; permutations count them when order does. This calculator gives both, computed with exact integers so large results are not rounded.

Typical uses are card hands, lottery odds, team selection, passwords and probability problems.

الصيغة وكيف تعمل

P(n, r) = n! ÷ (n − r)!

C(n, r) = n! ÷ (r! × (n − r)!)

C(n, r) = P(n, r) ÷ r!

A permutation treats ABC and CBA as different; a combination treats them as the same selection, so combinations are always permutations divided by r! (the orderings of the chosen items).

مثال محلول

A five-card poker hand

There are C(52, 5) = 2,598,960 different five-card hands. If the order you receive the cards mattered there would be 311,875,200 permutations, which is 120 (5!) times as many.

نصيحة: اضغط “جرّب المثال” في الحاسبة أعلاه لتحميل هذه الأرقام.

فهم نتيجتك

The chance of a specific hand is 1 divided by the number of combinations, assuming every hand is equally likely.

Numbers grow extremely fast: C(100, 50) is about 1.0 × 10²⁹.

أخطاء شائعة يجب تجنبها

  • Using permutations when order does not matter.
  • Letting r exceed n.
  • Forgetting that items are chosen without repetition here.

الأسئلة الشائعة

What is the difference between a combination and a permutation?

In a combination order does not matter; in a permutation it does.

What does nCr mean?

It is read 'n choose r', the number of combinations of r items from n.

What is 0! ?

By definition 0! = 1, so C(n, 0) and C(n, n) are both 1.