Skip to content
FiftyCalc Free calculators for all 50 states

Probability Calculator

Test cases replayed : 3 of 3 match · Methodology · No outside source listed

Enter the probability of two independent events, as numbers between 0 and 1, to combine them.

Result

Sample figures

P(A and B), both happen—

P(A or B), at least one happens —

  • P(exactly one of A, B)—
  • P(neither A nor B)—
  • P(not A)—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Probability Calculator

Probability of event A, P(A) (0 to 1): enter a number from 0 to 1. Prefilled example: 0.5.

Probability of event B, P(B) (0 to 1): enter a number from 0 to 1. Prefilled example: 0.4.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Probability of event A, P(A) (0 to 1): enter a number from 0 to 1.
  2. Probability of event B, P(B) (0 to 1): enter a number from 0 to 1.
  3. Read the result: P(A and B), both happen; the panel also shows P(A or B), at least one happens, P(exactly one of A, B), P(neither A nor B) and P(not A).

How this calculator works

For independent events: P(A and B) = P(A) × P(B); P(A or B) = P(A) + P(B) − P(A) × P(B) (addition rule); P(not A) = 1 − P(A); P(neither) = (1 − P(A)) × (1 − P(B)); P(exactly one) = P(A) + P(B) − 2 × P(A) × P(B).

Events are independent when one happening does not change the chance of the other, such as two separate coin flips. For dependent events, use conditional probability instead.

The formula

  1. And=pa×pb
Symbols used in the formula
SymbolMeaning
paProbability of event A, P(A) (0 to 1)
pbProbability of event B, P(B) (0 to 1)
AndP(A and B), both happen

Worked example

Probability of event A, P(A) (0 to 1)0.5
Probability of event B, P(B) (0 to 1)0.4
P(A or B), at least one happens0.7
P(exactly one of A, B)0.5
P(neither A nor B)0.3
P(not A)0.5
  1. And=0.5×0.4=0.2

P(A and B), both happen 0.2

Each step uses the unrounded value of the step before it; figures on this page are rounded for display.

Frequently asked questions

What is the probability of rolling two sixes with two dice?

Each die gives 1/6, so P = 1/6 × 1/6 = 1/36, about 0.0278.

How do you turn a percentage into a probability?

Divide by 100: 40% is a probability of 0.4.

Questions answered

Related calculators