Math

Probability Calculator – Combined & Conditional Events

Calculate union, intersection, complements and conditional probabilities with explicit assumptions, exact feasibility checks and a four-outcome breakdown.

Free to useNo sign-upCalculated in your browser

Inputs

Changing input units clears all probabilities. Changing mode clears the third input. No value is silently converted.

Up to 6 decimals. Percent inputs omit the % sign.

Up to 6 decimals.

Conditional mode requires P(B) > 0.

Inputs and results stay in this browser.

Results

Check the inputs and calculate. Editing clears the previous result.

Which probability mode should I use?

Use known intersection when you know how often both events happen. Use independent events only when independence is justified by your model. Use known conditional probability when you know how often A happens among cases where B happens. The calculator never chooses independence for you.

“At least one” includes cases where both events occur. “Exactly one” excludes those cases. The four disjoint outcomes—A only, B only, both and neither—cover the whole sample space.

Calculate an overlap

Suppose a project model assigns P(A) = 0.6, P(B) = 0.5 and P(both) = 0.2. These are illustrative assumptions, not observed frequencies. A only is 0.4, B only is 0.3 and neither is 0.1. The union is 0.6 + 0.5 − 0.2 = 0.9. Among B outcomes, P(A | B) = 0.2 / 0.5 = 0.4.

You can reproduce this in conditional mode by entering 0.6, 0.5 and 0.4. That last input is P(A | B), not P(B | A).

Independent and mutually exclusive examples

For two separately randomized tasks modeled as independent with success probabilities 0.4 and 0.3, both succeed with probability 0.12. At least one succeeds with probability 0.58; neither succeeds with probability 0.42.

For a single ticket drawn from ten equally likely tickets, let A mean tickets 1–3 and B mean tickets 4–5. The events are mutually exclusive: their joint probability is zero and their union is 0.5. They are not independent, because 0.3 × 0.2 is not zero. Positive-probability mutually exclusive events cannot be independent.

Feasibility and precision

The intersection cannot exceed either marginal probability. It also cannot be smaller than max(0, P(A) + P(B) − 1). Exact integer arithmetic checks these bounds and ensures the disjoint outcomes sum to exactly 1 before any rounding.

Inputs accept up to six decimals in the selected units. Enter 60 in percentage mode for 60%, or 0.6 in decimal mode. Changing units clears the fields; it does not reinterpret an old entry. Outputs include exact fractions, eight-place decimals and six-place percentages, rounded independently half up. A note identifies when the four displayed percentages do not sum to exactly 100%.

Frequently asked questions

Why is a conditional result undefined?

In this finite-event calculator, conditioning on an event of probability zero would require division by zero. The result is explicitly undefined, rather than zero. Conditional-input mode therefore requires P(B) > 0.

Does the calculator estimate the inputs?

No. You supply the probabilities and the model assumption. Arithmetic consistency does not establish that the assumptions describe the real world.

Sources & review

Last reviewed: . The formula is reproduced above so you can check the math independently.

How we check calculations and describe their limits

Accessibility and student privacy

Our accessibility target is WCAG 2.1 AA. We use automated checks for keyboard operation, narrow layouts and readable alternatives to charts. Keyboard and screen reader behavior can vary by device and browser.Report an accessibility issue.

These tools have no ads, affiliate offers or sponsored content. No account is needed. Calculations run in your browser; your inputs and results are not sent to us or to analytics. Google Analytics may be used to measure site usage. See Privacy & analytics for details and how to turn it off.