Math Playground
Data

Conditional probability

P(A given B) — once you know B happened, A's chances change.

P(A|B) is the probability of A given that B has happened.

Conditional
P(A|B) = P(A and B) / P(B)