Probability Calculator

Find the chance of A and B, A or B, neither, or of an event happening at least once or exactly k times in repeated trials.

Runs in your browserNo sign-upWorks offline

The tool is loading…

What the Probability Calculator does

The Probability Calculator answers the two most common probability questions. For two independent events A and B, it gives the chance of both, either, exactly one, and neither. For repeated trials, such as rolling a die or taking a test several times, it gives the chance of at least one success, exactly k successes, at most or at least k, and none. You can type probabilities as decimals, percentages or fractions.

How to use it

  1. Choose two events or repeated trials.
  2. Enter the probabilities as 0.25, 25% or 1/4.
  3. For repeated trials, enter the number of trials and the number of successes you are asking about.
  4. Read the results as percentages and decimals.

Example

Tossing heads (1/2) and rolling a six (1/6): both happen with probability 1/12 ≈ 8.33%, and at least one with 7/12 ≈ 58.33%. Rolling at least one six in 4 rolls has probability 1 − (5/6)⁴ ≈ 51.77%. Exactly 3 heads in 10 tosses has probability 120 ÷ 1024 ≈ 11.72%.

The rules

For independent events, P(A and B) = P(A) × P(B), and P(A or B) = P(A) + P(B) − P(A and B). The chance something does not happen is 1 minus the chance it does.

For n independent trials each with chance p, the chance of exactly k successes is C(n, k) × pᵏ × (1 − p)ⁿ⁻ᵏ, the binomial formula. The chance of at least one success is 1 − (1 − p)ⁿ, which is often easier than adding up every case.

Questions people ask

Is anything I enter sent anywhere?

No. The calculator works entirely in your browser, so your numbers stay on your device.

What does independent mean?

That one event does not change the chance of the other. Two coin tosses are independent; drawing two cards without putting the first back is not.

Why is the chance of at least one six in 6 rolls not 100%?

Each roll has a 5/6 chance of no six, so all six rolls miss with probability (5/6)⁶ ≈ 33.5%. At least one six is therefore only about 66.5%.

Can I enter odds such as 3 to 1?

Convert them first: odds of 3 to 1 against mean 1 chance in 4, which is 1/4 or 25%.

Related tools