CalcWorldHub
Free online calculator · no signup

Conditional probability calculator

Find the probability of A among cases where B occurs, using the joint probability and the probability of B.

A better way to figure it out
Clear
inputs.
∑
Clear result · useful details
Free calculatorNo signup ✓
Conditional probability calculator — Joint chance P(A and B) (%), Chance P(B) (%) and calculation method
Conditional probability calculator: inputs and calculation method.

How to use this calculator

Find the probability of A among cases where B occurs, using the joint probability and the probability of B.

  1. Enter Joint chance P(A and B) (%), Chance P(B) (%). Match the units shown beside each field and review the result together with the assumptions below.
  2. Read the worked example below to check the expected input format and result.
  3. Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Calculation guide

How the Conditional probability calculator works

Find the probability of A among cases where B occurs, using the joint probability and the probability of B.

Inputs and units

  • Joint chance P(A and B) (%): Joint event probability P(A and B), entered as a percentage.
  • Chance P(B) (%): Conditioning event probability P(B), entered as a positive percentage at least as large as the joint probability.

Formula and method

P(A|B) = P(A∩B) ÷ P(B)

Worked example

If P(A and B)=12% and P(B)=30%, then P(A|B)=12/30=0.40, or 40%.

Interpreting the result

The result is a conditional probability: the reference group is the cases where B happened. It is not the probability of B or the joint probability itself.

Assumptions and limits

Use probabilities on the same population and event definitions. P(B) must be positive, and the joint probability cannot exceed P(B). Percent inputs are divided as percentages in the ratio.

Sources and method

Frequently asked questions

Why can the conditional probability differ from the joint probability?

Conditioning restricts the denominator to the B cases, so the joint share is rescaled within that subset.

Can the joint chance be larger than P(B)?

No. A∩B is a subset of B; such inputs are inconsistent with the event definitions.

How do I use the Conditional probability calculator?

Enter Joint chance P(A and B) (%), Chance P(B) (%). Match the units shown beside each field and review the result together with the assumptions below.

What is a worked example of Conditional probability?

If P(A and B)=12% and P(B)=30%, then P(A|B)=12/30=0.40, or 40%.

What does the Conditional probability calculator calculate?

Find the probability of A among cases where B occurs, using the joint probability and the probability of B.