# Calculation of Conditional Probabilities

Let $$A$$ and $$B$$ be events. The conditional probability is defined as

$\Pr(A | B) = \frac{ \Pr(A \cap B) }{ \Pr(B) }$

as long as $$Pr(B) \ne 0$$.