Probability calculator

Find complements, unions, intersections, and conditional probabilities with explicit event assumptions.

Use 0–1 probabilities, e.g. 0.6 means 60%. Up to 12 decimal places.

Assumptions & limits

Inputs are probabilities from 0 to 1, exactly representable with at most 12 decimal places (e notation allowed). Unknown relationship shows feasible bounds only. Independent requires an explicit choice and uses P(A)P(B). Mutually exclusive means zero overlap; P(A) + P(B) must be ≤ 1. Given overlap must lie between max(0, P(A) + P(B) − 1) and min(P(A), P(B)). Conditional probabilities with a zero denominator are undefined. Decimal feasibility is checked exactly before results are formatted. No relationship is inferred from the numbers.

YOUR ANSWER

P(A or B) · possible range

60%–100%

P(A and B) · possible range
0%–40%
P(not A)
40% (0.4)
P(not B)
60% (0.6)
Relationship
Not specified; choose a model to get a single answer.
How it’s calculatedCalculated on your device

max(P(A), P(B)) ≤ P(A or B) ≤ min(1, P(A) + P(B)). max(0, P(A) + P(B) − 1) ≤ P(A and B) ≤ min(P(A), P(B)).

Displayed values may be rounded. Calculations keep the underlying precision.

Enter probabilities 0–1, not 0–100 percentages, with at most 12 effective decimal places; e notation is accepted if it fits that decimal grid. Decimal feasibility is checked exactly. Independence and mutual exclusivity must be explicitly selected. Infeasible overlap is rejected instead of clamped. Conditional probability given a zero-probability event is undefined here. Displayed probabilities may be rounded.

The formula, made simple

Find an event's complement, or work with two events using an explicit relationship. If their relationship is unknown, see feasible ranges rather than assuming the events are independent.

P(not A) = 1 − P(A). P(A or B) = P(A) + P(B) − P(A and B). Independent events have P(A and B) = P(A)P(B). Mutually exclusive events have zero intersection. In general, max(0, P(A) + P(B) − 1) ≤ intersection ≤ min(P(A), P(B)). P(A | B) = intersection/P(B) when P(B) > 0.

A worked example

For P(A) = 0.6 and P(B) = 0.4, an unknown relationship allows P(A or B) from 0.6 to 1. If you select independence, the intersection is 0.24, union 0.76, and neither event has probability 0.24. Supplying overlap 0.2 instead gives union 0.8.

A few useful answers

Are independent events the same as mutually exclusive events?

No. Independence means knowing one occurred does not change the other's probability. Mutual exclusivity means they cannot both occur. Two events with positive probabilities cannot be both independent and mutually exclusive.

What does A or B include?

It includes A alone, B alone and both events. Exactly one instead excludes the overlap and equals P(A) + P(B) − 2P(A and B).

Can the tool infer independence from P(A) and P(B)?

No. Those two probabilities do not determine their overlap. Choose independence only when it is justified by your situation, or enter a known intersection.

Back to calculator ↑