Probability Calculator
Calculate the probability of a single event, combine two events with AND/OR, or find a complement probability.
P(A) = Favorable Outcomes ÷ Total Outcomes
Example: rolling a 4 on a standard die — 1 favorable outcome out of 6 total outcomes.
Result
The Basic Probability Formula
Probability measures how likely an event is, on a scale from 0 (impossible) to 1 (certain) — often written as a percentage. For a single event with equally likely outcomes, it's a simple ratio:
Rolling a 4 on a standard six-sided die: there's 1 favorable outcome (the face showing 4) out of 6 total possible outcomes, so P(4) = 1/6 ≈ 16.67%. This only works cleanly when every outcome is equally likely — a loaded die or a biased coin needs a different approach (the actual observed frequency, not a theoretical count).
Combining Two Events: AND vs. OR
Real problems usually involve more than one event, and the two most common questions are "what's the chance BOTH happen" and "what's the chance AT LEAST ONE happens":
- P(A and B), independent events: P(A) × P(B) — e.g. flipping heads twice in a row: 0.5 × 0.5 = 0.25.
- P(A or B), independent events: P(A) + P(B) − P(A and B) — you subtract the overlap so it isn't double-counted.
- P(A or B), mutually exclusive events: just P(A) + P(B) — since the events can't both happen, there's no overlap to subtract (e.g. rolling a 2 or a 5 on one die roll — you can't roll both at once).
Mixing these up is the most common mistake — using the mutually-exclusive OR formula on events that can actually overlap will overstate the probability, since you haven't removed the double-counted overlap.
How to Use This Calculator
- Single Event tab: enter favorable outcomes and total possible outcomes for a straightforward ratio.
- Two Events tab: enter P(A) and P(B) as decimals (0 to 1) — tick "mutually exclusive" if the two events can't both happen.
- Complement tab: enter P(A) to instantly get P(not A) = 1 − P(A).
- For repeated trials with a fixed success probability (coin flips, pass/fail attempts), use the dedicated Binomial Probability Calculator instead — it handles multi-trial scenarios this tool doesn't.
Frequently Asked Questions
How do you calculate probability?
For a single event: favorable outcomes ÷ total possible outcomes, always between 0 and 1. Example: drawing a red card from a 52-card deck = 26/52 = 0.5 (50%).
What's the difference between P(A and B) and P(A or B)?
P(A and B) is both happening (P(A) × P(B) for independent events). P(A or B) is at least one happening (P(A) + P(B) − P(A and B) for independent events, or just P(A) + P(B) if mutually exclusive).
What does 'independent events' mean?
The outcome of one event doesn't affect the other's probability — like separate coin flips. If one outcome changes the other's odds (e.g. drawing cards without replacement), they're dependent instead.
What is a complement in probability?
Everything that happens when event A doesn't. P(A) + P(not A) = 1 always, so P(not A) = 1 − P(A) — often the easier way to solve 'at least one' problems.
Can probability be negative or above 1?
No — always 0 to 1 (0% to 100%). A result outside that range means an input was wrong, not that probability theory allows it.