How this probability calculator works
This calculator has three modes: complement, two events, and conditional. Enter probabilities as decimals between 0 and 1 inclusive. The default is Complement. The headline is the complement as a percent, or P(A∪B), or P(A
Empty on a required field is no result. Typed 0 and 1 are valid probabilities. In Two events mode, invalid combinations — an intersection larger than either event, or a union greater than 1 — are no result. In Conditional mode, P(B) must be greater than 0. Advanced options is GPA-style: Show odds and Show reverse conditional P(B
How to use the probability calculator
- Choose Complement (default), Two events, or Conditional.
- Enter every required probability as a decimal from 0 through 1. Empty is no result.
- In Two events, pick Independent (default), Mutually exclusive, or Custom intersection. Custom also needs P(A ∩ B).
- Open Advanced options only for odds (Complement) or reverse P(B
Advanced options, and closing them
A) are unused even if they stay checked. In Complement, open and checked shows odds for A = P(A) ÷ P(A') when the complement is greater than 0 (so P(A) = 1 has no odds row). In Conditional, open, checked, and a typed P(A) greater than 0 shows P(B
Probability formulas
B) = P(A ∩ B) ÷ P(B), and the widget gets the intersection from P(A
Worked examples
Example: P(A) = 0.25, complement
P(A') = 1 − 0.25 = 0.75, shown as 75.00% in the headline. Typed 0 is valid: the complement is 1. Typed 1 is valid: the complement is 0, and odds are omitted because P(A') is 0. With Advanced options open and Show odds checked, odds for A = 0.25 ÷ 0.75 ≈ 0.333333.
Example: P(A) = 0.5, P(B) = 0.4, independent
P(A ∩ B) = 0.5 × 0.4 = 0.2. P(A ∪ B) = 0.5 + 0.4 − 0.2 = 0.7. Mutually exclusive would set the intersection to 0 and the union to 0.9. Mutually exclusive 0.6 and 0.5 would make the union 1.1, which is no result.
Example: P(A
B) = 60.00%. P(B) of 0 is no result. With Advanced options open, Show reverse conditional P(B
Things to keep in mind
Inputs are decimals from 0 through 1, not percents. Independent is the default two-event relation. Custom intersection must not exceed either event, and the union must not exceed 1. Closing Advanced options hides odds and reverse conditional without clearing typed values.
Probability calculator FAQ
Which fields are required?
Complement needs P(A). Two events needs P(A) and P(B); Custom intersection also needs P(A ∩ B). Conditional needs P(A
What happens when I close Advanced options?
A) are unused even if their checkboxes stay checked — the same GPA contract as other calculators on this site. The headline still shows the complement, union, or P(A
Why is there no result for some two-event combinations?
The intersection cannot be larger than either event. The union must sit between the larger of P(A) and P(B) and 1. Mutually exclusive events whose probabilities already add to more than 1 are invalid. Custom intersection that is empty is no result.
Do I enter percents or decimals?
Decimals between 0 and 1. Enter 0.25 for 25%. Results are shown as both a decimal and a percent.
What does Show odds mean?
Only in Complement, and only while Advanced options is open and Show odds is checked. Odds for A are P(A) ÷ P(A'). They are omitted when the complement is 0. Two events has no Advanced extras.
Does this probability calculator store my numbers?
Completed results can be saved in this browser’s local history so you can reopen them later. They stay on your device and are not sent to our servers or to analytics.