Probability questions look simple and then quietly trip people up. Should you add the two probabilities or multiply them? What happens when two events can both happen at once? Why does rolling two dice not give a 1-in-11 chance of a seven? This calculator answers those questions with four separate modes, each handling one classic scenario, with the formula shown alongside the result so you learn the pattern instead of just getting a number.
The four modes cover the situations that come up in homework, games, quality checks, and everyday risk questions: a single event, the chance that two independent events both happen, the chance that at least one of two events happens (including events that overlap), and the chance that something does not happen. Results update live as you type, everything runs locally in your browser, and the tool is free with no signup.
Each mode is described below with a worked example using dice, cards, or coin flips — the same examples teachers use, so you can check your homework directly.
Mode 1: Probability of a Single Event
The foundation of everything else. Enter the number of favorable outcomes and the total number of equally likely outcomes, and the tool computes:
P(A) = favorable / total
Rolling a five on a fair die: 1 favorable outcome out of 6 total, so P = 1/6 ≈ 0.1667, or 16.67%. Drawing a heart from a standard 52-card deck: 13 favorable out of 52, so P = 13/52 = 0.25 — exactly 25%. Picking a red marble from a bag with 7 red and 13 blue marbles: 7/20 = 0.35.
Two input rules keep results honest. First, favorable outcomes cannot exceed total outcomes; a probability above 1 is impossible, and the tool flags such input instead of returning nonsense. Second, the formula assumes all outcomes are equally likely — it works for dice, cards, and lottery balls, but not for questions like "probability it rains tomorrow," where the underlying outcomes are not symmetric and you need historical data or a forecast model instead.
Mode 2: AND of Two Independent Events
When two events are independent — one does not affect the other — the chance that both happen is the product of their individual probabilities:
P(A and B) = P(A) × P(B)
Flip two coins and want two heads: 0.5 × 0.5 = 0.25. Roll a die twice and want a six both times: (1/6) × (1/6) = 1/36 ≈ 2.78%. Draw an ace from a deck (4/52 = 0.0769), replace it, reshuffle, and draw an ace again: 0.0769 × 0.0769 ≈ 0.59%. Free throws at 80% and 85%: both go in with probability 0.68.
The independence requirement is not a technicality. Drawing a king and then a queen without replacement are dependent events — the first draw changes the deck — so multiplying 4/52 by 4/52 would be wrong; the correct second-draw probability is 4/51. The multiplication rule is valid exactly when the first event's outcome carries no information about the second. If in doubt, ask yourself: does knowing A happened change the odds of B? If yes, the events are dependent and this mode does not apply.
Mode 3: OR of Two Events (With Overlap)
The chance that at least one of two events happens is the sum of their probabilities, minus the overlap counted twice:
P(A or B) = P(A) + P(B) − P(A and B)
The subtraction exists because outcomes in the overlap get counted in both P(A) and P(B). If you know the overlap, enter it and the tool uses it directly. If you leave the overlap blank, the tool assumes the events are independent and substitutes P(A) × P(B) — a reasonable default that is exactly right for independent events and an approximation otherwise.
Worked example with a known overlap: draw one card from a 52-card deck. P(heart) = 13/52 = 0.25, P(king) = 4/52 ≈ 0.0769, and the overlap is the king of hearts, 1/52 ≈ 0.0192. So P(heart or king) = 0.25 + 0.0769 − 0.0192 ≈ 0.3077, or about 30.77%. You can verify by counting: 13 hearts, 3 other kings, 4 kings total plus 13 gives 16 favorable cards, and 16/52 = 0.3077.
Mutually exclusive events are the special case where the overlap is zero. Rolling an even number or a number greater than 4 on one die cannot happen simultaneously — well, actually 4 and 6 are both even and greater than 4, so that pair does overlap. A cleaner example: rolling a 2 or rolling a 5 on one die. Overlap zero, so P = 1/6 + 1/6 = 1/3. If you entered an overlap larger than the smaller of P(A) and P(B), the tool flags it as impossible, since you cannot have more overlapping outcomes than exist in either event alone.
Mode 4: Complement — the Chance Something Does Not Happen
The complement rule is the most useful shortcut in probability:
P(not A) = 1 − P(A)
The chance of not rolling a six is 1 − 1/6 ≈ 0.8333. The chance a 95%-reliable component fails is 1 − 0.95 = 0.05. It looks trivial, but it powers the "at least one" technique: the probability of at least one success in several tries equals 1 minus the probability of all failures. Four coin flips with at least one head: 1 − (0.5)⁴ = 1 − 0.0625 = 0.9375, or 93.75% — far easier than adding up the cases for one, two, three, and four heads. Rolling at least one six in four rolls of a die: 1 − (5/6)⁴ ≈ 1 − 0.4823 = 0.5177, which is why a bet on "at least one six in four rolls" slightly favors the roller.
Input constraint: P(A) must be between 0 and 1. If you have favorable/total counts, compute the fraction in Mode 1 first, then feed the decimal here.
How to Use This Calculator (Step by Step)
- Identify which question you are actually asking: "how likely is this one thing?", "do both happen?", "does at least one happen?", or "does it not happen?" That decides the mode.
- Single event: enter favorable and total counts — for example 13 and 52 for a heart.
- AND mode: enter P(A) and P(B) as decimals or percentages, after confirming the events are independent.
- OR mode: enter P(A) and P(B); enter the overlap if the events interact, or leave it blank to let the tool assume independence.
- Complement: enter P(A) and read 1 − P(A), remembering you can chain it for "at least one" problems.
- Compare results across modes to sanity-check: for any two events, P(A or B) is always at least as large as P(A) and P(B) individually, and P(A and B) is never larger than either one.
Common Use Cases
- Board games and card games. Needing a four to land on a safe square: 4 favorable faces out of 6, P ≈ 66.67%. Drawing at least one spade in two cards with replacement: 1 − (0.75)² = 43.75%.
- Homework checking. The dice example of rolling a sum of 7 with two dice has 6 favorable combinations out of 36, so P = 6/36 = 1/6 — the single-event mode handles it once you count combinations.
- Quality and reliability. Two independent machines each running 97% of the time: both up simultaneously is 0.9409, and at least one up is 1 − (0.03)² = 99.91%.
- Marketing and sales. A prospect replying to email (30%) and a follow-up call reaching them (40%), independent: both happen 12% of the time; at least one channel lands is 58% with no overlap assumed.
- Everyday risk framing. A 2% chance of a delay each way on a two-flight trip: at least one delay is 1 − (0.98)² = 3.96% — nearly double the single-leg figure, which is why people underestimate round-trip risk.
Tips and Best Practices
- Convert everything to one format first. Mix "1 in 6" with "25%" and mistakes multiply. This tool accepts decimals and percentages, but the mental model is easiest in decimals.
- Test independence explicitly. Replacement makes draws independent; no replacement makes them dependent. Weather on two consecutive days, two components sharing a power supply, two conversions measured in the same session — all dependent.
- Watch for overlap in OR questions. The most common probability error in surveys and reports is adding P(A) + P(B) and ignoring the double-counted overlap, inflating the answer.
- Use complements for "at least one." Direct enumeration is error-prone; 1 minus all-failures is almost always cleaner.
- Probabilities never leave the 0–1 range. If an output does, an input is wrong — negative counts, overlap exceeding an event's size, or a percentage typed as 95 instead of 0.95.
- Equal likelihood is an assumption, not a fact. This tool's math is exact for dice, cards, and coins; real-world frequencies (weather, machinery, human behavior) need empirical data instead.
Probability vs. Odds
Probability and odds are different scales for the same idea, and mixing them up distorts conclusions. Probability is favorable divided by total; odds are favorable divided by unfavorable. A 20% probability corresponds to odds of 1 to 4, not "1 in 4" as a probability (which would be 25%). Bookmakers quote odds, scientists quote probabilities, and this calculator works throughout in probabilities — so a "1 in 5" chance from a news article means a probability of 0.20 to enter, not odds of 0.20. Getting this conversion backwards turns a 20% event into a 25% event in your head, which matters when you compound it across several trials.