Statistics

Probability Calculator

Calculate probability. Fast, accurate, and completely free.

Favorites

Recent Tools

Results
Probability Result

Calculation Steps

Mathematical Formula

P(A) = \frac{\text{Favorable Outcomes}}{\text{Total Outcomes}} \quad P(A|B) = \frac{P(B|A) \cdot P(A)}{P(B)}

P(A) = Probability of event A occurring

P(A') = Complement = 1 − P(A)

P(A∪B) = P(A) + P(B) − P(A∩B)

Bayes': P(A|B) = P(B|A)·P(A) / [P(B|A)·P(A) + P(B|¬A)·P(¬A)]

How to Use this Calculator

  1. Select a probability mode: Single Event, Complement, Two Events, or Bayes' Theorem.

  2. Enter the required values based on the selected mode.

  3. For Two Events, choose the relationship between events (Independent, Mutually Exclusive, or Neither).

  4. Click Calculate to see results as fractions, decimals, and percentages.

  5. Review the step-by-step calculation breakdown.

Understanding Probability

Probability is the mathematical framework for quantifying uncertainty. It assigns a number between 0 (impossible) and 1 (certain) to every possible outcome of an experiment or event. Whether you are assessing risk in finance, diagnosing diseases in medicine, or designing experiments in science, probability is the foundational language of uncertainty.

Single Event Probability

The simplest probability calculation divides the number of favorable outcomes by the total number of equally likely outcomes. For example, the probability of rolling a 3 on a fair die is 1/6. This classical definition assumes all outcomes are equally likely, which is appropriate for dice, cards, coins, and similar random experiments.

Complement Rule

The complement of an event A, denoted P(A'), is the probability that A does NOT occur. Since all probabilities must sum to 1, P(A') = 1 − P(A). This rule is especially useful when calculating the probability of "at least one" occurrence, as it is often easier to compute the complement of "none."

Combined Events: Union and Intersection

For two events, the Addition Rule states P(A∪B) = P(A) + P(B) − P(A∩B). If events are mutually exclusive (cannot happen simultaneously), P(A∩B) = 0, simplifying to P(A∪B) = P(A) + P(B). If events are independent (one does not affect the other), P(A∩B) = P(A) × P(B). Understanding these relationships is essential for more complex probability problems.

Conditional Probability and Bayes' Theorem

Conditional probability P(A|B) asks: "What is the probability of A given that B has already occurred?" Bayes' Theorem elegantly reverses conditional probabilities: P(A|B) = P(B|A)·P(A) / P(B). It is the cornerstone of Bayesian statistics and has profound applications in medical testing, spam filtering, machine learning, and forensic science.

Medical Testing Example

Consider a disease affecting 1% of a population. A test correctly identifies 90% of sick individuals (sensitivity) but has a 5% false positive rate. Using Bayes' Theorem, if you test positive, the actual probability of having the disease is only about 15.4% — far lower than most people intuitively expect. This phenomenon, called the base rate fallacy, demonstrates why Bayes' Theorem is crucial in interpreting diagnostic tests.

Applications

Probability theory underpins virtually every quantitative field: insurance and actuarial science, stock market modeling, weather forecasting, A/B testing in marketing, reliability engineering, genetics, and artificial intelligence. Our calculator helps you build intuition by computing results for all major probability scenarios instantly.

Frequently Asked Questions (FAQ)

What is the difference between independent and mutually exclusive events?

Independent events do not affect each other's probability (e.g., two coin flips). Mutually exclusive events cannot occur simultaneously (e.g., rolling a 3 and a 5 on one die). Mutually exclusive events are NOT independent unless one has zero probability.

How do I interpret Bayes' Theorem results?

Bayes' Theorem updates your initial belief (prior probability) based on new evidence. The result (posterior probability) tells you the revised probability of your hypothesis after observing the evidence.

Can probability be greater than 1?

No. Valid probabilities range from 0 to 1 (or 0% to 100%). If your calculation yields a value outside this range, check your inputs — some combination may be logically impossible.

What does P(A∩B) mean?

P(A∩B), read as "P of A intersect B," is the probability that both events A and B occur simultaneously. For independent events, P(A∩B) = P(A) × P(B).

What is the base rate fallacy?

The base rate fallacy occurs when people ignore the prior probability (base rate) of an event. For rare diseases, even a highly accurate test may produce more false positives than true positives in the general population.

Explore more tools you might find useful