What is a Probability Calculator?
A probability calculator finds the chance that events happen together or apart. For two events it takes P(A), P(B) and how they are related and returns P(A and B), P(A or B), not A, exactly one and neither, with steps. It also handles single events, 3 or more independent events and repeated tries, such as the chance of at least one six in 4 rolls (0.5177).
What the Probability Calculator does
Choose what you want to find. One event divides favourable outcomes by the total and gives the probability as a decimal, a percentage, a fraction and odds. Two events gives the intersection P(A ∩ B), the union P(A ∪ B) from the addition rule, the four regions of the Venn diagram (A only, B only, both, neither), both complements and the conditional probabilities P(A | B) and P(B | A), with a joint probability table whose totals are the marginal probabilities. 3+ events multiplies independent probabilities to get the chance that all, none, at least one or exactly one of them happen. Repeated tries answers “what is the chance it happens at least once in n tries?” and how many tries you need for a 50%, 90% or 95% chance.
People also call this a chance calculator, a likelihood calculator or a probability solver; the rules and the answers are the same. Use it for textbook problems about dice, cards, coins and marbles, and for practical questions such as “what is the chance at least one of two backup systems works?”. If you know the overlap from data, choose I know P(A ∩ B); the calculator then also tells you whether the events are independent.
Some questions have their own calculator. For P(A given B) from a table or counts, use the Conditional Probability Calculator. To turn P(B | A) into P(A | B) with a base rate, use the Bayes’ Theorem Calculator. For exactly k successes in n tries, use the Binomial Distribution Calculator. To count outcomes, such as the number of possible poker hands, use the Combination Calculator or the Permutation Calculator. For the probability that a normally distributed value falls between two numbers, use the Normal Distribution Calculator.
How to use the Probability Calculator
- Pick What do you want to find?: One event, Two events, 3+ events or Repeated tries. For one event, enter the Favourable outcomes and Total outcomes, for example 5 red marbles out of 8.
- For two events, type Probability of A, P(A) and Probability of B, P(B), then choose How are A and B related?: independent, mutually exclusive, or I know P(A ∩ B). With a known overlap, enter Probability of both, P(A ∩ B); the calculator rejects values that are logically impossible.
- For 3 or more events, list the Probability of each event, separated by commas, for example 1/2, 1/6, 0.3. For repeated tries, enter the Probability on each try, p and the Number of tries, n.
- Every probability can be a decimal (0.25), a fraction (1/4) or a percentage (25%). Read the headline results at the top, the other probabilities underneath, and each calculation in the step-by-step solution.
How to calculate a probability
For a single event with equally likely outcomes, the probability is the number of outcomes you want divided by the total number of outcomes. The chance of rolling a 5 on a fair die is 1/6 ≈ 0.1667; the chance of drawing a heart from a 52-card deck is 13/52 = 0.25.
- Define the event. Say exactly what counts as a success, for example “the first marble is red”.
- Count the outcomes. Count the equally likely outcomes in total and the ones that are successes, or take the probability from data or a forecast.
- Divide. P(event) = successes / total. The answer is always between 0 (impossible) and 1 (certain).
- Combine events with the rules. Multiply for “and” when events are independent, add and subtract the overlap for “or”, and subtract from 1 for “not”. The calculator above does every step for you: One event for the division, and the other modes for combining events.
What does a probability of 25% or 70% mean?
A probability of 25% is 0.25 or 1/4: over many repetitions, the event happens about 1 time in 4, and the chance it does not happen is 75%. A probability of 70% is 0.7 or 7/10: about 7 times in 10, with a 30% chance it does not. In odds form, 25% is 1 to 3 in favour and 70% is 7 to 3 in favour.
A single probability does not promise anything about the next try. A 70% chance of rain still leaves a 30% chance of a dry day, and two 70% days in a row (if independent) are both wet only 0.7 × 0.7 = 49% of the time.
Probability formulas
For two events every result follows from the overlap P(A ∩ B) together with P(A) and P(B). For more events and repeated tries, the calculator multiplies independent probabilities and uses the complement rule.
| Symbol | Meaning |
|---|---|
| P(A), P(B) | probabilities of the individual events |
| P(A ∩ B) | probability that A and B both occur (intersection) |
| P(A ∪ B) | probability that A or B or both occur (union) |
| A′ | the complement of A, “A does not occur” |
| P(A | B) | probability of A once you know B occurred |
| p, n | probability of the event on one try, and the number of independent tries |
For mutually exclusive events P(A ∩ B) = 0, so the addition rule reduces to P(A ∪ B) = P(A) + P(B).
A valid overlap always satisfies max(0, P(A) + P(B) − 1) ≤ P(A ∩ B) ≤ min(P(A), P(B)).
For three events that are not independent, the union needs inclusion–exclusion: P(A ∪ B ∪ C) = P(A) + P(B) + P(C) − P(A ∩ B) − P(A ∩ C) − P(B ∩ C) + P(A ∩ B ∩ C).
Probability example: drawing marbles from a bag
Two red marbles, with and without replacement
Problem. A bag holds 5 red and 3 blue marbles. You draw two. Let A = the first marble is red and B = the second marble is red. Find the chance that both are red, that at least one is red, that exactly one is red and that neither is red, first putting the first marble back (with replacement) and then keeping it out (without replacement).
- 01One draw: P(A) = 5 red / 8 marbles = 0.625. Before you look at the first marble, the second is just as likely to be red, so P(B) = 0.625 too.
- 02With replacement the draws are independent: P(A ∩ B) = 5/8 × 5/8 = 25/64 = 0.3906. At least one red: P(A ∪ B) = 0.625 + 0.625 − 0.3906 = 0.8594. Neither red (both blue): 1 − 0.8594 = 0.1406. Exactly one red: 0.8594 − 0.3906 = 0.4688.
- 03Without replacement the second draw depends on the first: P(B | A) = 4 red / 7 marbles left = 4/7, so P(A ∩ B) = 5/8 × 4/7 = 20/56 = 0.3571.
- 04At least one red: P(A ∪ B) = 0.625 + 0.625 − 0.3571 = 0.8929. Neither red: 1 − 0.8929 = 0.1071, which matches 3/8 × 2/7 = 6/56. Exactly one red: 0.8929 − 0.3571 = 0.5357.
- 05In the calculator, load Two red marbles, no replacement: it enters P(A) = 5/8, P(B) = 5/8 and P(A ∩ B) = 20/56 and reports that A and B are dependent.
Answer. Without replacement, both marbles are red with probability 0.3571, at least one is red with probability 0.8929, exactly one with 0.5357 and neither with 0.1071. With replacement the chance of two reds is higher (0.3906), because the red marble goes back into the bag.
Probability of 3 or more events
For independent events, multiply. The chance that a coin lands heads (1/2), a die shows a six (1/6) and it rains (0.3) is 0.5 × 0.1667 × 0.3 = 0.025. The chance that none of them happens is 0.5 × 0.8333 × 0.7 = 0.2917, so the chance that at least one happens is 1 − 0.2917 = 0.7083. Choose 3+ events in the calculator and enter 1/2, 1/6, 0.3 to see these numbers and the chance of exactly 0, 1, 2 or 3 of the events.
If the events are not independent, use conditional probabilities along the chain: P(A ∩ B ∩ C) = P(A) · P(B | A) · P(C | A ∩ B). For three aces in a row from a deck without replacement, that is 4/52 × 3/51 × 2/50 ≈ 0.000181. The Conditional Probability Calculator covers the conditional steps.
| Three independent events | Formula | Coin, die, rain |
|---|---|---|
| All three | P(A) · P(B) · P(C) | 0.0250 |
| None | (1 − P(A)) · (1 − P(B)) · (1 − P(C)) | 0.2917 |
| At least one | 1 − P(none) | 0.7083 |
| Exactly one | sum of each event happening alone | 0.4750 |
Chance of at least one success in n tries
When the same event is tried again and again independently, it is easier to find the chance that it never happens and subtract from 1: P(at least once) = 1 − (1 − p)ⁿ. The chance of at least one six in 4 rolls of a die is 1 − (5/6)⁴ = 1 − 0.4823 = 0.5177, just better than even. This is the bet the Chevalier de Méré made in the 1650s, which started the Pascal–Fermat letters on probability.
Turned around, the same formula tells you how many tries you need. To get at least a 90% chance of rolling a six you need 13 rolls, and for 99% you need 26. Choose Repeated tries in the calculator to get these numbers for any p and n.
Independent vs mutually exclusive events
These two ideas are often confused, but they are close to opposites. Independence is about information: learning that B happened tells you nothing new about A. Mutual exclusivity is about overlap: A and B cannot both happen, so learning that B happened tells you for certain that A did not.
| Independent | Mutually exclusive | |
|---|---|---|
| Meaning | One event does not change the chance of the other | The events cannot occur together |
| P(A ∩ B) | P(A) · P(B) | 0 |
| P(A ∪ B) | P(A) + P(B) − P(A) · P(B) | P(A) + P(B) |
| P(A | B) | P(A) | 0 |
| Example | Heads on a coin and a six on a die | Rolling a 2 and rolling a 5 on one die |
Sources and further reading
The rules used here are the standard axioms and rules of elementary probability, as presented in these references:
- Blitzstein, J. K. and Hwang, J. (2019). Introduction to Probability, 2nd edition. CRC Press. Chapters 1 and 2: the naive definition, the addition rule, inclusion–exclusion and independence.
- Grinstead, C. M. and Snell, J. L. (1997). Introduction to Probability. American Mathematical Society. Chapter 1 discusses de Méré’s dice problem.
- NIST/SEMATECH e-Handbook of Statistical Methods, section 1.3.6, “Probability Distributions”.
Common use cases
- Games of chance: combine dice, card, coin and marble events, for example the chance of drawing a heart or a face card, or of rolling at least one six in four rolls.
- Reliability: a system with two independent backups fails only if both fail, so P(system fails) = P(A fails) × P(B fails). With three or more parts in series, the system works only if all of them work.
- Risk and planning: the chance that at least one of several independent risks (a supplier delay, a weather delay, a staff absence) affects a project.
- Survey and quality data: turn counts of overlapping categories into probabilities and check whether the categories are related, then dig deeper with the Conditional Probability Calculator.
- Games and payouts: for the long-run average of a game or decision with several outcomes, weight each payoff by its probability with the expected value calculator.
Assumptions and limitations
- The results are only as good as the relationship you select. Independence is an assumption that must be justified by how the events arise; if you have data on how often both occur, enter P(A ∩ B) directly.
- The 3+ events and Repeated tries modes assume independent events. For dependent events (such as draws without replacement) multiply conditional probabilities, or for exactly k successes in n draws without replacement use the Hypergeometric Distribution Calculator.
- For exactly k successes in n independent tries, rather than at least one, use the Binomial Distribution Calculator.
- P(A) and P(B) must refer to the same random experiment and sample space; combining probabilities from unrelated studies gives meaningless overlaps.
- To reverse a conditional probability, for example from P(positive | disease) to P(disease | positive), use the Bayes’ Theorem Calculator.
Frequently asked questions
How do I calculate a probability?
What is the difference between P(A and B) and P(A or B)?
How do you calculate the probability of 3 events?
What is the probability of getting 1, 2, 3, 4, 5 and 6 when rolling six dice?
How do I know whether two events are independent?
Can two events be both independent and mutually exclusive?
How do I find the probability that neither event happens?
How is “exactly one” different from “at least one”?
Can I enter fractions or percentages?
Cite this page
Statculator. (2026, November 14). Probability Calculator. Retrieved November 14, 2026, from https://statculator.com/probability/probability-calculator/