Home › Math › Probability Calculator

Probability Calculator

Find the chance of one event, of two events together, or of a number of successes in repeated trials.

Example: rolling a 4 on a fair die has 1 favourable outcome out of 6.

Probability

-

What is probability?

Probability measures how likely something is to happen. It is a number from 0 to 1, where 0 means the event cannot happen and 1 means it is certain. You can also write it as a percentage from 0% to 100%. Probability is used in games, weather forecasts, insurance, quality checks, sports, medicine and many other fields.

Probability = favourable outcomes ÷ total possible outcomes

One event

When all outcomes are equally likely, divide the number of outcomes you want by the total number of outcomes. The chance of rolling a 4 on a fair die is 1 ÷ 6 ≈ 0.1667, or about 16.67%. The chance of drawing a heart from a deck of 52 cards is 13 ÷ 52 = 0.25, or 25%.

The same page shows the odds. Odds in favour compare the ways an event can happen with the ways it cannot. For the die, the odds in favour of a 4 are 1 : 5 and the odds against are 5 : 1.

Two events

  • Not A: P(not A) = 1 − P(A).
  • A and B (independent events): P(A and B) = P(A) × P(B). Two events are independent when one does not affect the other, such as two separate coin tosses.
  • A or B (independent events): P(A or B) = P(A) + P(B) − P(A and B).
  • A or B (mutually exclusive events): P(A or B) = P(A) + P(B). Mutually exclusive events cannot happen together, like rolling a 2 and a 5 on a single die.

Example: if the chance of rain is 40% and the chance of a power cut is 30% (and they are independent), the chance of both is 0.4 × 0.3 = 0.12, or 12%. The chance of at least one is 0.4 + 0.3 − 0.12 = 0.58, or 58%.

Repeated trials (binomial probability)

When you repeat the same trial n times and each trial has the same chance p of success, the chance of exactly k successes is given by the binomial formula.

P(X = k) = C(n, k) × pᵏ × (1 − p)ⁿ⁻ᵏ

Here C(n, k) is the number of ways to choose k successes from n trials. For example, the chance of exactly 6 heads in 10 fair coin tosses is C(10, 6) × 0.5⁶ × 0.5⁴ = 210 ÷ 1024 ≈ 0.2051, or about 20.51%. You can work out C(n, k) with the Permutation and Combination Calculator.

Good to know

  • Probabilities always stay between 0 and 1. The probabilities of all possible outcomes add up to 1.
  • A low probability does not mean something is impossible, and a high probability does not guarantee it.
  • Past results do not change the chance of the next independent trial. A fair coin is still 50% heads after five heads in a row.
  • The one-event mode assumes every outcome is equally likely, as with a fair coin, die or well-shuffled deck.

Related tools: Permutation and Combination Calculator, Factorial Calculator and Standard Deviation Calculator.

Need another calculator?

Browse all calculators
Scroll to Top