CalcWorldHub
Free online calculator · no signup

Exactly one of two events probability calculator

Find the probability that exactly one of two events occurs from their marginal probabilities and their overlap.

Exactly one of two events probability calculator — P(A), P(B), P(A and B) and calculation method
Exactly one of two events probability calculator: inputs and calculation method.

How to use this calculator

Find the probability that exactly one of two events occurs from their marginal probabilities and their overlap.

  1. Enter P(A), P(B), P(A and 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 Exactly one of two events probability calculator works

Find the probability that exactly one of two events occurs from their marginal probabilities and their overlap.

Inputs and units

  • P(A): Decimal probability of A.
  • P(B): Decimal probability of B.
  • P(A and B): Decimal joint probability that both occur; must satisfy the marginal consistency bounds.

Formula and method

P(exactly one) = P(A)+P(B)−2P(A and B)

Worked example

P(A)=0.4, P(B)=0.5, and overlap 0.2 give 0.4+0.5−0.4=0.5.

Interpreting the result

The overlap is removed twice because it appears once in each marginal but belongs to neither exclusive outcome.

Assumptions and limits

No independence assumption is required. All inputs lie in [0,1], and overlap must be between max(0,P(A)+P(B)−1) and min(P(A),P(B)).

Sources and method

Frequently asked questions

Is this the same as the union?

No. The union includes the overlap once, while exactly one excludes it.

Can I use P(A)P(B) for the overlap?

Only if independence is justified. Otherwise supply the actual joint probability.

How do I use the Exactly one of two events probability calculator?

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

What is a worked example of Exactly one of two events probability?

P(A)=0.4, P(B)=0.5, and overlap 0.2 give 0.4+0.5−0.4=0.5.

What does the Exactly one of two events probability calculator calculate?

Find the probability that exactly one of two events occurs from their marginal probabilities and their overlap.