Español
  1. Home
  2. Statistics
  3. Probability calculator

Probability calculator

Type the probability of two independent events, A and B, to see every combination: both, either, only one, neither.

Your favorites show up first on the home page and under the star at the top (on this browser).

Probability calculator

As a number from 0 to 1 (0.5) or a percentage (50%).

EventFormulaProbability%

The formulas

Two events are independent when one happening doesn't change the probability of the other, like two coin tosses. Then:

  • Both: P(A ∩ B) = P(A) × P(B).
  • At least one: P(A ∪ B) = P(A) + P(B) − P(A ∩ B).
  • Neither: (1 − P(A)) × (1 − P(B)).
  • Not A: 1 − P(A).

An example

With P(A) = 0.5 and P(B) = 0.2: both, 0.1; at least one, 0.6; exactly one, 0.5; neither, 0.4.

When it doesn't apply

If the events depend on each other (drawing two cards without putting the first back), P(A ∩ B) is P(A) × P(B | A), not P(A) × P(B), and these results don't apply.

Frequently asked questions

What does independent mean?

That knowing one happened doesn't change the probability of the other.

What's the difference between “or” and “exactly one”?

“A or B” includes the case where both happen; “exactly one” leaves it out.

Can I type percentages?

Yes: 50% and 0.5 mean the same.

Other tools you may need