Home / Math / Probability Calculator

Probability Calculator: Single Events, Two Events and Binomial

Work out a simple probability from counts, combine two events as independent or mutually exclusive, or find the chance of exactly, at most or at least k successes in a number of identical trials.

By Adzita Editorial Team · Updated 2026-11-03 · How we build and check our tools

The basic rules

A probability is a number from 0 (impossible) to 1 (certain), often written as a percentage. When all outcomes are equally likely, P(event) = favourable outcomes ÷ total outcomes. A fair die shows a six with probability 1/6, about 16.67%. The chance an event does not happen is the complement, 1 − P. Odds are a different way to express the same thing: odds in favour of 1 to 5 correspond to a probability of 1/6, because the probability compares the event with all outcomes while odds compare it with the remaining outcomes.

Combining two events

Two rules cover most questions about two events. For independent events, where one outcome does not influence the other, the chance of both is the product: P(A and B) = P(A) × P(B). The chance of at least one is P(A) + P(B) − P(A and B), subtracting the overlap that would otherwise be counted twice. For mutually exclusive events, which cannot happen together, the overlap is zero, so P(A or B) = P(A) + P(B). Rolling a 2 and rolling a 5 on a single die are mutually exclusive. Rolling a 2 on one die and a 5 on another are independent. Events can be neither, for example drawing two cards without replacement, and then conditional probability is needed.

Repeated trials: the binomial distribution

If you repeat the same yes/no trial n times, each with success probability p and independent of the others, the chance of exactly k successes is:

P(X = k) = C(n, k) × pk × (1 − p)n − k

For 10 fair coin tosses and 3 heads, C(10, 3) = 120 and each specific sequence has probability 1/1024, so the answer is 120/1024 = 0.1171875. The page also sums the distribution to give "at most k" and "at least k", and shows the chance of at least one success, 1 − (1 − p)n, which is the quickest route to questions such as "what are the odds of at least one six in four rolls?". The mean is n p and the standard deviation is √(n p (1 − p)).

Common mistakes

Worked example

A fair coin is tossed 10 times. What is the chance of getting exactly 3 heads?

Inputs

What do you want to calculate?Repeated trials (binomial)
Number of trials n10
Probability of success on each trial50 %
Number of successes k3

Result

P(exactly 3 of 10) = 0.117188

That is 11.7188%. Exact binomial formula with success probability 50% per trial.

P(X = 3)0.117188
P(X ≤ 3)0.171875
P(X ≥ 3)0.945313
P(at least one success)0.999023
Expected successes n × p5
Standard deviation √(n p (1 − p))1.5811

Accuracy note: Results use standard double-precision arithmetic, so very large or very small values may be rounded. Check important results by another method.

Frequently asked questions

How do I calculate the probability of two independent events both happening?

Multiply their individual probabilities. For two events with 50% and 30% chances, the chance of both is 0.5 × 0.3 = 0.15, which is 15%.

What is the difference between probability and odds?

Probability compares the event with all outcomes, while odds compare it with the outcomes where it does not happen. A probability of 1/6 corresponds to odds of 1 to 5.

What does mutually exclusive mean?

Two events are mutually exclusive when they cannot happen at the same time, such as heads and tails on one toss. Their chances add, and the chance of both is zero.

How do I find the probability of at least one success?

Subtract the chance of no successes from one. With n independent trials the chance of none is (1 − p) to the power n, so at least one has probability 1 − (1 − p)^n.

Is the binomial result exact?

The probabilities are computed from the exact binomial formula using logarithms of factorials, so they are accurate to roughly ten significant digits for up to 1,000 trials.

Permutation and Combination CalculatorExact nPr, nCr and with-repetition counts for n up to 1,000, using big-integer arithmetic.Z-Score CalculatorZ-score, percentile, tail probabilities and two-tailed p-value from the standard normal curve.Standard Deviation CalculatorPopulation and sample standard deviation, variance, mean, sum, count and standard error for a list of numbers.Percentage CalculatorPercent of a number, percent change, and increase or decrease by a percent, with working.

References and sources

  1. Standard probability theory: the addition and multiplication rules and the binomial distribution, as in any introductory statistics text.

Check primary sources for anything you rely on.