What each probability tool answers
Probability questions fall into a few types, and the tool titles tell them apart. Basic rules are covered by the Equally Likely Outcomes Probability Calculator, Complement Probability Calculator, Event Union Probability Calculator, Joint Probability Calculator, Independent Events Calculator and Conditional Probability Calculator. Updating beliefs from evidence is the job of the Bayes Theorem Calculator. Converting between ways of writing chance is covered by the Probability Odds Calculator and Probability to Odds Converter. Counting-based distributions have the Binomial Probability Calculator, Coin Flip Probability Calculator, Hypergeometric Calculator, Negative Binomial Calculator, Geometric Distribution Calculator, Poisson Calculator and Poisson Zero Events Probability Calculator. Continuous models are the Normal Probability Density Calculator, Exponential Distribution Calculator and Continuous Uniform Distribution Calculator, and the Card Probability Calculator handles deck questions. Start by deciding which of these families your problem belongs to.
Equally likely outcomes and complements
When outcomes are equally likely, probability is favorable outcomes divided by total outcomes. A fair six-sided die shows an even number with probability 3 over 6, which is 0.5. The Equally Likely Outcomes Probability Calculator does this division. The assumption is the whole matter: a loaded die or a biased sample breaks it. The Complement Probability Calculator uses the fact that the probability of something not happening is one minus the probability that it does. The chance of at least one six in four rolls is easier as one minus the chance of no sixes, 1 minus (5/6) to the fourth, which is about 0.518. Whenever a question says at least one, the complement is usually the shortest route. Probabilities lie between 0 and 1, so a result outside that range signals an error in the setup.
Unions, joint events and independence
For two events, the probability that either happens is the sum of the separate probabilities minus the probability of both, so P(A or B) equals P(A) plus P(B) minus P(A and B). The Event Union Probability Calculator applies this. Without the subtraction, overlap is counted twice, and the sum can exceed 1. The Joint Probability Calculator and Independent Events Calculator concern both happening. If events are independent, P(A and B) equals P(A) times P(B), so two fair coins both land heads with probability 0.25. Independence is a claim about the situation, not a default. Drawing two cards from a deck without replacement gives dependent events, since the first draw changes the second. Multiplying the marginal probabilities in such cases gives a wrong result, and the conditional form is the correct one.
Conditional probability and Bayes theorem
Conditional probability asks how likely A is given that B has happened, written P(A given B), equal to P(A and B) divided by P(B). The Conditional Probability Calculator performs this division. The Bayes Theorem Calculator reverses the conditioning. Suppose a condition affects 1 percent of people, a test detects it 95 percent of the time, and it gives a false positive for 5 percent of healthy people. Among 10,000 people, 100 have the condition and 95 test positive, while 9,900 are healthy and 495 test positive falsely. The chance that a positive result means the condition is 95 divided by 590, which is about 16.1 percent. The surprise comes from the low base rate. Entering the prior probability correctly matters most, and confusing sensitivity with the probability of having the condition given a positive result is a classic error. These numbers are illustrative.
Odds and probability
Odds and probability describe the same chance in different ways. Probability is favorable over total. Odds in favor are favorable over unfavorable. A probability of 0.25 corresponds to odds of 1 to 3, because 1 outcome favors the event and 3 do not. The Probability Odds Calculator takes favorable and unfavorable counts and returns the probability, a divided by (a plus b) for odds a to b. The Probability to Odds Converter starts from a probability p and returns p against 1 minus p, so 0.25 becomes 0.25 to 0.75, which is 1 to 3. Betting markets quote odds in several formats, including fractional, decimal and American, and the conversion to implied probability differs for each. Decimal odds of 4.00 imply a probability of 25 percent before any bookmaker margin. Because the quoted prices of all outcomes usually sum to more than 100 percent, the implied probabilities need adjustment before you read them as chances. The tools convert numbers and do not judge whether a price is fair.
Counting-based distributions
The Binomial Probability Calculator gives the chance of exactly k successes in n independent trials with success probability p, equal to the number of combinations times p to the k times (1 minus p) to the n minus k. The Coin Flip Probability Calculator takes a number of flips, a number of heads and a heads probability that defaults to 0.5: exactly 5 heads in 10 flips has probability 252 divided by 1,024, or about 24.6 percent. The Geometric Distribution Calculator gives the chance that the first success occurs on trial k. Rolling a six for the first time on the third roll is (5/6) squared times 1/6, which is 25 over 216, or about 11.6 percent. The Negative Binomial Calculator extends this to the trial of the rth success. The Hypergeometric Calculator handles sampling without replacement. Choose it, rather than the binomial, when the population is small and draws change the odds.
Poisson models for counts of rare events
The Poisson Calculator models the number of events in a fixed interval when events occur independently at a constant average rate lambda. With a mean of 3 events per hour, the chance of exactly 2 events is 3 squared times e to the minus 3, divided by 2, which is about 0.224. The Poisson Zero Events Probability Calculator handles the special case of none: e to the minus lambda, so e to the minus 3 is about 0.0498, or 5 percent. Poisson fits arrivals, defects and rare incidents when the rate is steady. It fits poorly if events cluster or if the rate changes through the day. The mean and variance are both lambda, which gives a check on data: if the variance of counts is much larger than the mean, a Poisson model understates variability.
Continuous distributions and density
For continuous variables, the probability of any exact value is zero, and probability comes from areas under a density curve. The Normal Probability Density Calculator gives the height of the bell curve, which for a standard normal at the mean is 1 divided by the square root of 2 pi, about 0.3989. The Continuous Uniform Distribution Calculator describes a variable equally likely anywhere in an interval, so on an interval of length 0.5 the density is 2. A density can exceed 1 without any problem, since it is not a probability. The Exponential Distribution Calculator takes a rate and a value x and returns the density, the cumulative probability and the survival probability. For waiting times with rate lambda, the chance of waiting no longer than t is 1 minus e to the minus lambda t. With a rate of 0.5 per minute, the chance of waiting under 2 minutes is 1 minus e to the minus 1, about 63.2 percent. Check whether a page reports a density, a cumulative probability or an interval probability.
Cards and finite populations
The Card Probability Calculator takes a deck size, the number of cards that count as successes, the number of draws and the number of successes wanted, so a standard 52-card deck with 4 aces is one setting. The chance of exactly 2 aces in a 5-card hand uses combinations: choose 2 of 4 aces, 3 of the other 48 cards, divided by all 5-card hands. That is 6 times 17,296 divided by 2,598,960, which is about 0.0399, or 4 percent. The same logic is behind the Hypergeometric Calculator. The deck has 4 suits of 13 ranks, and cards are drawn without replacement, so the odds change with each draw. Questions about specific orders, such as the first card being an ace and the second a king, multiply conditional probabilities: 4/52 times 4/51. State clearly whether order matters and whether cards go back, since these choices change the answer.
Interpreting results and common errors
A probability describes a model, and it is only as good as the assumptions. Common errors include assuming independence when events are linked, treating a density value as a probability, confusing P(A given B) with P(B given A), and ignoring a low base rate. People also expect streaks to even out, though independent trials have no memory, which is the gambler's fallacy. Probabilities of rare events accumulate: a 1 percent daily risk gives a 1 minus 0.99 to the 30th chance, about 26 percent, of at least one occurrence in 30 days. Compare results with simple sanity checks, such as sums of exhaustive outcomes equaling 1. The calculators compute exactly what they are given, and they leave the modeling choices, and the check that the model matches reality, to you.
Worked examples from the hub
Several short cases show the tools in use. A fair coin flipped 10 times gives exactly 5 heads with probability 0.2461, and at least one head with probability 1 minus 1/1024, or 0.99902. A factory's line averages 3 defects per hour, so the chance of a defect-free hour is 0.0498 and the chance of exactly 3 is 27 times e to the minus 3, divided by 6, about 0.224. A deck has a 4/52 chance of an ace on the first draw and 3/51 on the second given the first was an ace, so two aces in a row is 12 over 2,652, about 0.45 percent. A service has a mean wait of 2 minutes, so the exponential rate is 0.5 per minute, and the chance the wait exceeds 5 minutes is e to the minus 2.5, about 8.2 percent. All figures are illustrative.
Frequently asked questions
- How do I know which distribution to use?
- Match the story. Fixed number of independent yes-or-no trials suggests binomial, waiting for the first success suggests geometric, and counts per interval suggest Poisson.
- Why can a density value be above one?
- A density is a rate per unit of the variable. Probability is the area under the curve, and a narrow curve can be tall and still have an area of 1.
- What is the difference between probability and odds?
- Probability is favorable over total, and odds are favorable over unfavorable. A probability of 0.25 equals odds of 1 to 3.
- When is multiplying probabilities valid?
- When events are independent, or when you multiply a probability by the conditional probability of the next event given the first.