Probability Calculator
Calculate P(A), P(A∩B), P(A∪B), P(A|B)
Probability Calculator tool
Results
P(A) = = — = —
Odds in Favor
Odds Against
Step-by-step:
- 1.Total outcomes: 52
- 2.Favorable outcomes (A): 13
- 3.P(A) = 13/52
- 4.Simplify:
- 5.Decimal: 0
- 6.Percentage: 0%
Probability Calculator: key facts
- What it does
- Calculate P(A), P(A∩B), P(A∪B), P(A|B)
- Category
- Math Calculators
- Cost
- Free, with no account, sign-up, or install.
- Your data
- Runs entirely in your browser — the files and text you enter are never uploaded to a server.
- Last reviewed
- . Report an incorrect result.
What this tool is for
Probability turns uncertainty into a number between 0 and 1, and the way you combine events changes the math entirely. This calculator handles the four core cases: a single event, two events both happening, either event happening, and one event given another.
Students working through statistics problems use it to check answers; anyone reasoning about chance — dice, cards, risk — uses it to get the math right. It expresses each result as a decimal, a simplified fraction, and a percentage, and for single events it also gives the odds for and against, the format gamblers and bookmakers use.
How to use the Probability Calculator
- Choose the calculation type: P(A), P(A and B), P(A or B), or P(A given B).
- Enter the total number of possible outcomes.
- Enter the favorable outcomes for event A, and for event B if your calculation needs it.
- Read the probability as a decimal, fraction, and percentage — plus the odds for single events — with the steps shown.
Favourable outcomes over total outcomes
For equally likely outcomes, probability is the count of favourable cases divided by the total. The tool reports that as a decimal, a percentage, and a simplified fraction, since different contexts conventionally use different forms.
It also converts to odds, which express the same information as a comparison rather than a proportion. Odds in favour are favourable cases against unfavourable ones — not against the total — which is the distinction that makes betting odds confusing at first. A probability of one in four is odds of one to three, not one to four.
Both fraction and odds are reduced by their greatest common divisor, so the output is in lowest terms.
- The defaults — 13 favourable from 52 total, a suit from a deck — give 0.25, or 25%, or 1/4.
- The corresponding odds in favour are 13:39, reducing to 1:3.
- Drawing a specific card is 1/52, about 1.92%, at odds of 1:51.
What the Probability Calculator gets right
- It covers four probability types — single, intersection, union, and conditional — rather than only the basic single-event case.
- It expresses each answer three ways (decimal, simplified fraction, percentage) and adds odds for and against on single events.
- It shows the intermediate steps, so combined probabilities are easy to follow and learn from.
- It runs in your browser instantly, with no account.
Independence, and the mistakes people make
The basic combination rules are worth knowing. For independent events both occurring, multiply their probabilities. For mutually exclusive events, either occurring, add them. Where events can overlap, adding alone double-counts the overlap and it must be subtracted back out. And the probability that something does not happen is one minus the probability that it does — often the easier route to an answer.
Two errors recur. The gambler's fallacy treats independent events as though they have memory: a coin that has landed heads five times is no more likely to land tails next, because the coin does not know. And the conjunction fallacy leads people to rate a detailed, plausible scenario as more likely than a broader one that contains it, when adding conditions can only ever reduce probability.
The equally-likely assumption underneath this calculation is also worth checking. It holds for fair dice, shuffled cards, and balanced coins, and fails for almost anything in the real world — weather, illness, sporting results — where probabilities must be estimated from data rather than counted from a sample space.
Frequently Asked Questions
What is the difference between P(A and B) and P(A or B)?
P(A and B), the intersection, is the chance both events occur. P(A or B), the union, is the chance at least one occurs, and it subtracts the overlap to avoid double-counting. The calculator handles each with the correct formula.
What is conditional probability?
Conditional probability, written P(A given B), is the chance of A occurring when B is already known to have occurred. It is found by dividing the probability of both by the probability of B, which this calculator does for you.
How are probability and odds different?
Probability compares favorable outcomes to all outcomes (say 1 in 4, or 0.25). Odds compare favorable to unfavorable outcomes (1 to 3). The calculator shows both for single events so you can switch between the two conventions.
Can a probability be greater than 1?
No. A probability always falls between 0 (impossible) and 1 (certain), and equivalently between 0% and 100%. If a calculation seems to exceed 1, the favorable outcomes have been set higher than the total — check those two inputs.