Conditional probability
The probability of A given that B has occurred.
The probability of A given that B has occurred.
What the symbols mean
- P(A | B) — the conditional probability
- P(A ∩ B) — the probability of both
- P(B) — the probability of the condition
What it means
Restricting attention to the cases where B occurred shrinks the sample space to B, and the favourable cases are the intersection. Events are independent exactly when P(A | B) = P(A).
Worked example
If P(A ∩ B) = 0.10 and P(B) = 0.40, then P(A | B) = 0.10/0.40 = 0.25.
Related formulas
These relationships often appear alongside the conditional probability in the same problems.
Frequently asked questions
What is the conditional probability formula?
The relationship is P(A | B) = P(A ∩ B) / P(B). The probability of A given that B has occurred.
When should I use the conditional probability formula?
Restricting attention to the cases where B occurred shrinks the sample space to B, and the favourable cases are the intersection. Events are independent exactly when P(A | B) = P(A).
How do I avoid unit mistakes?
Write each quantity with its unit before substituting, convert to the units the formula expects, and check that the result's unit matches the quantity you are solving for. Angles must be in radians for calculus-based expressions unless the page says degrees.
The equation form, symbols and expected units on this page are checked against the reference works below.
- NIST Digital Library of Mathematical Functions (DLMF)Authoritative reference for logarithms, trigonometric functions and special functions.
How these are used: sources and standards.
Reviewed November 2026 · Educational reference. See the disclaimer and methodology.