How to Use the Probability Calculator: Steps and a Worked Example

By 2 min read

Find the chance of two independent events, either event or at least one success over several trials. This guide shows what to enter, a worked example with real numbers, and the limits to keep in mind. The Probability Calculator tool is free, needs no account and runs in your browser.

What you need

  • Probability of A (0 to 1), for example 0.5
  • Probability of B (0 to 1), for example 0.25
  • Repeated trials of A (n), for example 3

Step by step

  1. Open the Probability Calculator tool.
  2. Fill in Probability of A (0 to 1).
  3. Fill in Probability of B (0 to 1).
  4. Fill in Repeated trials of A (n).
  5. Read the result, which updates as soon as the inputs change.

Worked example

With these inputs:

  • Probability of A (0 to 1): 0.5
  • Probability of B (0 to 1): 0.25
  • Repeated trials of A (n): 3

the tool returns:

P(A and B): 0.125
P(A or B): 0.625
P(neither): 0.375
P(exactly one of A, B): 0.5
P(at least one A in 3 trials): 0.875
P(A in every one of 3 trials): 0.125

A second example

Changing Probability of A (0 to 1) 0.5 to 1 gives:

P(A and B): 0.25
P(A or B): 1
P(neither): 0
P(exactly one of A, B): 0.75
P(at least one A in 3 trials): 1
P(A in every one of 3 trials): 1

Comparing two runs like this is a quick way to see how much each input moves the result.

How it works

The calculation is: P(A and B) = P(A) × P(B); P(A or B) = P(A) + P(B) − P(A and B). Enter the probability of event A, the probability of event B and, if you like, a number of repeated trials. You get the chance of both, either, and at least one success.

Things to keep in mind

Assumes the events are independent.

If this is not quite what you need, try Coin Flip, Dice Roller or Factorial Calculator.

More from the blog