Probability Calculator

Combine two events or model repeated independent trials, with explicit assumptions and formulas for each result.

Solve for

As a decimal (0.25) or percent (25%).

A and B are

P(A and B)

15.0000%

P(A or B) = 65.0000% · independent events

  • P(A and B)0.15 · 15.0000%
  • P(A or B)0.65 · 65.0000%
  • P(exactly one of A, B)50.0000%
  • P(A only) · P(B only)35.0000% · 15.0000%
  • P(neither)35.0000%
  • P(not A) · P(not B)50.0000% · 70.0000%
  • P(A | B)50.0000%
  • Odds of A and B1 in 6.67

How this was calculated

P(A and B) = P(A) × P(B) = 0.5 × 0.3 = 0.15

P(A or B) = P(A) + P(B) − P(A and B) = 0.65

Two events: independence versus exclusion

For independent events, P(A and B) = P(A)P(B). For mutually exclusive events, P(A and B) = 0. In both cases, P(A or B) = P(A) + P(B) − P(A and B). Independence and mutual exclusion are different assumptions, not interchangeable options.

For P(A) = 0.5 and P(B) = 0.3 with independence, the chance of both is 0.15, either is 0.65, and neither is 0.35. General dependent events require additional information and are not modeled here.

Exactly, at least and at most

For n independent trials with constant success probability p, P(X = k) = C(n, k)p^k(1 − p)^(n − k). Add terms from k through n for “at least k”, or from 0 through k for “at most k”. Expected successes equal np, and standard deviation is √[np(1 − p)].

In ten fair coin flips, exactly three heads has probability 120 ÷ 1,024 = 0.1171875. At most three heads is 0.171875; at least three is 0.9453125. The chance of at least one head is 1 − (0.5)^10 = 0.9990234375.

Input and model limits

Enter a probability as a decimal from 0 to 1 or with an explicit percent sign, such as 25%. A bare 25 is rejected. Trials must be whole numbers from 1 to 1,000 and successes must be whole numbers between zero and the trial count.

Repeated-trial models assume the same success probability on each independent trial. Sampling without replacement generally violates that assumption. Very small displayed probabilities can round to zero; logarithmic computation reduces loss from intermediate powers but cannot represent arbitrarily tiny values.

Frequently asked questions

Why is at least one calculated using the complement?

The opposite of at least one success is no successes. Independence gives P(none) = (1 − p)^n, so P(at least one) = 1 − (1 − p)^n.

Can mutually exclusive events have probabilities adding above 1?

No. Their union is the sum of their probabilities, and any probability must be at most 1. The calculator rejects such a combination.

Last updated . Results are estimates for informational purposes only.