Probability Calculator
Three probability tools: combine two independent events, find the chance of exactly, at least or at most k successes in n trials, and find areas under a normal curve.
How to use the Probability Calculator
- Pick what you want to work out using the tabs: Two events, Repeated trials or Normal distribution.
- Enter P(A).
- Enter P(B).
- Read your answer in the results panel. It updates as you type, and the breakdown, step-by-step working and any charts or tables appear below it.
- Use Share link to save or send the exact calculation, or Copy to paste the results elsewhere.
Two independent events
Events are independent when one happening does not change the chance of the other, like two separate coin flips. For independent events A and B:
| Question | Formula | P(A) = 0.5, P(B) = 0.4 |
|---|---|---|
| Both happen | P(A) × P(B) | 0.2 |
| At least one happens | P(A) + P(B) − P(A)P(B) | 0.7 |
| Exactly one happens | P(A) + P(B) − 2P(A)P(B) | 0.5 |
| Neither happens | (1 − P(A)) × (1 − P(B)) | 0.3 |
A common mistake is adding probabilities for “A or B” without subtracting the overlap. Two events with probability 0.6 each would then give 1.2, which is impossible.
Repeated trials (binomial probability)
If an event has probability p on each of n independent trials, the number of successes X follows a binomial distribution:
P(X = k) = C(n, k) × pᵏ × (1 − p)ⁿ⁻ᵏ
C(n, k) counts the ways to choose which k trials succeed. Example: the chance of exactly 5 heads in 10 fair coin tosses is C(10, 5) × 0.5¹⁰ = 252 ÷ 1,024 ≈ 0.2461. “At least 5” adds the probabilities for 5 through 10 and comes to about 0.6230. The calculator gives exact, at least, at most, fewer than and more than in one go, plus a bar chart of the whole distribution for up to 60 trials.
A handy shortcut for “at least one”: P(at least one) = 1 − (1 − p)ⁿ. The chance of at least one six in four rolls of a die is 1 − (5/6)⁴ ≈ 0.518.
Normal distribution areas
Many measurements, such as heights and test scores, are roughly normally distributed. To find the probability that a value falls between two bounds, convert each bound to a z-score, z = (x − μ) ÷ σ, and subtract the cumulative areas Φ(z). For IQ scores with mean 100 and SD 15, the share below 130 is Φ(2) ≈ 0.9772. Leave a bound blank to make it open-ended.
Caveats
- The two-event and binomial formulas assume independence. Drawing cards without replacement is not independent; use combinations instead.
- A normal model is an approximation. Real data often have heavier tails than the bell curve.
Frequently asked questions
How do I calculate the probability of A and B?
For independent events multiply them: P(A and B) = P(A) × P(B). With 0.5 and 0.4 the answer is 0.2.
How do I calculate the probability of A or B?
Add them and subtract the overlap: P(A or B) = P(A) + P(B) − P(A and B). For independent events the overlap is P(A) × P(B).
What is the probability of at least one success?
Use 1 − (1 − p)ⁿ. For example the chance of at least one head in 3 tosses is 1 − 0.5³ = 0.875.
What does the binomial distribution assume?
A fixed number of trials, two outcomes per trial, the same probability of success each time, and independent trials.