Relative Frequency Formula Solver with Worked Examples

Relative frequency is the number of times an event happened divided by the number of trials: . Use the calculator to find the relative frequency, the frequency or the number of trials.

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=18, n=60 or r=0.4, n=250. Every answer is checked by putting it back into the formula.

  • : relative frequency
  • : number of times it happened
  • : number of trials

Before you start

This page is easier if you are comfortable with:

  • probability
  • dividing a count by the total
  • experiments with repeated trials

What Relative frequency means

When outcomes are not equally likely you can estimate a probability from an experiment. The relative frequency is the fraction of trials in which the event happened.

The more trials you do, the closer the relative frequency usually gets to the true probability.

You can also use relative frequency to estimate how many times something will happen in a future set of trials. As trials increase it approaches the probability of an event, it gives the expected number of outcomes, and for grouped data see frequency density; the complement is probability of not A.

This page is part of Probability basics in Probability. Topics that work alongside it: Probability of an event, Expected number of outcomes, Frequency density (histograms), Probability of not A, Sum of probabilities and Counting: product rule.

What is it used for?

Relative frequency is the number of times an event happened divided by the number of trials. It estimates the probability from experiment.

How to use the relative frequency formula

  1. Count how many times the event happened.
  2. Count the total number of trials.
  3. Divide the first by the second.
  4. To predict a count, multiply the relative frequency by the number of trials.

Graph

Relative frequencies 12/40, 18/40 and 10/40 of three outcomes0.300.450.2500.511.522.533.5400.10.20.30.40.5Relative frequencies 12/40, 18/40 and 10/40 of three outcomesoutcomeyGraph with x from 0 to 4 and y from 0 to 0.55. Shows bars (3); point 0.30 at (1, 0.3); point 0.45 at (2, 0.45); point 0.25 at (3, 0.25).

Relative frequency is the frequency divided by the number of trials.

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 the relative frequency

A drawing pin lands point up 18 times in 60 throws. Find the relative frequency.

Relative frequency Answer checked
Answer
r=0.3r=0.3
  1. The formula
    Relative frequency. In this formula is the relative frequency, is the number of times it happened, is the number of trials.
  2. What we know and what we want
    We know and we want to find , the relative frequency.
  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: estimate a count

The relative frequency of a bus being late is 0.4. How many late buses would you expect in 250 journeys?

Relative frequency Answer checked
Answer
f=100f=100
  1. The formula
    Relative frequency. In this formula is the relative frequency, is the number of times it happened, is the number of trials.
  2. What we know and what we want
    We know and we want to find , the number of times it happened.
  3. Rearrange for
    Rearrange the formula to make f the subject.
  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 number of trials

An event happened 45 times, a relative frequency of 0.15. How many trials were there?

Relative frequency Answer checked
Answer
n=300n=300
  1. The formula
    Relative frequency. In this formula is the relative frequency, is the number of times it happened, is the number of trials.
  2. What we know and what we want
    We know and we want to find , the number of trials.
  3. Rearrange for
    Rearrange the formula to make n the subject.
  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.

The relative frequency

18 successes in 60 trials: 0.3

r = f ÷ n.

Estimating a count

r = 0.4 over 250 trials: 100

f = rn.

The number of trials

45 successes with r = 0.15: 300

n = f ÷ r.

Expected number

r = 0.3, 500 trials: 150

Use r as an estimate.

Word problems

Relative frequency = number of times it happened ÷ number of trials. It estimates the probability.

The relative frequency

A coin lands heads 18 times in 60 tosses. Find the relative frequency.

  1. Divide18 ÷ 60
  2. Calculate0.3
  3. Check: 0.3 × 60 = 18 ✓r = 0.3.

Estimating a count

The relative frequency of a defect is 0.4. How many defects in 250 items?

  1. Multiply0.4 × 250
  2. Calculate100
  3. Check: 100 ÷ 250 = 0.4 ✓100.

The number of trials Higher

45 successes give relative frequency 0.15. How many trials?

  1. Divide45 ÷ 0.15
  2. Calculate300
  3. Check: 45 ÷ 300 = 0.15 ✓300.

Expected number Higher

A spinner has relative frequency 0.3 for red. Estimate the reds in 500 spins.

  1. Multiply0.3 × 500
  2. Calculate150
  3. Check: 150 ÷ 500 = 0.3 ✓150.

Common mistakes

Dividing the other way

60 ÷ 18 = 3.33 ✗

18 ÷ 60 = 0.3 ✓

Successes go on top.

Dividing by the failures

18 ÷ 42 = 0.43 ✗

18 ÷ 60 ✓

Divide by all trials.

Trusting a few trials

2 heads in 3 tosses gives 0.67 ✗

use many trials ✓

More trials give better estimates.

Adding

18 + 60 ✗

18 ÷ 60 ✓

Divide.

Exam tips

  1. r = f ÷ n.
  2. More trials give a better estimate.
  3. f = rn.
  4. n = f ÷ r.
  5. Compare with theory.

Practice questions

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

1. A die lands on six 12 times in 60 rolls. Find the relative frequency Foundation

0.2

2. Relative frequency 0.25 over 80 trials. How many successes? Foundation

20

3. A coin lands heads 45 times in 100 tosses. Find r Foundation

0.45

4. 30 successes with r = 0.12. Find the trials Higher

250

5. r = 0.35 over 400 trials. Estimate the successes Higher

140

6. 7 successes in 40 trials. Find r Higher

0.175

Practice generator

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

Solve: …

Key terms

Relative frequency
Successes divided by trials.
Trial
One repeat of the experiment.
Estimate
An approximate value.
Expected number
Probability × trials.
Experiment
A repeated test.
Bias
Unequal chances.

Frequently asked questions

What is relative frequency?

The number of times an event happened divided by the number of trials.

How does it relate to probability?

It estimates the probability.

Why do more trials help?

The result settles near the true probability.

How do I estimate a count?

Multiply the relative frequency by the number of trials.

Which page covers probability?

probability of an event.

Which page covers expected numbers?

expected number of outcomes.

More in Probability and the formula sheets.