Probability of an Event Formula Solver with Worked Examples

The probability of an event is the number of favourable outcomes divided by the total number of equally likely outcomes: . Use the calculator to find the probability, the favourable outcomes or the total.

Write 2x or 2*x to multiply, ^ for powers, and ; between simultaneous equations. You can also type factor, expand, derivative of, integrate … from a to b, limit … as x->0 or 15% of 80.

Try an example

Give every value except the one you want, or write the letter with a question mark, for example f=3, t=10 or p=0.25, t=40. Every answer is checked by putting it back into the formula.

  • : probability
  • : number of favourable outcomes
  • : total number of outcomes

Before you start

This page is easier if you are comfortable with:

  • fractions and decimals
  • listing outcomes
  • the idea of equally likely outcomes

What Probability of an event means

Probability measures how likely something is, on a scale from 0 (impossible) to 1 (certain). If all outcomes are equally likely, the probability of an event is the fraction of outcomes that make it happen.

For a fair six-sided die, the probability of rolling a 4 is and the probability of an even number is .

Probabilities can be written as fractions, decimals or percentages. The complement is probability of not A, mutually exclusive outcomes add (sum of probabilities), and an estimate from experiments is relative frequency.

This page is part of Probability basics in Probability. Topics that work alongside it: Probability of not A, Sum of probabilities, Relative frequency, Counting: product rule, Mutually exclusive events and Union of two events (addition rule).

What is it used for?

Probability measures how likely an event is, from 0 (impossible) to 1 (certain): P = number of favourable outcomes ÷ total number of equally likely outcomes.

How to use the probability of an event formula

  1. Count the outcomes that make the event happen.
  2. Count all possible outcomes.
  3. Divide the first by the second.
  4. Simplify, and check that the answer is between 0 and 1.

Diagram

P(six) = 1/6

One of the six equally likely outcomes of a die is a six, so the probability is 1/6.

Worked examples

Each example below was worked out by the solver on this page and checked by substituting the answer back into the formula.

Example 1: find a probability

A bag has 10 counters, 3 of them red. A counter is picked at random. Find the probability that it is red.

Probability of an event Answer checked
Answer
p=0.3p=0.3
  1. The formula
    Probability of an event. In this formula is the probability, is the number of favourable outcomes, is the total number of outcomes.
  2. What we know and what we want
    We know and we want to find , the probability.
  3. Substitute the numbers
  4. Calculate
  5. Check by substituting back
    Put all the values back into the original formula: both sides should match.

Example 2: find the number of favourable outcomes

The probability of winning a prize is 0.25 and there are 40 tickets. How many tickets win?

Probability of an event Answer checked
Answer
f=10f=10
  1. The formula
    Probability of an event. In this formula is the probability, is the number of favourable outcomes, is the total number of outcomes.
  2. What we know and what we want
    We know and we want to find , the number of favourable outcomes.
  3. Rearrange for
    Multiply both sides by t.
  4. Substitute the numbers
  5. Calculate
  6. Check by substituting back
    Put all the values back into the original formula: both sides should match.

Example 3: find the total

Six sweets are orange. The probability of picking an orange sweet is 0.4. How many sweets are there?

Probability of an event Answer checked
Answer
t=15t=15
  1. The formula
    Probability of an event. In this formula is the probability, is the number of favourable outcomes, is the total number of outcomes.
  2. What we know and what we want
    We know and we want to find , the total number of outcomes.
  3. Rearrange for
    Multiply both sides by t, then divide by p.
  4. Substitute the numbers
  5. Calculate
  6. Check by substituting back
    Put all the values back into the original formula: both sides should match.

Special cases

A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.

A probability

3 favourable out of 10: 0.3

p = f ÷ t.

Favourable outcomes

p = 0.25 of 40: 10

f = pt.

The total

6 favourable, p = 0.4: t = 15

t = f ÷ p.

A die

prime on a die: 3/6 = 0.5

The primes are 2, 3, 5.

Word problems

For equally likely outcomes, probability = favourable outcomes ÷ total outcomes. It is always between 0 and 1.

A probability

A bag has 3 red counters out of 10. Find P(red).

  1. Divide3 ÷ 10
  2. Calculate0.3
  3. Check: between 0 and 1 ✓P = 0.3.

Favourable outcomes

P(win) = 0.25 and there are 40 tickets. How many winning tickets?

  1. Multiply0.25 × 40
  2. Calculate10
  3. Check: 10 ÷ 40 = 0.25 ✓10 tickets.

The total Higher

6 counters are blue and P(blue) = 0.4. How many counters in total?

  1. Divide6 ÷ 0.4
  2. Calculate15
  3. Check: 6 ÷ 15 = 0.4 ✓15 counters.

A die Higher

A fair die is rolled. Find P(prime).

  1. Primes2, 3, 5 so 3 outcomes
  2. Divide3 ÷ 6 = 0.5
  3. Check: 0.5 ✓P = 0.5.

Common mistakes

Favourable over unfavourable

3 ÷ 7 = 0.43 ✗

3 ÷ 10 = 0.3 ✓

Divide by the total.

Total over favourable

10 ÷ 3 ✗

3 ÷ 10 ✓

A probability cannot exceed 1.

Counting outcomes wrongly

primes on a die: 1, 2, 3, 5 ✗

2, 3, 5 ✓

1 is not prime.

Assuming outcomes are equally likely

a biased coin as 1/2 ✗

use relative frequency instead ✓

The formula needs equal chances.

Exam tips

  1. p = f ÷ t.
  2. List all outcomes.
  3. 0 ≤ p ≤ 1.
  4. f = pt and t = f ÷ p.
  5. Equally likely outcomes only.

Practice questions

Try each one on paper, then open the answer. Use the solver above to see the full working.

1. A bag has 4 red and 6 blue counters. Find P(red) Foundation

0.4

2. A fair die is rolled. Find P(even) Foundation

0.5

3. A card is chosen from 52. Find P(heart) as a decimal Foundation

0.25

4. P(win) = 0.15 with 200 tickets. How many winners? Higher

30

5. 8 red counters with P(red) = 0.2. Find the total Higher

40

6. A die is rolled. Find P(more than 4) to 2 decimal places Higher

0.33

Practice generator

Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.

Solve: …

Key terms

Probability
How likely an event is.
Favourable outcome
An outcome you want.
Total outcomes
All possible outcomes.
Equally likely
Each outcome has the same chance.
Event
A set of outcomes.
Certain
Probability 1.

Frequently asked questions

What is the probability formula?

p = favourable ÷ total.

What is the range of a probability?

0 to 1.

What does a probability of 0 mean?

Impossible.

What does a probability of 1 mean?

Certain.

Which page covers the complement?

probability of not A.

Which page covers relative frequency?

relative frequency.

More in Probability and the formula sheets.