← All tools/Calculators/Math/Probability Calculator

Probability Calculator

Work out the chances for two independent events: both, at least one, exactly one, or neither.

P(A and B) — both events happen

0.2

P(at least one) 0.7 · P(exactly one) 0.5 · P(neither) 0.3

P(both)
0.2
P(exactly one)
0.5
P(neither)
0.3
Breakdown
P(A and B) — both happen0.2
P(A or B) — at least one happens0.7
P(exactly one)0.5
P(neither)0.3
P(not A)0.5
P(not B)0.6

How it works

P(A and B) = P(A) × P(B)
P(A or B) = P(A) + P(B) − P(A and B)
P(exactly one) = P(A) × (1 − P(B)) + (1 − P(A)) × P(B)
P(neither) = (1 − P(A)) × (1 − P(B))
P(not A) = 1 − P(A), P(not B) = 1 − P(B)

With P(A) = 0.5 and P(B) = 0.4: P(both) = 0.5 × 0.4 = 0.2; P(at least one) = 0.5 + 0.4 − 0.2 = 0.7; P(exactly one) = 0.5 × 0.6 + 0.5 × 0.4 = 0.5; P(neither) = 0.5 × 0.6 = 0.3; P(not A) = 0.5 and P(not B) = 0.6. With P(A) = 0.25 and P(B) = 0.8, P(both) is 0.2, P(at least one) is 0.85, P(neither) is 0.15 and P(exactly one) is 0.65.

Frequently asked questions

What does P(A and B) mean?

The probability that both independent events happen. Multiply the two probabilities: with P(A) = 0.5 and P(B) = 0.4, P(both) = 0.5 × 0.4 = 0.2.

What is the chance that at least one happens?

Add the two probabilities and subtract the chance of both, so events counted twice are only counted once: 0.5 + 0.4 − 0.2 = 0.7.

What is the chance that exactly one happens?

Add the chance that A happens and B does not to the chance that B happens and A does not: 0.5 × 0.6 + 0.5 × 0.4 = 0.5.

What does independent mean here?

That one event happening does not change the chance of the other. The formulas on this page only hold for independent events; if A changes the chance of B, the answers will differ.

More tools

Tell us what you think

Loving this tool, or stuck on something? Tell us — it takes a minute.

We’ll only use your name and email to reply if needed. The tool and page are filled in for you.