Conditional probability (P(A|B))
P(A|B) means “the probability of A given B”: how likely A is once you know that B has happened. The vertical bar is read “given”.
Easily confused with
How to read it
OpenStax’s Introductory Statistics defines P(A|B) as the probability that A will occur given that B has already occurred, and explains that the condition shrinks the sample space: only outcomes in B are left to count. Its formula is P(A|B) = P(A AND B) / P(B). Grinstead and Snell’s Introduction to Probability (Dartmouth) gives a die example. Roll once; the chance of a 6 is 1/6. Told that the roll was more than 4, only 5 and 6 remain, and the probability of a 6 becomes 1/2: P(6 | more than 4) = 1/2. OpenStax’s Contemporary Mathematics calls it the updated probability of an event once something is assumed to have occurred.
Also searched as: given symbol, P(A|B), P(A given B), P(B|A), probability of A given B, vertical bar in probability.
P(A|B) and P(B|A)
The order matters. P(A|B) and P(B|A) are different questions: OpenStax’s Contemporary Mathematics sets them as separate exercises, the chance that a student is a sophomore given that they study the arts and the chance that a student studies the arts given that they are a sophomore, and its Introductory Statistics asks readers to work out both and check whether they are equal.
Look-alikes
The bar is the same character as the “such that” bar in set-builder notation, but in probability it is read “given”. It is not a division sign, though Keynes’s older p/q notation used a slash.
Read next
- Next in Statistics symbolsFactorial (n!)n! (“n factorial”) means n × (n − 1) × … × 2 × 1, the product of the whole numbers from 1 to n. So 4! = 4 × 3 × 2 × 1 = 24, and 0! is defined as 1.
- The same shape in OBD-II trouble codesP0102: Mass or volume air flow circuit low inputAn OBD-II trouble code meaning the signal from the air flow sensor circuit is lower than expected.
More statistics symbols
The same shape elsewhere
Browse symbols drawn with letters and numbers.
Sources
- Introductory Statistics 2e, 3.1 Terminology, OpenStax (Rice University), Terminology
- Introduction to Probability, Charles M. Grinstead and J. Laurie Snell, Introduction to Probability, 2nd edition (2006 CHANCE version), Dartmouth College, Ch. 4.1 Discrete conditional probability
- Contemporary Mathematics, 7.9 Conditional Probability and the Multiplication Rule, OpenStax (Rice University), Conditional probability
- Earliest Uses of Symbols in Probability and Statistics, Jeff Miller, Earliest Uses of Various Mathematical Symbols, MacTutor History of Mathematics, University of St Andrews, Symbols in probability: Conditional probability
Researched, edited and approved by Rory Hansen before publishing. Last reviewed October 9, 2026. How we research
Added .