Quants
Conditional Probability: Meaning, Formula, and Example

Conditional probability means the probability of an event happening when we already know that another event has happened.
In simple words, it answers this question:
What is the chance of Event A happening, given that Event B has already happened?
This concept is very important in statistics, finance, risk management, machine learning, credit analysis, and CFA or FRM preparation.
Many real-life decisions are conditional. We do not always calculate probability in isolation. We often calculate probability based on some extra information.
For example:
What is the probability that a borrower will default, given that their credit score is low?
What is the probability that a stock will fall, given that interest rates have increased?
What is the probability that a student will pass, given that they completed all mock tests?
In all these cases, we are not asking a general probability. We are asking probability after knowing some condition.
What is Conditional Probability?
Conditional probability is the probability of one event occurring, given that another event has already occurred.
It is written as:
P(A | B)
This is read as:
Probability of A given B
Here:
A is the event we want to find.
B is the event that is already known.
The formula is:
P(A | B) = P(A and B) / P(B)
This means we divide the probability of both A and B happening by the probability of B happening.
Simple Example
Suppose there are 100 students in a class.
60 students study regularly.
40 students pass the exam.
30 students study regularly and pass the exam.
Now we want to find:
What is the probability that a student passes the exam, given that the student studies regularly?
Here:
A = Student passes the exam
B = Student studies regularly
We need to find P(A | B).
Formula:
P(A | B) = P(A and B) / P(B)
Number of students who study regularly and pass = 30
Number of students who study regularly = 60
So:
P(Pass | Studies Regularly) = 30 / 60
P(Pass | Studies Regularly) = 0.50 or 50 percent
This means that among students who study regularly, 50 percent passed the exam.
Notice that we did not divide by total students. We divided only by students who studied regularly because the condition is already given.
Why Conditional Probability Matters
Conditional probability matters because new information changes the probability.
For example, assume the general probability of a company defaulting is 5 percent.
But if we know that the company has high debt, falling revenue, and weak cash flow, the probability of default may be much higher.
So, probability changes when we add relevant information.
This is why conditional probability is useful in finance and risk management. Analysts rarely look at probability in isolation. They look at probability based on economic conditions, borrower quality, market movement, credit rating, liquidity, and other factors.
Example from Finance
Suppose a bank has 1,000 borrowers.
Out of these:
200 borrowers have low credit scores.
80 borrowers defaulted.
50 borrowers had low credit scores and defaulted.
Now we want to calculate:
What is the probability of default, given that the borrower has a low credit score?
Let:
A = Borrower defaults
B = Borrower has low credit score
Formula:
P(A | B) = P(A and B) / P(B)
Using numbers:
P(Default | Low Credit Score) = 50 / 200
P(Default | Low Credit Score) = 0.25 or 25 percent
So, if the borrower has a low credit score, the probability of default is 25 percent.
This is more useful than simply saying that 80 out of 1,000 borrowers defaulted.
The general default rate is:
80 / 1,000 = 8 percent
But the default rate among low credit score borrowers is 25 percent.
This shows how conditional information changes the probability.
Conditional Probability Using a Table
Let us take another example.
A company studies customer behavior for loan approval.
| Customer Type | Defaulted | Did Not Default | Total |
| Low Credit Score | 50 | 150 | 200 |
| Good Credit Score | 30 | 770 | 800 |
| Total | 80 | 920 | 1,000 |
Now calculate:
Probability of default given low credit score:
P(Default | Low Credit Score) = 50 / 200 = 25 percent
Probability of default given good credit score:
P(Default | Good Credit Score) = 30 / 800 = 3.75 percent
This tells us that credit score is useful information for estimating default risk.
Conditional Probability vs Joint Probability
Students often confuse conditional probability with joint probability.
Joint probability means the probability that two events happen together.
Conditional probability means the probability that one event happens after knowing that another event has happened.
Example:
P(Default and Low Credit Score) = 50 / 1,000 = 5 percent
This is joint probability.
P(Default | Low Credit Score) = 50 / 200 = 25 percent
This is conditional probability.
The difference is the denominator.
In joint probability, we divide by the total population.
In conditional probability, we divide by the condition group.
Conditional Probability vs Unconditional Probability
Unconditional probability is the general probability of an event happening without any additional information.
Conditional probability uses extra information.
Example:
Total borrowers = 1,000
Defaulted borrowers = 80
Unconditional probability of default:
P(Default) = 80 / 1,000 = 8 percent
Now, if we know the borrower has low credit score:
P(Default | Low Credit Score) = 50 / 200 = 25 percent
So, conditional probability is more specific.
Real-Life Examples
Conditional probability appears in many real situations.
In credit risk:
What is the probability of default, given that the borrower missed the last EMI?
In investments:
What is the probability that equity markets fall, given that inflation rises sharply?
In insurance:
What is the probability of claim, given the age group of the policyholder?
In education:
What is the probability of clearing CFA Level 1, given that the candidate scored above 70 percent in mock exams?
In business:
What is the probability of customer renewal, given that the customer used the product regularly?
These examples show that conditional probability helps us make better decisions when we have additional information.
Example with Cards
Suppose one card is drawn from a standard deck of 52 cards.
Question:
What is the probability that the card is an Ace, given that the card is a Spade?
There are 13 Spades in a deck.
Among those 13 Spades, only 1 card is Ace of Spades.
So:
P(Ace | Spade) = 1 / 13
P(Ace | Spade) = 7.69 percent
Here, the condition is that the card is already known to be a Spade. So, we only look at the 13 Spade cards, not the full 52-card deck.
Example with Market Returns
Suppose we observe 100 trading days.
On 40 days, interest rates increased.
On 25 days, stock market fell.
On 18 days, interest rates increased and stock market fell.
Now we want to calculate:
What is the probability that the stock market falls, given that interest rates increase?
Let:
A = Stock market falls
B = Interest rates increase
P(A | B) = P(A and B) / P(B)
Using counts:
P(Market Falls | Rates Increase) = 18 / 40
P(Market Falls | Rates Increase) = 45 percent
This means that on days when interest rates increased, the market fell 45 percent of the time.
Independent Events and Conditional Probability
If two events are independent, then knowing one event does not change the probability of the other event.
For independent events:
P(A | B) = P(A)
For example, suppose tossing a coin and rolling a dice happen together.
The result of the coin toss does not affect the dice roll.
So, the probability of getting a 6 on the dice remains 1/6, whether the coin shows Head or Tail.
But in finance, many events are not independent.
For example, default risk may depend on interest rates, leverage, liquidity, and economic conditions.
That is why conditional probability becomes useful.
Bayes Theorem Connection
Conditional probability is also the base for Bayes Theorem.
Bayes Theorem is used when we want to update probability based on new information.
For example, if we know the probability of default and the probability of weak financial ratios among defaulters, Bayes Theorem can help estimate the probability of default given weak financial ratios.
This is widely used in risk management, machine learning, fraud detection, medical testing, and credit scoring.
Common Mistakes in Conditional Probability
One common mistake is using the wrong denominator.
If the question says “given that B has occurred,” then the denominator should be B, not the total population.
Another mistake is confusing P(A | B) with P(B | A).
These are not the same.
For example:
P(Default | Low Credit Score) is not the same as P(Low Credit Score | Default).
The first asks:
Among low credit score borrowers, how many defaulted?
The second asks:
Among defaulted borrowers, how many had low credit scores?
Both can give different answers.
Numerical Example of P(A | B) vs P(B | A)
Using the borrower example:
Total borrowers = 1,000
Low credit score borrowers = 200
Defaulted borrowers = 80
Low credit score and defaulted = 50
P(Default | Low Credit Score) = 50 / 200 = 25 percent
P(Low Credit Score | Default) = 50 / 80 = 62.5 percent
Both use the same numerator, but the denominator is different.
That is why the meaning changes completely.
Exam Perspective
For CFA and finance students, remember these points:
Conditional probability means probability of A given B.
The formula is P(A | B) = P(A and B) / P(B).
The denominator is always the given condition.
P(A | B) and P(B | A) are not the same.
Conditional probability is different from joint probability.
If two events are independent, P(A | B) = P(A).
Conditional probability is useful in risk analysis, credit scoring, market analysis, and decision making.
Final Thoughts
Conditional probability helps us understand how probability changes when new information is available.
A general probability may give one answer, but a conditional probability gives a more specific and useful answer.
For example, the general probability of default may be 8 percent. But if we know that the borrower has a low credit score, the probability may rise to 25 percent.
That is the power of conditional probability.
The simplest way to remember it is:
Conditional probability means finding probability after applying a condition.