Conditional Probability Calculator

Find P(A given B).

P(A | B) 0.4
P(A | B) (%) 40

Formula: P(A|B) = P(A and B) ÷ P(B)

Step-by-step with your numbers:
1. Values used:
2. P(A and B) = 0.2
3. P(B) = 0.5
4.
5. P(A | B) = P(A and B) / P(B) = 0.2 / 0.5 = 0.4
6. P(A | B) = 40%
Did we solve your problem today?

Conditional probability is the chance of A given that B happened.

How the Math Works

Conditional probability measures the likelihood of an event occurring given that another event has already occurred. The formula P(A|B) = P(A and B) ÷ P(B) calculates this by dividing the probability of both events A and B happening together by the probability of event B. This adjustment ensures we focus only on the subset of scenarios where B is true, effectively narrowing our probability window to B's occurrence.

Practical Applications

To use this calculator, input the probability of both events A and B occurring simultaneously (P(A and B)) and the probability of event B (P(B)). For example, if 30% of data shows both high demand and seasonal spikes (P(A and B) = 0.3), and seasonal spikes occur 50% of the time (P(B) = 0.5), the calculator determines the conditional probability of high demand given a seasonal spike as 60%. This is critical in fields like marketing, healthcare, and risk management for refining predictions.

Day-to-Day Use

Conditional probability empowers everyday decision-making. Imagine planning a picnic: if you know the probability of rain is 40% overall, but 70% on cloudy days (P(Cloudy) = 0.6), you can calculate the chance of rain given current cloudy skies as 42%. This helps you decide whether to proceed with outdoor plans. Similarly, it aids in interpreting medical test results, evaluating product reviews, or adjusting strategies based on new information, making complex probability accessible for practical use.

Worked example

0.2 ÷ 0.5 → 0.4 (40%).

FAQ

Independent events?

Then P(A|B) = P(A).