Skip to content

Math

Probability Calculator

Enter the probability of A and of B as percentages, then choose a mode: both events, at least one, neither, or exactly one. The calculator returns the selected probability, its complement, and the formula behind it. It assumes the two events are independent and does not handle conditional or dependent events.

Updated 2026-11-12 Editorial estimate Calccc Editorial Team Free · No sign-up

Loading calculator…

What this calculator does

Probability puts a number on how likely an event is, from 0% for impossible to 100% for certain. Combining two events is where most mistakes happen, because the chance of both is not the sum, and the chance of at least one is not the sum either. This calculator takes the probability of A and of B, applies the rules for independent events, and answers four common questions: both happen, at least one happens, neither happens, and exactly one happens.

How to use it

  1. Enter the probability of event A as a percentage, such as 50.
  2. Enter the probability of event B the same way.
  3. Choose a mode: both, at least one, neither, or exactly one.
  4. Read the selected probability, its complement, and the formula used.

How it works

Probabilities are entered as percentages and converted to decimals before multiplying. For independent events, P(both) = P(A) × P(B). At least one uses the complement of neither: P(at least one) = 1 − (1 − P(A)) × (1 − P(B)), which equals P(A) + P(B) − P(both). Neither is (1 − P(A)) × (1 − P(B)). Exactly one is P(A) × (1 − P(B)) + (1 − P(A)) × P(B). The complement of a result is 100% minus that result, and the disjoint cases add up: both + exactly one + neither = 100%. Percentages keep the inputs readable, and the conversion to decimals happens inside the calculation.

Example calculations

Example 1: the same inputs in all four modes

With P(A) = 50% and P(B) = 25%, both is 0.5 × 0.25 = 12.5%. At least one is 1 − 0.5 × 0.75 = 62.5%. Neither is 0.5 × 0.75 = 37.5%. Exactly one is 0.5 × 0.75 + 0.5 × 0.25 = 50%. The complements are 87.5%, 37.5%, 62.5%, and 50%. The three exclusive cases also reconcile: 12.5% + 50% + 37.5% = 100%.

Example 2: a small overlap

With P(A) = 20% and P(B) = 30%, both is 0.2 × 0.3 = 6%. At least one is 20% + 30% − 6% = 44%, and neither is 56%. Exactly one is 14% + 24% = 38%, which covers A alone plus B alone without counting the 6% where both happen. Because the overlap is small, at least one at 44% sits close to the naive sum of 50%.

Example 3: one likely event and one unlikely

With P(A) = 10% and P(B) = 90%, both is 9% and neither is also 9%, because one happening and the other not is the likely pattern. At least one is 91%, while exactly one is 82%: the cases where A happens alone and where B happens alone together. The complement of 82% is 18%, the chance that both happen or neither happens.

What the result means

Independent means the outcome of one event does not change the probability of the other. Coin flips and separate dice rolls are the classic cases. When events are independent, multiplying the decimals is valid; when they are not, it is not. Rain today and rain tomorrow, or owning a car and owning a bike, are usually dependent, so the results here would be off. The complement is simply the chance that the selected outcome does not happen, so the result and its complement always add to 100%. Percentages are rounded for display, so a total may sit a hundredth away from 100%. The tool has no field for conditional probabilities such as P(B given A). Two events can also be mutually exclusive, meaning they cannot both happen; then the chance of both is zero rather than the product, so that case needs different rules and different inputs.

Common mistakes

  • Assuming independence when one event changes the chance of the other.
  • Adding P(A) and P(B) for at least one, which counts both twice.
  • Mixing decimals and percentages in the same calculation, such as multiplying 50 by 0.25.
  • Treating exactly one as the same as both, or as 100% minus both.
  • Entering a probability above 100% or below 0%.

Assumptions and limits

  • Each probability is between 0% and 100%.
  • The two events are independent.
  • Both events refer to the same trial or time period.
  • The complement is 100% minus the selected result.
  • Results are rounded for display.

Frequently asked questions

What does independent mean?

Two events are independent when knowing that one happened does not change the chance of the other. Only then can you multiply their probabilities to get the chance of both.

Why is at least one not just P(A) + P(B)?

Adding counts the case where both happen twice. Subtracting P(A) × P(B) removes that overlap, which is why the formula is P(A) + P(B) − P(both).

What is a complement?

The complement is the probability that the selected outcome does not happen. It is always 100% minus the result, so the two together make 100%.

Can I enter decimals instead of percentages?

Enter percentages only, such as 50 for a 50% chance. The calculator converts them to decimals internally, so 0.5 would be read as 0.5%, not 50%.

Can it handle dependent events?

No. It assumes independence and has no field for P(B given A). For dependent events use P(A and B) = P(A) × P(B | A) and P(A or B) = P(A) + P(B) − P(A and B).

Why can exactly one be lower than at least one?

At least one includes the case where both happen, while exactly one excludes it. For the same inputs, exactly one is never larger than at least one.

Sources

Editorial review completed 2026-11-07. This is an educational estimate, not professional advice.

2026 update

How to use the professional output

This page is not just a formula box. The result is designed to be checked, compared, and taken away.

  • Professional worksheet. The result includes the inputs used, the method and scope, and a one-variable sensitivity check for finance calculators.
  • A/B scenarios. Save two input sets in the browser and compare the primary, secondary, and breakdown figures side by side.
  • Print / PDF and CSV. Print a branded worksheet, or export the year-by-year table when the calculator produces one.

The formulas and assumptions above still govern the number. The worksheet makes the estimate auditable; it does not make it a lender quote, tax return, or personalized advice.

Go deeper

Guides that explain the math

Probability: Independent Events, Unions, and Complements
Math

Probability: Independent Events, Unions, and Complements

Independent events multiply, unions subtract the overlap, and complements handle “at least one.” Formulas, worked examples, and the mistakes that skew results.

8 min read

Calccc Editorial Team · Updated 2026-11-12

Prepared by Calccc Editorial Team as an educational estimate. This page is not a licensed professional review and is not financial, medical, legal, or tax advice.

Editorial estimate prepared by the Calccc Editorial Team; not a licensed professional review.