Probability Calculator

Work out probabilities for two events (and, or, neither, given), binomial chances such as exactly 5 heads in 10 tosses, and the chance of something happening at least once in a number of tries.

Calculator Numbers & Math Updated Oct 3, 2026
How to Use
  1. Choose two events, binomial or at least once.
  2. Type probabilities as decimals (0.25), percentages (25%) or fractions (1/4).
  3. For two events, say whether they are independent, mutually exclusive, or give P(A and B).
  4. For binomial, give the number of trials n, the chance of success p and the count k.
  5. Read the probabilities; the Venn diagram, bar chart or curve shows where they come from.
Input
%
Presets
Picture
A and B
—
A or B
—
Neither
—
A given B
—

Worked Example

Exactly 5 heads in 10 tosses. There are C(10, 5) = 252 ways to choose which 5 tosses are heads, each with probability (1/2)¹⁰ = 1/1024. So P = 252/1024 = 63/256 ≈ 24.6%; even the most likely count happens less than a quarter of the time.

De Méré’s bet. The chance of at least one six in 4 rolls is 1 − (5/6)⁴ = 1 − 625/1296 = 671/1296 ≈ 51.8%, slightly better than even, which is why the bet paid. His second bet, at least one double six in 24 rolls of two dice, is 1 − (35/36)²⁴ ≈ 49.1%, and lost.

The common mistake: adding chances. Four rolls at 1/6 each is not 4/6 = 66.7%. The rolls can produce more than one six, and adding counts those cases repeatedly. The right answer is 51.8%.

Show Work

Enter probabilities to see the working.

Formulas

Addition rule
P(A ∪ B) = P(A) + P(B) − P(A ∩ B)
Independent
P(A ∩ B) = P(A) · P(B)
Conditional
P(A | B) = P(A ∩ B) ÷ P(B)
Binomial
C(n, k) pᵏ (1 − p)ⁿ⁻ᵏ
At least once
1 − (1 − p)ⁿ
Complement
P(not A) = 1 − P(A)

A Gambler’s Question

Probability theory began with dice. In 1654 the gambler Antoine Gombaud, the Chevalier de Méré, asked Blaise Pascal why one of his bets made money and the other lost; Pascal’s letters with Pierre de Fermat worked out the answer and the general method. Christiaan Huygens published the first book on probability in 1657, and Jacob Bernoulli’s Ars Conjectandi (1713) gave the binomial distribution and the law of large numbers.

Andrey Kolmogorov’s 1933 axioms put the subject on the same footing as the rest of mathematics; everything on this page follows from them.

About This Calculator

This calculator handles the three most common probability questions: two events (with every combination and the conditional probabilities), binomial counts (exact as fractions when p is a simple fraction, with the whole distribution drawn), and the chance of at least one success, including how many tries reach a target.

Everything runs in your browser; nothing is sent anywhere.

Related calculators: Permutation and Combination Calculator, Dice Roller, and Probability & Statistics Lab.

Frequently Asked Questions

How do I find P(A and B) and P(A or B)?

For independent events, multiply: P(A and B) = P(A) × P(B). Then P(A or B) = P(A) + P(B) − P(A and B), subtracting the overlap so it isn’t counted twice. With P(A) = 0.5 and P(B) = 0.4: and = 0.2, or = 0.7. For mutually exclusive events P(A and B) = 0 and the or-probability is just the sum.

What is a binomial probability?

The chance of exactly k successes in n independent tries, each with the same chance p: C(n, k) pᵏ(1 − p)ⁿ⁻ᵏ. Exactly 5 heads in 10 fair tosses is C(10, 5)/2¹⁰ = 252/1024 = 63/256 ≈ 24.6%. The mean number of successes is np and the SD √(np(1 − p)).

What is the chance of something happening at least once?

One minus the chance it never happens: 1 − (1 − p)ⁿ. At least one six in 4 rolls is 1 − (5/6)⁴ = 671/1296 ≈ 51.8%, the bet the Chevalier de Méré won in the 1650s. A 1% chance per try needs 69 tries for a 50% chance of at least one success.

Why can’t I just add the chances?

Because outcomes overlap. Ten tries at 10% each is not 100%: the chance of at least one success is 1 − 0.9¹⁰ = 65.1%. Adding counts the cases with two or more successes several times. Adding is only right for mutually exclusive outcomes.

What is conditional probability?

The chance of A once you know B happened: P(A | B) = P(A and B) ÷ P(B). If 40% of customers buy coffee and 15% buy coffee and cake, then among coffee buyers P(cake | coffee) = 0.15 ÷ 0.4 = 37.5%. A and B are independent exactly when P(A | B) = P(A).

How do I use the Probability Calculator?

Simply type your numbers and read the result, which refreshes the instant you change something. There is nothing to submit and nothing to wait for.

Is it free? Does it work without internet?

Yes to both. It is free with no sign-up, and once the page has loaded it keeps working even with no internet.

Where does my data go?

Nowhere — every calculation runs on your own device. Nothing you enter is uploaded, logged, or stored.

Common Use Cases

Coins and dice

Exactly 5 heads in 10 tosses: 63/256 ≈ 24.6%.

Games

At least one six in 4 rolls: 51.8%.

Quality control

2% defect rate, 50 items: P(no defects) = 36.4%.

Gaming drops

A 1% drop rate needs 69 tries for a 50% chance, 299 for 95%.

Business

P(cake | coffee) = 0.15 ÷ 0.4 = 37.5%.

Last updated: