Math

Probability Calculator

Calculate probabilities for single and combined events, including conditional probability and Bayes' theorem.

Last reviewed by the Radiatus Cloud team

Single Event

Combined Events

Need this done properly for your business?

Radiatus delivers secure cloud, DevOps & compliance engineering.

Book a free consult

Independent and mutually exclusive are not the same

Independent means one event does not affect the other's probability, so you multiply: two fair coins both landing heads is 0.5 × 0.5 = 0.25. Mutually exclusive means they cannot both happen, so you add: rolling a 1 or a 6 is 1/6 + 1/6 = 1/3. Confusing them is the most frequent error in probability, and the two conditions are close to opposites — mutually exclusive events are strongly dependent, since knowing one happened tells you the other did not.

The complement is often the easy route

The probability of at least one occurrence is almost always calculated as 1 minus the probability of none. "At least one six in four rolls" means computing (5/6)⁴ and subtracting from 1, giving about 0.518. Attacking it directly requires summing the cases for exactly one, two, three and four sixes, which is more work and more error-prone.

Conditional probability and the direction trap

P(A given B) and P(B given A) are different quantities, and swapping them is a mistake with real consequences. The probability that someone tests positive given they have a disease is not the probability they have the disease given they tested positive. Bayes' theorem converts between them, and the answer depends heavily on the base rate.

The base rate example worth knowing

A test 99 percent accurate for a condition affecting 1 in 10,000 people. Someone tests positive. Out of a million people, 100 have the condition and about 99 test positive; the 999,900 without it produce about 9,999 false positives. So the chance of actually having it is roughly 99 in 10,098 — under 1 percent. This result is unintuitive to nearly everyone, including clinicians in published studies, and it is the single most important idea in applied probability.

Independent events have no memory

A fair coin that has landed heads ten times has exactly a 0.5 chance of heads next. The gambler's fallacy is believing otherwise. Its inverse, the hot-hand belief that a streak makes continuation more likely, is the same error pointing the other way. Both come from expecting short sequences to look like long-run averages, which they do not.

Birthdays and why coincidence is common

In a room of 23 people, the probability that two share a birthday is over 50 percent, and at 70 people it exceeds 99.9. The count of pairs grows quadratically, so 23 people make 253 comparisons. This is why unlikely-looking coincidences occur constantly, and why hash collisions arrive far sooner than the size of the output space suggests.

Related tools

  • Percentage Calculator — Calculate percentages, percentage change, increase and decrease, and reverse percentages, with the working shown for each result.
  • Statistical Calculator — Calculate mean, median, mode, standard deviation, and more.
  • Scientific Calculator — Perform advanced mathematical operations including trig, log, and exponents.
  • Length Converter — Convert between metres, feet, inches, miles, kilometres and more, with the precision and rounding issues that cause real errors.

Frequently Asked Questions

What is the difference between independent and mutually exclusive events?

Independent means one does not affect the other, so probabilities multiply. Mutually exclusive means they cannot both happen, so probabilities add. They are close to opposites.

How do I calculate the probability of at least one occurrence?

Subtract the probability of none from 1. At least one six in four rolls is 1 minus (5/6)⁴, about 0.518, which is far easier than summing the individual cases.

Why does a 99 percent accurate test give a wrong answer?

Because of the base rate. For a condition affecting 1 in 10,000, false positives from the vast healthy majority outnumber true positives roughly 100 to 1, so a positive result means under a 1 percent chance.

Does a run of heads make tails more likely?

No. Independent events have no memory, so the next flip is still 0.5. Believing otherwise is the gambler's fallacy, and the hot-hand belief is the same error reversed.

Why do 23 people share a birthday so often?

Because the number of pairs grows quadratically — 23 people make 253 comparisons. The same maths explains why hash collisions arrive far sooner than the output space suggests.

Privacy & Security

Calculations done locally.

Data: None
Client-side-Side
Active
v1.0

About This Tool

This tool runs entirely in your browser. No data is sent to any server, ensuring complete privacy. Simply use the interface above to get started — no registration or login required.

Disclaimer: This tool is provided "as is" without warranty of any kind. Results are for educational and utility purposes.