Probability and risk
Conditional probability
Also called P(A|B), probability given
The probability of an event A once you know event B has happened: P(A|B) = P(A and B) / P(B).
How it works
Conditioning shrinks the sample space to the outcomes where B holds and rescales so they add to one. Interview puzzles often hinge on exactly what was revealed: 'at least one die is a six' is different from 'the first die is a six'. P(A|B) and P(B|A) are usually different numbers, and mixing them up is the error Bayes' rule corrects. On a desk, every fill is information: the chance a quote was good given that it was hit is lower than before it was hit.
Worked example
Roll two fair dice. Given at least one shows a six (11 of 36 outcomes), the chance both are sixes is 1/11. Given the first die shows a six, the chance both are sixes is 1/6.
Related terms
Put it to work in a timed game.
Practise with Confidence IntervalsSources
Last checked November 2026.