About the Probability Calculator
Probability questions in exams, games and everyday risks usually come down to a few rules. This probability calculator combines two independent events, converts between probability and odds and works out repeated trials: two coins both landing heads has a probability of 0.25, while the chance of at least one six in four dice rolls is about 51.8 percent. Each result shows its formula.
For independent events, the multiplication rule gives P(A and B) = P(A) × P(B), and the addition rule gives P(A or B) = P(A) + P(B) − P(A and B), subtracting the overlap so it is not counted twice. The complement rule says P(not A) = 1 − P(A). For repeated trials with the same success probability p, the binomial formula P(X = k) = C(n, k) pᵏ (1 − p)ⁿ⁻ᵏ counts the ways to get k successes, and adding these terms gives at least or at most k.
Example: with P(A) = 0.5 and P(B) = 0.4, both happen with probability 0.2, at least one with 0.7, neither with 0.3 and exactly one with 0.5. Rolling a die, 2 favorable outcomes out of 6 give a probability of 1/3, odds of 1 to 2 in favor. Tossing a fair coin 10 times, exactly 3 heads has probability 0.117188 and at least 3 heads 0.945313.
Probabilities can be entered as decimals such as 0.25 or as percentages such as 25%. For full binomial tables use the binomial distribution calculator, for counting arrangements the permutation and combination calculator, and for random draws the random number generator.
How to use the Probability Calculator
- Choose a questionTwo events, outcomes, or successes in repeated trials.
- Enter the probabilities or countsType decimals like 0.4 or percentages like 40%.
- Set trials if neededFor repeated trials, enter n, the success chance and k.
- Read the answerSee every combined probability, as decimals and percentages.
Probability Calculator features
- P(A and B), P(A or B) and P(not A)
- Neither and exactly one of two events
- Probability and odds from outcomes
- Exactly, at least and at most k successes
- Accepts decimals or percentages
- Exact binomial calculation for large n
- Formulas shown
Common uses
- Probability homework
- Games of chance with dice, cards and coins
- Risk of at least one failure in several tries
- Quality checks and defect rates
- Sports and betting odds questions
Probability in everyday life: forecasts, medical tests, birthdays and the gambler's fallacy
Probability measures how likely something is, on a scale from 0, impossible, to 1, certain. It shapes weather forecasts, medical decisions, insurance, games and many everyday judgements, and our intuition about it is often surprisingly wrong. This guide explains what a forecast's percentage means, why a positive medical test can still mean a disease is unlikely, the famous birthday problem and why past results do not change the next coin toss.
What "70% chance of rain" means
A forecast of a 70% chance of rain means that, in similar weather situations, rain falls at the location on about 7 days out of 10. It does not mean it will rain for 70% of the day or over 70% of the area. A forecaster whose 70% days are followed by rain about 70% of the time is well calibrated, which is what good forecasting aims for.
A worked example: a positive test result
A disease affects 1% of a population. A test detects it in 95% of people who have it and gives a false positive in 5% of people who do not. If someone tests positive, what is the chance they actually have the disease? Out of 10,000 people, about 100 have the disease and 95 of them test positive. Of the 9,900 without it, about 495 test positive. So of the 590 positive results, only 95 are true: about 16%.
This surprising result, known as the base rate effect, explains why doctors often confirm positive screening tests with further tests. It is general information about probability, not medical advice about any particular test.
The birthday problem
How many people must be in a room for a better than even chance that two share a birthday? The answer is just 23, giving a probability of about 50.7%. With 50 people, the chance rises to about 97%. The result surprises people because they think about matching their own birthday, while the question asks about any pair, and 23 people form 253 different pairs.
The gambler's fallacy
After a coin lands heads five times in a row, many people feel tails is "due". But a fair coin has no memory: the chance of tails on the next toss is still one half. The same fallacy appears in lotteries, where some players avoid numbers that came up recently. Each draw is independent, so past results do not change future chances.
Independent and dependent events
Events are independent when one does not affect the other, like two coin tosses. They are dependent when one changes the chances of the other, like drawing two cards without replacing the first. For dependent events, multiply the probability of the first by the probability of the second given that the first happened. Mixing up the two cases is a common source of errors.
At least one success
The chance of at least one success in several attempts is easiest to find through the complement: one minus the chance of no successes. If each attempt succeeds with probability 0.2, the chance of at least one success in 5 attempts is 1 − 0.8⁵, about 67%. This method avoids adding up many separate cases.
Probability and odds
Probability compares favourable outcomes with all outcomes, while odds compare favourable with unfavourable outcomes. A probability of 1/4 corresponds to odds of 1 to 3. Betting markets quote odds in various formats, and converting between odds and probability makes it easier to judge whether a stated chance is realistic.
Common mistakes
- Ignoring base rates when interpreting test results.
- Believing past random outcomes affect future independent ones.
- Adding probabilities of events that can happen together.
- Treating dependent events as independent.
Related tools
For selections and arrangements, use Permutation and Combination Calculator. For repeated trials, try Binomial Distribution Calculator, and for averages of outcomes, Expected Value Calculator.
Probability trees
A probability tree draws each stage of an experiment as branches, with the probability written on each branch. Multiplying along a path gives the probability of that sequence of outcomes, and adding the paths that lead to an event gives its total probability. Trees make multi-step problems, such as drawing two marbles from a bag, much easier to follow and check than formulas alone.
Fair and unfair games
Probability combined with payouts gives the expected value of a game: the average amount won or lost per play over the long run. A game where you pay Rs 100 to roll a die and win Rs 500 for a six has an expected value of 500 × 1/6 − 100, about −17 rupees per play. Lotteries and casino games are designed to have negative expected values for players, which is how the operator makes money over time.
Conditional probability in plain language
Many everyday questions are conditional: what is the chance of a delay given that it is raining, or the chance a customer buys again given that they bought last month? The probability of A given B is the probability of both divided by the probability of B. Noticing the words "given", "if" or "among those who" in a question signals that a conditional probability is needed, not a simple one.
Limits
Calculations are exact for the probabilities entered; results depend on those inputs describing the real situation accurately.
Frequently asked questions
How do I calculate the probability of two events both happening?
If they are independent, multiply: P(A and B) = P(A) × P(B). The chance of two heads in two coin tosses is 0.5 × 0.5 = 0.25. For dependent events, use P(A) × P(B given A).
How do I calculate the probability of A or B?
Add the two probabilities and subtract the chance of both: P(A or B) = P(A) + P(B) − P(A and B). For mutually exclusive events, which cannot happen together, it is simply P(A) + P(B).
What is the probability of at least one success?
One minus the probability of no successes: 1 − (1 − p)ⁿ. With a 10% chance per try, the chance of at least one success in 10 tries is 1 − 0.9¹⁰ ≈ 65.1%.
What is the difference between probability and odds?
Probability compares favorable outcomes with all outcomes; odds compare favorable with unfavorable ones. A probability of 1/3 equals odds of 1 to 2 in favor, or 2 to 1 against.
What are independent events?
Events where one happening does not change the chance of the other, such as separate coin tosses or dice rolls. Drawing cards without putting them back is not independent.
How do I find the probability of exactly k successes?
Use the binomial formula P(X = k) = C(n, k) pᵏ(1 − p)ⁿ⁻ᵏ. For 3 heads in 10 fair tosses, C(10, 3) = 120, so P = 120 ÷ 1,024 ≈ 0.117.
Can a probability be more than 1?
No. Probabilities run from 0 to 1, or 0% to 100%. A result above 1 means events were added that overlap, or a frequency was confused with a probability.