Math Calculator

Combination Calculator

Combination Calculator

Standard
With Repetition
Pascal's Triangle
Probability

Enter a non-negative integer (maximum 170)

Enter a non-negative integer less than or equal to n

Select the type of calculation you want to perform

Result

Enter a positive integer (maximum 170)

Enter a non-negative integer

Result

Pascal's Triangle

Value at position (n,r):
Sum of row n:

In Pascal's triangle, each number is the sum of the two numbers above it. The value at position (n,r) represents nCr, the number of ways to choose r items from n items.

Enter the total number of items (e.g., 52 cards in a deck)

Enter the number of items drawn (e.g., 5 cards drawn from the deck)

Enter the number of target items (e.g., 13 hearts in a deck)

Enter the target count (e.g., exactly 2 hearts)

Probability Result

Total number of possible outcomes:
Number of favorable outcomes:
Probability:
Percentage:
Show Explanation and Formulas

Combination Formulas

Standard Combination (nCr)

The number of ways to choose r items from a set of n distinct items, where the order does not matter.

nCr = nCr = n! / (r! × (n-r)!)

Permutation (nPr)

The number of ways to arrange r items from a set of n distinct items, where the order matters.

nPr = nPr = n! / (n-r)!

Sum of Combinations

The sum of combinations from a starting value a to an ending value b.

Σr=ab nCr = nCa + nCa+1 + ... + nCb

Combination with Repetition

The number of ways to choose r items from a set of n distinct items, where repetition is allowed.

n+r-1Cr = (n+r-1)! / (r! × (n-1)!)

Permutation with Repetition

The number of ways to arrange r items from a set of n distinct items, where repetition is allowed.

nr

Probability Using Combinations

The probability of drawing exactly x target items when k items are drawn from a set of n items that contains m target items:

P(X = x) = (mCx × n-mCk-x) / nCk

Common Examples

Card Hands: The number of possible 5-card hands from a standard 52-card deck is 52C5 = 2,598,960.
Lottery: In a lottery where 6 numbers are drawn from 49, the total number of possible combinations is 49C6 = 13,983,816.
Committee Selection: The number of ways to form a committee of 3 people from a group of 10 is 10C3 = 120.

Properties of Combinations

  • Symmetry: nCr = nCn-r
  • Sum of combinations in a row: Σr=0n nCr = 2n
  • Pascal's Identity: nCr = n-1Cr-1 + n-1Cr
Shares:

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *