Probability Calculator

Calculate probability for single events, multiple events (AND / OR), conditional probability, combinations, and permutations.


Enter the number of favorable outcomes and total outcomes to calculate the probability.

Enter the probability of each event (as a decimal or fraction) and choose whether they are independent.

Calculate P(A|B) — the probability of A given that B has already occurred.

Calculate nCr — the number of ways to choose r items from n items where order does not matter.

Calculate nPr — the number of ways to arrange r items from n items where order matters.

How to use

  • Single Event
    Enter the number of favorable outcomes and total outcomes. For example, rolling a 3 on a die: 1 favorable, 6 total → P = 1/6 ā‰ˆ 16.67%.
  • Multiple Events
    Enter probabilities of two events (0 to 1) and choose the relationship. Use AND for both events occurring, OR for at least one occurring.
  • Conditional Probability
    Calculate P(A|B) — the probability of A given B has occurred. Enter P(A∩B) and P(B).
  • Combination (nCr)
    How many ways to choose r items from n when order doesn't matter. Example: choosing 3 team members from 10 people.
  • Permutation (nPr)
    How many ways to arrange r items from n when order matters. Example: 1st, 2nd, 3rd place from 10 contestants.

Key Formulas

P(A) = favorable Ć· total
P(A AND B) = P(A) Ɨ P(B)
P(A OR B) = P(A) + P(B) āˆ’ P(A∩B)
P(A|B) = P(A∩B) ÷ P(B)
nCr = n! Ć· (r! Ɨ (nāˆ’r)!)
nPr = n! Ć· (nāˆ’r)!
āš ļø Note
Probabilities must be between 0 and 1. A probability of 0 means impossible, 1 means certain. Results are rounded to 6 decimal places.

What is Probability?

Probability is the measure of how likely an event is to occur, expressed as a number between 0 and 1 (or 0% to 100%). A probability of 0 means the event is impossible, while a probability of 1 means it is certain. Probability is used in statistics, finance, science, games, and everyday decision-making.

Types of Probability

TypeFormulaExample
Single EventP(A) = favorable Ć· totalP(heads) = 1/2 = 0.5
AND (independent)P(A∩B) = P(A) Ɨ P(B)P(heads AND heads) = 0.5 Ɨ 0.5 = 0.25
OR (independent)P(A∪B) = P(A) + P(B) āˆ’ P(A∩B)P(A or B) where A=0.3, B=0.4
OR (mutually exclusive)P(A∪B) = P(A) + P(B)P(1 or 2 on a die) = 1/6 + 1/6
ConditionalP(A|B) = P(A∩B) ÷ P(B)P(ace | red card) = 0.02 ÷ 0.5 = 0.04

Frequently Asked Questions

What is the difference between combination and permutation?

A combination counts selections where order does not matter (choosing a team). A permutation counts arrangements where order does matter (ranking contestants). For example, choosing 3 from 5: nCr = 10 ways, but nPr = 60 arrangements.

What are mutually exclusive events?

Two events are mutually exclusive if they cannot both happen at the same time. For example, rolling a 1 and rolling a 2 on a single die — you can't get both at once. For mutually exclusive events, P(A OR B) = P(A) + P(B).

What are independent events?

Two events are independent if the outcome of one does not affect the other. For example, flipping a coin twice — the first flip doesn't affect the second. For independent events, P(A AND B) = P(A) Ɨ P(B).

What is conditional probability?

Conditional probability P(A|B) is the probability of event A occurring given that event B has already occurred. It's calculated as P(A|B) = P(A∩B) ÷ P(B). It's used in medical testing, weather forecasting, and Bayesian statistics.

What does nCr mean?

nCr (n choose r) is the number of ways to select r items from a group of n items when the order of selection doesn't matter. The formula is nCr = n! Ć· (r! Ɨ (nāˆ’r)!). For example, 5C2 = 5! Ć· (2! Ɨ 3!) = 10.

What is a factorial?

A factorial (n!) is the product of all positive integers from 1 to n. For example, 5! = 5 Ɨ 4 Ɨ 3 Ɨ 2 Ɨ 1 = 120. By definition, 0! = 1. Factorials grow very quickly — 20! is already over 2 quintillion.

Related Calculators