Free Probability Calculator with Steps

Free probability calculator: find P(A and B), P(A or B), P(not A), conditional probability, Bayes' theorem and the chance of at least one success in n trials.

  • No upload, 100% private
  • Instant, in your browser
  • 100% free, no signup
Loading tool…
Read the complete guideAND, OR and Conditional Probability Explained, With Bayes' Theorem →

About the Probability Calculator tool

Probability questions come in a handful of recurring shapes: the chance of one event, the chance that two things both happen or that at least one of them does, the chance of something given that something else is already true, and the chance of seeing a result at least once over several attempts. Each shape has its own formula, and mixing them up — adding probabilities that overlap, or multiplying events that are not independent — is the most common source of wrong answers in homework and in real decisions.

This probability calculator groups those shapes into four tabs. Single event turns favourable and total outcomes into a probability, a reduced fraction and odds. Two events takes P(A) and P(B), asks whether they are independent, mutually exclusive or have a known overlap, and returns P(A and B), P(A or B), exactly one, neither, both complements and both conditional probabilities. Conditional (Bayes) combines a prior with the two likelihoods to give the posterior P(A | B). Repeated trials uses the binomial model for “at least once”, “exactly k”, “at most k” and “at least k”.

You can type probabilities as decimals, fractions or percentages. Impossible combinations, such as an overlap larger than either event, are flagged instead of silently producing nonsense, and every answer comes with the formula and substituted numbers.

How to use Probability Calculator

  1. Pick a tab: “Single event”, “Two events”, “Conditional (Bayes)” or “Repeated trials”.
  2. Enter your values — for example P(A) = 0.5, 1/2 or 50%.
  3. On the Two events tab, choose how A and B are related in “How are A and B related?”, and enter P(A and B) if you know it.
  4. For repeated trials, enter the probability per trial, the number of trials n and, optionally, a number of successes k.
  5. Read the headline result and the extra rows, then open “Show steps” to see each formula with your numbers.

Features

Four problem types in one place

Single events, two-event rules, Bayes' theorem and binomial repeated trials each have their own inputs.

Accepts decimals, fractions and percents

0.25, 1/4 and 25% are all read as the same probability.

Consistency checks

Mutually exclusive events whose probabilities sum above 1, or an overlap outside its possible range, produce a clear error.

Binomial probabilities for large n

Exactly, at most and at least k are computed in log space, so hundreds of thousands of trials still work.

Worked formulas

Every result lists the rule used — addition rule, multiplication rule, complement or Bayes — with the numbers substituted.

When to use it

  • Check a statistics homework answer for P(A or B) when the events overlap.
  • Work out the chance of rolling at least one six in four throws of a die.
  • Estimate how likely a positive medical test is to be a true positive using Bayes' theorem.
  • Decide whether two survey answers behave like independent events.
  • Calculate the odds for and against a raffle win from ticket counts.

Frequently asked questions

What is the difference between independent and mutually exclusive events?

Independent events do not affect each other, so P(A and B) = P(A) × P(B). Mutually exclusive events cannot happen together, so P(A and B) = 0. Two events with non-zero probabilities cannot be both independent and mutually exclusive.

How do I calculate the probability of A or B?

Use the addition rule: P(A or B) = P(A) + P(B) − P(A and B). Subtracting the overlap stops it being counted twice. For mutually exclusive events the overlap is 0, so you simply add.

How do I find the probability of something happening at least once?

Work out the chance it never happens and subtract from 1: P(at least once) = 1 − (1 − p)ⁿ for n independent tries with probability p each. For a six in four rolls that is 1 − (5/6)⁴ ≈ 0.518.

What does P(A | B) mean?

It is the probability of A given that B has happened: P(A | B) = P(A and B) ÷ P(B). It is generally not the same as P(B | A), which is why Bayes' theorem is needed to switch between them.

Why is my Bayes' theorem result so low?

When the prior P(A) is small, even an accurate test produces many false positives relative to true positives. With a 1% prior, 95% sensitivity and a 5% false-positive rate, only about 16% of positive results are true positives.

Are probabilities and odds the same thing?

No. A probability compares favourable outcomes with all outcomes (1 in 6), while odds compare favourable with unfavourable outcomes (1 to 5). The single event tab shows both.

Related tools