Probability Calculator
This probability calculator combines two event probabilities to find both events, at least one, neither, and exactly one. Choose independence to multiply the two probabilities, or supply their joint probability when independence is not assumed.
By Dr. Hassan Khames EliwaLast updated
Result
- At least one event
- 70.0000%
- Neither event
- 30.0000%
- Exactly one event
- 50.0000%
How it works
Define events before choosing a model
An event is a clearly described outcome within a shared experiment or observation window. A might mean a delivery is late, while B means it arrives damaged. Write those definitions before entering numbers: probabilities from different populations or time windows do not automatically form a coherent pair.
Enter probabilities as decimals from zero to one, not as percentage numbers. The calculator presents its answers as percentages with four decimal places. Zero and one are allowed and represent impossible and certain events within the stated model, not necessarily universal claims about the real world.
Independent mode multiplies the marginals
Independence means knowing that A happened does not change the probability of B. Under this assumption, P(A and B) = P(A) × P(B). The calculator uses that product as the overlap between the two events. Separate descriptions alone do not establish independence; two distinct failure types may still share weather, equipment, or handling conditions.
Dependent mode requires the overlap
When independence is not justified, enter P(A and B) directly alongside P(A) and P(B). This is the joint probability, not the conditional probability P(B given A). If you know a conditional probability instead, multiply it by P(A) before entering the joint value.
The overlap cannot exceed the smaller event probability or fall below max(0, P(A) + P(B) - 1). Those bounds ensure the four underlying outcome groups remain nonnegative. The implementation allows only a tiny floating-point tolerance at these boundaries and clamps it back to the valid interval.
Build the other outcomes
At least one event is P(A) + P(B) - P(A and B). Neither is one minus that union. Exactly one is P(A) + P(B) - 2 × P(A and B), because outcomes containing both must be removed from each marginal. These formulas remain valid in either mode once the overlap is known.
Worked example
Example 1: independent component triggers
Suppose two genuinely independent component triggers have probabilities 0.4 and 0.5 during one test. Select independent mode and enter those values. Both events is 20.0000%, At least one event is 70.0000%, Neither event is 30.0000%, and Exactly one event is 50.0000%. The overlap is the product, 0.2. The exactly-one result excludes trials where both triggers operate.
Example 2: observed overlapping delivery problems
For a hypothetical delivery sample, let P(A) be 0.6 and P(B) be 0.5, with a measured joint probability of 0.4. Select dependent mode and enter all three values. Both events is 40.0000%, At least one event is 70.0000%, Neither event is 30.0000%, and Exactly one event is 30.0000%. These are illustrative inputs, not a claim about delivery performance.
Expert tips
Common mistakes
- Confusing independent with mutually exclusive. Mutually exclusive events cannot happen together, so their overlap is zero. Independent events generally can happen together; with positive marginal probabilities their overlap is positive.
- Entering 40 for forty percent. The input scale is zero to one, so forty percent is 0.4. The output scale is explicitly percentage-based to make the distinction visible.
- Supplying a conditional probability as the joint. A probability measured only among cases where A occurred has a different denominator. Convert it to a joint probability before using dependent mode.
Frequently asked questions
Does dependent mode prove dependence?
No. It simply uses the supplied joint probability without assuming independence. If that value equals the product of the marginals, the resulting pair is consistent with independence.
What does at least one include?
It includes A alone, B alone, and both together. It is an inclusive or, not the exclusive or represented by the exactly-one result.
Can an impossible overlap be entered?
No. The calculator rejects overlaps outside the mathematical lower and upper bounds implied by the two marginal probabilities, apart from negligible floating-point boundary noise.
Can this handle more than two events?
Not directly. Three or more events need additional intersections or explicit assumptions. Repeatedly combining pairs without preserving that information can produce incorrect answers.
Are these predictions certain?
No. The arithmetic follows the supplied probabilities and relationship assumption. Sampling error, changing conditions, and poorly defined events can make the inputs uncertain even when the calculation is correct.
Related calculators
Related guides
MathPercentages people get wrong: change, difference and pointsThe denominator determines the answer. Learn to distinguish percentage change, symmetric difference and percentage-point movements.14 November 2026 · 7 min read
MathStandard deviation without the jargonThe average tells you the centre. Standard deviation helps describe the spread, provided you know what the data represents.14 November 2026 · 7 min readAbout the author
Dr. Hassan Khames Eliwa holds a PhD in Construction & Built Environment and has more than 20 years of international project controls experience. He is Director of Eliwa Project Controls Limited in Auckland and founder of PMMilestone.org and PMMilestone.com.
Buy me a coffee