๐ŸŽฒ Probability Calculator

Single Event Probability

Probability

Two Events (A and B)

Probability

Understanding Probability

Probability measures how likely an event is to occur. It ranges from 0 (impossible) to 1 (certain). Multiply by 100 to express as a percentage.

P(A) = Favorable outcomes / Total outcomes
P(A and B) = P(A) ร— P(B) [if independent]
P(A or B) = P(A) + P(B) โˆ’ P(A and B)

Probability Examples

  • Flipping a coin: P(Heads) = 1/2 = 0.5 = 50%
  • Rolling a 6: P(6) = 1/6 โ‰ˆ 0.167 = 16.7%
  • Drawing a red card: P(Red) = 26/52 = 0.5 = 50%

Probability Rules โ€” Complete Reference

RuleFormulaExample
Basic probabilityP(A) = favourable/totalDie: P(6) = 1/6
ComplementP(not A) = 1 โˆ’ P(A)P(not 6) = 5/6
AND (independent)P(A and B) = P(A) ร— P(B)P(HH) = 0.5ร—0.5=0.25
OR (mutually exclusive)P(A or B) = P(A) + P(B)P(1 or 2 on die) = 2/6
OR (not exclusive)P(A or B) = P(A)+P(B)โˆ’P(AโˆฉB)General addition rule
ConditionalP(A|B) = P(AโˆฉB)/P(B)Given B occurred, P of A

Common Probability Examples

Fair coin: P(H)=0.5, P(T)=0.5
Fair die: P(any face)=1/6 โ‰ˆ 0.167
Deck of cards: P(Ace)=4/52โ‰ˆ0.077, P(Red)=26/52=0.5
Two dice sum=7: 6/36=1/6โ‰ˆ0.167
Lottery 6/49: C(49,6)โปยน โ‰ˆ 1 in 13.98 million

Expected Value

Expected value E(X) is the average result you'd get over many trials:

E(X) = ฮฃ [x ร— P(x)]
Example: Die roll E = (1+2+3+4+5+6)/6 = 3.5
You "expect" 3.5 on average per roll.

Real-World Applications

  • Insurance: Actuaries calculate premiums using probability of claims
  • Medicine: Clinical trial success rates, disease prevalence, diagnostic test accuracy
  • Finance: Option pricing (Black-Scholes model uses probability)
  • Weather forecasting: "70% chance of rain" is a probability
  • Games: Casino odds, card game strategy, lottery expected value

Frequently Asked Questions

What is the probability of rolling a 6 on a die? โ–ผ
P(6) = 1/6 โ‰ˆ 0.1667 = 16.67%. A standard die has 6 faces, and only one shows 6.
What is the probability of getting heads twice in a row? โ–ผ
P(HH) = P(H) ร— P(H) = 0.5 ร— 0.5 = 0.25 = 25%. Each flip is independent.
What does P(A or B) mean? โ–ผ
P(A or B) is the probability that at least one of the events A or B occurs. Using the addition rule: P(A or B) = P(A) + P(B) โˆ’ P(A and B).