What is a probability calculator?
A probability calculator works out how likely combinations of two events are once you know the chance of each one on its own. You enter the probability of event and the probability of event as percentages, and the calculator returns four combined probabilities: both events together, at least one of them, neither of them, and happening while does not.
This tool assumes the two events are independent — the outcome of one has no effect on the outcome of the other. Rolling a die and tossing a coin, or two separate machines each having a fixed failure rate, are classic examples of independent events.
How does the calculator work?
You supply two inputs, each between 0% and 100%:
- P(A) — the probability that event occurs.
- P(B) — the probability that event occurs.
Because the events are independent, the joint probabilities follow directly from multiplication. Working in percentages, every product is divided by 100 to keep the result on a 0–100% scale. The calculator then reports:
- P(A and B) — both events occur.
- P(A or B) — at least one of the two events occurs.
- P(neither A nor B) — neither event occurs.
- P(A but not B) — occurs while does not.
Formula
For two independent events with probabilities and (written as decimals):
When the inputs are entered as percentages, each product term is divided by 100. For example with and in percent.
Worked examples
-
Two fair coins, P(A) = P(B) = 50%. Both heads: . At least one head: . Neither head: . First heads but not the second: .
-
P(A) = 20%, P(B) = 30%. Both: . Either: . Neither: . A but not B: .
Notes
- The four results are related: and always add up to 100%, because “at least one” and “none” are complementary outcomes.
- Independence is the key assumption. If knowing that happened changes the chance of , the events are dependent and you need conditional probability instead — see the Bayes’ theorem calculator.
- To combine the same event over many repeated trials (such as several coin flips in a row), use the coin flip probability calculator, which applies the binomial distribution.
FAQ
Do the probabilities have to add up to 100%? No. and are independent inputs and each can be anything from 0% to 100%. They describe two separate events, not two outcomes of one event.
What does “independent” mean here? Two events are independent when the occurrence of one does not change the probability of the other. Only under independence does hold.
How do I handle mutually exclusive events? If two events cannot both happen, they are not independent, and . This calculator is designed for independent events, so it is not the right tool for mutually exclusive ones.