Free online formula calculators

Probability Calculator

Enter the probabilities of two independent events A and B to find the chance that both, either, exactly one, or neither of them occurs.

Probability Calculator
Result
P(A and B)0.1800
P(A or B)0.7200
P(exactly one)0.5400
P(neither)0.2800
P(not A)0.4000
P(not B)0.7000

Link to this calculation

Formula

P(A and B) = P(A) × P(B)
P(A or B) = P(A) + P(B) − P(A) × P(B)
P(not A) = 1 − P(A)
P(neither) = (1 − P(A)) × (1 − P(B))
SymbolMeaning
P(A), P(B)Probability of each event, between 0 and 1
andBoth events occur
orAt least one event occurs

How to Use This Calculator

  1. Enter the Probability of A, P(A). A number from 0 to 1 (e.g. 0.6 for 60%).
  2. Enter the Probability of B, P(B).
  3. Press Calculate. Results also update automatically as you type.

Worked Example

Using the values pre-filled in the calculator above:

Inputs
Probability of A, P(A)0.6
Probability of B, P(B)0.3
Results
P(A and B)0.1800
P(A or B)0.7200
P(exactly one)0.5400
P(neither)0.2800
P(not A)0.4000
P(not B)0.7000

About This Calculation

Probability expresses how likely an event is on a scale from 0 (impossible) to 1 (certain). This calculator combines two events that are independent, meaning the outcome of one has no effect on the other, such as rolling a die and flipping a coin, or two machines failing on unrelated circuits.

For independent events, the chance that both happen is the product of their probabilities. The chance that at least one happens is the sum minus the overlap, because simply adding P(A) and P(B) would count the "both" case twice. The complement rule, P(not A) = 1 − P(A), is often the easiest route: the probability of at least one six in four rolls of a die is 1 − (5/6)4 ≈ 0.518.

The biggest pitfall is assuming independence when it does not hold. The chance of rain on Tuesday and rain on Wednesday are linked, and drawing two cards without replacement changes the deck for the second draw. For dependent events you need the conditional probability P(B | A) in place of P(B). To convert a probability to a percentage, multiply by 100; to express it as odds against, divide (1 − p) by p.

Frequently Asked Questions

What does independent mean in probability?
Two events are independent when knowing that one happened does not change the probability of the other. Coin flips are independent; drawing cards without putting them back is not.
What is the difference between "or" and "exactly one"?
"A or B" includes the case where both happen. "Exactly one" excludes it, so it equals P(A or B) − P(A and B).
How do I find the probability of several successes in repeated trials?
Use the binomial probability calculator, which handles k successes in n independent trials.

Category: Statistics & Probability. Found a problem with this calculator? Let us know.