Math

Probability Calculator

From a single coin flip to combined AND/OR events, complements, and odds — solved step by step, not just a bare number.

Did this calculator help you?

What is Probability Calculator?

Probability measures how likely an event is to happen, expressed as a number between 0 (impossible) and 1 (certain). The basic formula divides the number of favorable outcomes by the total number of possible outcomes. This calculator handles two situations: a single event, where you calculate its probability, complement, and odds; and combined events, where you find the probability of two events both happening (AND) or at least one happening (OR). The combined calculation depends on whether the events are independent (one doesn't affect the other, like two separate coin flips) or mutually exclusive (they can't both happen, like rolling a 2 and a 5 on a single die roll).

When to Use This Calculator

  • Find the chance of a single outcome, such as rolling a specific number or drawing a specific card
  • Combine two independent or mutually exclusive events into one overall probability
  • Convert between probabilities, odds, fractions, decimals, and percentages for reports
  • Estimate the likelihood of events in games of chance, quality control, and risk analysis
  • Compute conditional probabilities when one event depends on another
  • Verify probability and statistics homework, exam problems, and practice exercises

Steps:

  1. Choose single event mode to calculate one event's probability, complement, and odds.
  2. Or choose combined events mode to find the probability of two events together.
  3. For combined events, choose whether they are independent or mutually exclusive.
  4. Review the full step-by-step calculation for every result.

Formula

Single event: P(A) = favorable outcomes / total outcomes Complement: P(not A) = 1 - P(A) Independent events: P(A and B) = P(A) × P(B), P(A or B) = P(A) + P(B) - P(A) × P(B) Mutually exclusive events: P(A and B) = 0, P(A or B) = P(A) + P(B)

Use Cases

  • Statistics and probability homework and exam preparation
  • Analyzing games of chance — dice, cards, coin flips, and lotteries
  • Risk assessment — estimating the likelihood of independent or combined events
  • Genetics and biology — calculating the probability of inherited traits

Key Benefits

  • Calculates single-event probability, complement, and odds in one step
  • Supports combined events for both independent and mutually exclusive relationships
  • Displays results as both decimals and percentages
  • Full step-by-step solution for every calculation, not just the final answer

Pro Tips

  • Odds and probability are related but different: odds compare favorable to unfavorable outcomes (e.g., 1:5), while probability compares favorable to total outcomes (e.g., 1/6)
  • A probability expressed as a percentage is just the decimal probability multiplied by 100
  • For real-world independent events like separate dice rolls or coin flips, the AND probability is always smaller than either individual probability
  • If two events are described as 'either/or' and can't happen together, they are almost always mutually exclusive

Common Mistakes to Avoid

  • Confusing independent events (P(A and B) = P(A) × P(B)) with mutually exclusive events (P(A and B) = 0) — they require completely different formulas
  • Forgetting to subtract the overlap P(A and B) when calculating P(A or B) for independent events, which double-counts outcomes where both happen
  • Entering more favorable outcomes than total outcomes, which produces an impossible probability greater than 1
  • Treating dependent events (where one outcome affects the other) as if they were independent

Key Terms Explained

Favorable Outcome: An outcome that counts as a 'success' for the event you're measuring
Complement: The probability that an event does NOT happen, always equal to 1 minus the event's probability
Independent Events: Events where the outcome of one has no effect on the probability of the other
Mutually Exclusive Events: Events that cannot both occur in the same trial

Related Concepts

  • Chance experiments with repeated trials are simulated by the Coin Flip Simulator.
  • Games of chance with many outcomes are explored with the Dice Roller.
  • Counting the outcomes behind a probability uses the Permutation Combination Calculator.
  • Averages and spread of observed data are analyzed by the Statistics Calculator.
  • Expressing a probability as a share of 100 is done with the Percentage Calculator.

Example

Rolling a fair six-sided die: the probability of rolling a 3 is 1/6 ≈ 0.167 (16.7%). Its complement — not rolling a 3 — is 5/6 ≈ 0.833 (83.3%). For two independent coin flips, the probability of getting heads on both is 0.5 × 0.5 = 0.25 (25%).

Interpreting Your Results

A probability closer to 1 means the event is more likely, closer to 0 means less likely, and exactly 0.5 means the event is as likely to happen as not. The complement 1 - P(A) is the chance the event does not happen. For two independent events, the 'and' probability multiplies the two individual probabilities while the 'or' probability adds them then subtracts the overlap. For mutually exclusive events, the 'and' probability is 0 and the 'or' probability is simply the sum.

Frequently Asked Questions

What is the difference between independent and mutually exclusive events?
Independent events don't affect each other's outcome — like flipping a coin twice — and can both happen at once, so P(A and B) = P(A) × P(B). Mutually exclusive events can never happen at the same time — like rolling a single die and getting both a 2 and a 5 — so P(A and B) = 0.
How do I calculate the probability of two events happening together?
If the events are independent, multiply their individual probabilities: P(A and B) = P(A) × P(B). If they're mutually exclusive, they can't happen together at all, so P(A and B) = 0.
What's the difference between probability and odds?
Probability compares favorable outcomes to all possible outcomes (favorable / total). Odds compare favorable outcomes to unfavorable outcomes (favorable : unfavorable). For example, a 1-in-6 probability of rolling a specific number on a die is expressed as odds of 1:5.
Can a probability be greater than 1 or negative?
No. Probability is always between 0 and 1 (or 0% and 100%). A probability of 0 means the event is impossible, and a probability of 1 means it's certain. If your calculation produces a value outside this range, there's an error in your favorable or total outcome counts.
How do I calculate the probability of at least one event happening?
Subtract the probability of none of them happening from 1. For two independent trials, P(at least one) = 1 - P(neither). For example, rolling at least one 6 in two die rolls is 1 - (5/6 × 5/6) = 1 - 25/36 = 11/36 ≈ 0.306, about a 30.6% chance. This complement trick is usually easier than adding all the separate ways the event can occur.
What is conditional probability and how do I find it?
Conditional probability is the chance of one event given that another has already happened, written P(A|B). It is computed as P(A and B) divided by P(B). Drawing two aces from a 52-card deck without replacement is a classic case: P(first ace) = 4/52 and P(second ace | first ace) = 3/51, so P(two aces) = 4/52 × 3/51 ≈ 0.0045, about 0.45%. The key is that the second probability depends on the first outcome.
How do I convert between odds and probability?
Odds compare favorable to unfavorable outcomes, while probability compares favorable to total outcomes. Odds of a to b convert to probability as P = a / (a + b). So odds of 3 : 1 give P = 3/(3 + 1) = 3/4 = 0.75, or 75%. Going the other way, a probability p converts back to odds of p : (1 - p). For example, a 0.25 probability is odds of 0.25 : 0.75, which simplifies to 1 : 3.
How do I use combinations to find a probability?
Divide the number of favorable outcomes by the total number of possible outcomes, both counted with combinations when order does not matter. For a 6-ball lottery from 49 numbers, the total outcomes are C(49,6) = 13983816, so matching all six has probability 1/13983816, roughly 0.0000000715. The fewer the favorable outcomes relative to the total, the smaller the probability.
What is the law of large numbers?
The law of large numbers says that as the number of trials grows, the observed relative frequency approaches the theoretical probability. In 10 coin flips you might get 7 heads, but in 10000 flips the fraction of heads will be very close to 0.5. This is why casinos and insurance companies rely on long-run averages even though single outcomes are unpredictable.
How do I write a probability as a fraction, decimal, and percentage?
The same probability can be expressed in all three forms. Rolling a number less than 4 on a six-sided die has 3 favorable outcomes out of 6, written as the fraction 3/6, the simplified fraction 1/2, the decimal 0.5, and the percentage 50%. Convert by simplifying the fraction, dividing numerator by denominator for the decimal, and multiplying the decimal by 100 for the percentage.
What is expected value and how do I compute it?
Expected value is the average result you would get over many repetitions, found by summing each outcome's value times its probability. For a fair six-sided die, E = 1×(1/6) + 2×(1/6) + 3×(1/6) + 4×(1/6) + 5×(1/6) + 6×(1/6) = 21/6 = 3.5. The expected value 3.5 is not a possible single roll but the long-run average of all rolls.

Discover More Tools

Fresh picks from across our tool library.