Result
Enter values and click Calculate
Compute probability using basic rules, conditional probability, or Bayesโ theorem.
No recently used tools
Loading categories...
Free online probability calculator with four modes: basic probability (favorable/total), conditional P(A|B), Bayesโ theorem posterior, and multiple events (AND, OR, NOT). Step-by-step KaTeX formulas, interpretation, and Python code export.
Compute probability using basic rules, conditional probability, or Bayesโ theorem.
Probability measures the likelihood of an event occurring, expressed as a number between 0 (impossible) and 1 (certain). It is the foundation of statistics, machine learning, and decision-making.
P(ยฌA) = 1 โ P(A). The probability an event does not happen.
P(A โช B) = P(A) + P(B) โ P(A โฉ B). Subtract the overlap.
P(A โฉ B) = P(A) ร P(B|A). For independent events: P(A) ร P(B).
| Property | Independent Events | Mutually Exclusive Events |
|---|---|---|
| Definition | One event does not affect the other | Events cannot both occur |
| P(A โฉ B) | P(A) ร P(B) | 0 |
| P(A โช B) | P(A) + P(B) โ P(A)P(B) | P(A) + P(B) |
| Example | Coin flip and die roll | Drawing a red or blue ball |
| Can both occur? | Yes | No |
Bayesโ theorem updates disease probability after test results, accounting for base rates and test accuracy.
Naรฏve Bayes classifiers compute the probability an email is spam given the words it contains.
Actuaries use conditional probabilities to assess risk and calculate premium rates.
Poker odds, win probability given the current game state, expected value of bets.