Skip to content

Math & Statistics

Probability, Combinations & Permutations Calculator โ€“ Solve Math Problems Online

Use our free Probability, Combinations & Permutations Calculator to calculate probabilities, factorials, permutations, and combinations easily. Perfect for students and math enthusiasts.

What is Probability?

Probability is a branch of mathematics that measures the likelihood of an event occurring, expressed as a number between 0 (impossible) and 1 (certain). The basic formula is: P(A) = Favorable Outcomes รท Total Outcomes. For example, the probability of rolling a 3 on a fair die is 1/6 โ‰ˆ 0.1667 or 16.67%.

This calculator handles four types of calculations: Basic Probability (simple event likelihood), Combinations (selections where order doesn't matter), Permutations (arrangements where order matters), and Binomial Probability (probability of exactly k successes in n independent trials).

Probability Formulas Reference

TypeFormulaDescriptionExample
Basic ProbabilityP(A) = favorable รท totalLikelihood of a single eventRolling a 4: P = 1/6 = 16.67%
ComplementP(A') = 1 โˆ’ P(A)Probability event does NOT occurNOT rolling a 4: 1 โˆ’ 1/6 = 83.33%
Combination C(n,r)n! รท (r! ร— (nโˆ’r)!)Selections where order doesn't matterC(5,2) = 10 ways
Permutation P(n,r)n! รท (nโˆ’r)!Arrangements where order mattersP(5,2) = 20 ways
BinomialC(n,k) ร— pk ร— (1โˆ’p)nโˆ’kExactly k successes in n trials3 heads in 5 flips: 31.25%
AND (independent)P(A โˆฉ B) = P(A) ร— P(B)Both events occurTwo heads: 0.5 ร— 0.5 = 25%
OR (mutually exclusive)P(A โˆช B) = P(A) + P(B)Either event occursRolling 1 or 2: 1/6 + 1/6 = 33.33%

Common Probability Examples

ScenarioProbabilityFractionPercentage
Coin flip โ€” heads1 in 21/250%
Rolling a specific number on a die1 in 61/616.67%
Drawing an ace from a deck4 in 521/137.69%
Drawing a heart from a deck13 in 521/425%
Rolling doubles with two dice6 in 361/616.67%
Rolling a 7 with two dice6 in 361/616.67%
Birthday shared in a group of 23โ€”โ€”50.73%
Lottery (6 from 49)1 in 13,983,816โ€”0.0000072%

Combinations vs Permutations โ€” When to Use Which?

Combinations (Order Doesn't Matter)

Use when you're selecting a group and the arrangement doesn't matter. Choosing 3 people from 10 for a committee โ€” {A,B,C} is the same as {C,A,B}.

  • Lottery numbers
  • Choosing team members
  • Selecting menu items
  • Card hands (poker, etc.)
Permutations (Order Matters)

Use when the arrangement or sequence matters. Choosing 3 people from 10 for president, VP, and secretary โ€” {A,B,C} is different from {C,A,B}.

  • PIN codes and passwords
  • Race finishing positions
  • Seating arrangements
  • Phone numbers

FAQ โ€“ Probability Calculator

What is probability and how is it calculated?

Probability measures the likelihood of an event occurring, ranging from 0 (impossible) to 1 (certain). The basic formula is P(A) = Number of favorable outcomes รท Total number of possible outcomes. For example, the probability of drawing a king from a standard deck is 4/52 = 1/13 โ‰ˆ 7.69%.

What is the difference between combinations and permutations?

Combinations count selections where order doesn't matter โ€” choosing 3 books from 10 gives C(10,3) = 120 groups. Permutations count arrangements where order matters โ€” arranging 3 books from 10 on a shelf gives P(10,3) = 720 arrangements. Permutations are always โ‰ฅ combinations for the same n and r.

What is binomial probability?

Binomial probability calculates the chance of getting exactly k successes in n independent trials, where each trial has the same probability p of success. Formula: P(X=k) = C(n,k) ร— pk ร— (1โˆ’p)nโˆ’k. Example: probability of getting exactly 3 heads in 5 coin flips = C(5,3) ร— 0.5ยณ ร— 0.5ยฒ = 31.25%.

What is a factorial and how is it used in probability?

A factorial (n!) is the product of all positive integers up to n. For example, 5! = 5 ร— 4 ร— 3 ร— 2 ร— 1 = 120. By convention, 0! = 1. Factorials are used in combination and permutation formulas to count the number of ways to arrange or select items from a set.

What is the complement of a probability?

The complement P(A') is the probability that event A does NOT occur: P(A') = 1 โˆ’ P(A). This is useful when it's easier to calculate the probability of something not happening. For example, the probability of rolling at least one 6 in 4 rolls = 1 โˆ’ (5/6)โด = 1 โˆ’ 0.482 = 51.8%.

How do I calculate the probability of two events both happening?

For independent events (one doesn't affect the other), multiply their probabilities: P(A AND B) = P(A) ร— P(B). For example, flipping heads twice: 0.5 ร— 0.5 = 0.25 (25%). For dependent events, use conditional probability: P(A AND B) = P(A) ร— P(B|A).

How do I calculate the probability of either event happening?

For mutually exclusive events (can't happen together), add probabilities: P(A OR B) = P(A) + P(B). For non-mutually exclusive events, subtract the overlap: P(A OR B) = P(A) + P(B) โˆ’ P(A AND B). Example: drawing a king or a heart = 4/52 + 13/52 โˆ’ 1/52 = 16/52 โ‰ˆ 30.8%.

What is the birthday problem?

The birthday problem asks: how many people are needed for a 50% chance that two share a birthday? The surprising answer is just 23. With 70 people, the probability exceeds 99.9%. This counterintuitive result occurs because we're comparing all possible pairs, not just one person against the rest.

What are independent vs dependent events?

Independent events don't affect each other โ€” flipping a coin twice, rolling dice. The outcome of one has no effect on the other. Dependent events are linked โ€” drawing cards without replacement. After drawing one card, the remaining deck changes, altering probabilities for the next draw.

Can probability be greater than 1 or less than 0?

No. Probability always ranges from 0 to 1 (or 0% to 100%). A probability of 0 means the event is impossible, and 1 means it's certain. If your calculation gives a value outside this range, there's an error in the inputs or formula. Combinations and permutations can be large numbers, but they represent counts, not probabilities.

โ† Back to Math & Statistics