Probability Calculator

Probability of two events, binomial outcomes and repeated trials

Calculate the probability of A and B, A or B and neither for independent events; the binomial probability of k successes in n trials; or the chance of something happening at least once.
Share
Try an example:
Your result will appear here as you type.

About Probability Calculator

Formula

P(X = k) = n! ÷ (k!(n − k)!) × pᵏ(1 − p)ⁿ⁻ᵏ

Worked examples

Two events

P(A) = 0.5 and P(B) = 0.3: both 0.15, either 0.65, neither 0.35.

Coin tosses

Exactly 7 heads in 10 tosses: 120 × 0.5¹⁰ = 0.1172; at least 7: 0.1719.

How it works

  1. Independent events: P(A and B) = P(A) × P(B); P(A or B) = P(A) + P(B) − P(A and B).
  2. Binomial: P(X = k) = C(n, k) pᵏ (1 − p)ⁿ⁻ᵏ.
  3. At least once: 1 − (1 − p)ⁿ.

What you need

  • Probabilities between 0 and 1.

Tips

  • Convert percentages: 30% = 0.3.
  • The chance of at least one six in 4 dice rolls is 51.8%.

Limitations

  • Assumes independent events and a constant probability.

Runs in your browser. Calculations run in your browser - nothing you enter is sent anywhere.

Definitions

Independent events
One happening does not change the chance of the other.

Frequently asked questions

Is 0.5 × 0.5 the chance of two heads?+

Yes - 0.25, because the two tosses are independent.

Was this calculator helpful?