How to use the Probability Calculator
- Enter the chance of your first event into the Probability of A field as a percentage or decimal.
- Input the likelihood of the second event into the Probability of B field.
- Specify the number of attempts in Repeat A n times (at least once) if modeling repeated trials.
- Review the calculated outputs to examine joint, union, exclusive, and complementary event probabilities.
How it works
The outputs describe the complete sample space for two independent events. 'A and B' shows the joint probability of both events occurring simultaneously, while 'A or B' represents the union where at least one occurs. 'Exactly one' isolates instances where only A or only B happens. 'Neither' reflects the complementary probability that both fail, and the repeated trial output shows the odds of event A happening at least once over n consecutive attempts.
Calculations adhere to standard probability theory formulated under the Kolmogorov axioms. For independent events, the intersection relies on the multiplication rule P(A ∩ B) = P(A) × P(B). The union follows the inclusion-exclusion principle, P(A ∪ B) = P(A) + P(B) − P(A ∩ B), subtracting the overlap to avoid double counting. Repeated independent trials apply the complement rule, 1 − (1 − P(A))ⁿ, determining the chance of at least one success across n trials.
A critical limitation is the strict assumption of event independence, meaning the outcome of event A cannot influence event B. If events are dependent or mutually exclusive, these formulas do not apply directly. For instance, with 50% and 30% odds, both occurring is 15%, either is 65%, and neither is 35%. Always ensure input probabilities are expressed consistently as decimals between 0 and 1 or percentages up to 100%.
Formula
P(A ∪ B) = P(A) + P(B) − P(A)P(B)
Worked example
With 50% and 30%: both 15%, either 65%, neither 35%.
Frequently asked questions
What does it mean for events to be independent?+
Two events are independent when the outcome of one does not alter the probability of the other. For example, rolling a six on a die has no impact on whether a coin toss lands on heads. If one event affects the other, they are dependent.
Why can you not simply add probabilities together?+
Adding probabilities directly counts their overlapping occurrences twice whenever events can happen simultaneously. Simple addition only works for mutually exclusive events that cannot co-occur. For independent events, you must subtract the product of both probabilities using the inclusion-exclusion principle to obtain the true union.
What is the difference between mutually exclusive and independent events?+
Mutually exclusive events cannot happen at the same time, such as drawing a card that is simultaneously a king and an ace. Independent events can happen together without affecting each other's likelihood, such as drawing an ace and rolling an odd number on a die.
How do you calculate the probability of neither event happening?+
To find the chance that neither event occurs, subtract the probability of either event occurring from 1, or multiply their individual failure rates: P(Neither) = (1 − P(A)) × (1 − P(B)). For example, with 50% and 30%, neither happening equals 35%.
How does the repeated trial calculation work?+
Instead of computing every winning combination across multiple trials, it calculates the complementary probability that the event never happens in n tries, (1 − P(A))ⁿ, and subtracts that value from 1. This formula efficiently yields the probability of achieving at least one success.
✓ Written and reviewed by the Calcumia editorial team · Last updated: · How we build and check our calculators
Results are estimates for information only and are not financial, medical or legal advice.