Probability Calculator
Enter the probabilities of two independent events (as decimals or percentages) to get every combination.
P(A and B)0.15
P(A or B)0.65
P(neither)0.35
| P(A and B) = P(A) × P(B) | 0.15 |
|---|---|
| P(A or B) = P(A) + P(B) − P(A and B) | 0.65 |
| P(not A) = 1 − P(A) | 0.5 |
| P(not B) = 1 − P(B) | 0.7 |
| P(exactly one of A, B) | 0.5 |
| P(neither A nor B) | 0.35 |
| P(A but not B) | 0.35 |
Step by step
- For independent events, multiply: P(A and B) = 0.5 × 0.3 = 0.15
- Addition rule: P(A or B) = 0.5 + 0.3 − 0.15 = 0.65
At least once in n tries
At least once0.5177
Never0.4823
Every time0.0007716
Step by step
- P(never) = (1 − p)n = 0.8333334 = 0.4823
- P(at least once) = 1 − P(never) = 0.5177
Conditional probability P(A | B)
P(A | B)0.3
Step by step
- P(A | B) = P(A and B) ÷ P(B) = 0.12 ÷ 0.4 = 0.3
Probability rules
- And (independent): P(A and B) = P(A) × P(B)
- Or: P(A or B) = P(A) + P(B) − P(A and B)
- Not: P(not A) = 1 − P(A)
Independent means one event does not change the chance of the other, like two coin flips or two dice.
Example
A coin lands heads (0.5) and a die shows a 6 (1/6 ≈ 0.1667): P(both) = 0.0833, P(at least one) = 0.5833. For “exactly k successes in n tries” use the binomial calculator.
Frequently asked questions
How do you find the probability of A and B?
For independent events, multiply the probabilities.
How do you find the probability of A or B?
Add them and subtract the probability of both.
Can I enter percentages?
Yes — type 30%, 0.3 or a fraction like 3/10.
What is the probability of rolling a 6 at least once in 4 rolls?
1 − (5/6)⁴ ≈ 0.5177.
What does mutually exclusive mean?
The events can't happen at the same time, so P(A and B) = 0 and P(A or B) = P(A) + P(B).
Last reviewed November 2026. Results are rounded to 4 decimal places; all math runs in your browser.