In some cases it's better to use experimental data instead of theory — and our relative frequency calculator can help you with that. You're probably familiar with the term frequency in statistics, but do you know the relative frequency meaning? It's not to be confused with frequency in physics!
If the answer is no, read on to find out. We'll also show you how to find the relative frequency and use it in the world of sports.
What is the relative frequency in statistics?
The relative frequency definition is the number of times an event occurs during experiments divided by the number of total trials conducted. In other words, it tells you how often something happens compared to all outcomes. This is why it's relative — we consider it in proportion to something else.
You can encounter other terms used interchangeably with relative frequency, such as experimental probability or empirical probability. This may cause confusion: is this the quantity computed by a probability calculator that we are so familiar with? Not really; that term is customarily used to refer to theoretical probability. So it's a good idea to compare the two quantities.
What's the difference between experimental and theoretical probability?
Experimental probability is the estimated likelihood of a particular outcome based on repeated observations — in other words, something that actually happened. Theoretical probability tells us what should happen if the results were purely theoretical.
For example, if you flip a coin, the chances of landing on either side are exactly 50/50 — theoretically. However, if you tossed a coin 100 times, it's unlikely that you'd get exactly 50 tails.
Such cases are where the relative frequency formula comes in handy. Interestingly enough, the more trials you conduct, the closer the experimental value will be to the theoretical probability — this is the law of large numbers. It works the same way for scenarios with more possible outcomes, such as rolling dice.
| Coin tosses | Heads observed | Relative frequency | Gap to 50% |
|---|---|---|---|
| 10 | 7 | 70.00% | 20.00 pp |
| 100 | 58 | 58.00% | 8.00 pp |
| 1,000 | 521 | 52.10% | 2.10 pp |
| 10,000 | 5,037 | 50.37% | 0.37 pp |
Note that the relative gap shrinks while the absolute number of extra heads may still grow. That's exactly what the law of large numbers promises: the proportion converges, not the count.
How to calculate relative frequency?
The relative frequency formula could hardly be simpler:
relative frequency = f / n
where:
- f — the frequency, i.e. how many times the event occurred; and
- n — the total number of trials or observations.
The result is always a number between 0 and 1, which you can express as a decimal, a fraction or a percentage. Multiply by 100 to get the percentage:
relative frequency (%) = (f / n) × 100
A useful sanity check: the relative frequencies of all possible outcomes must add up to exactly 1 (or 100%). If they don't, a category is missing or an observation was counted twice.
A worked example from sports
A basketball player attempted 84 free throws this season and made 63 of them. What is the relative frequency of a successful throw?
- The frequency of the event is f = 63.
- The total number of trials is n = 84.
- Divide: 63 / 84 = 0.75.
- As a percentage that's 75%, and as a reduced fraction 3/4.
So we estimate the player's chance of scoring the next free throw at 75%. This is a genuine experimental probability — nobody could have derived it from theory, because it depends on the player.
How to find the relative frequency with the relative frequency calculator?
Our calculator works in three modes. Pick the one that matches the data you have:
- Single event — you already know how many times the event happened and how many trials there were. Enter both numbers and you get the relative frequency as a decimal, a percentage, a reduced fraction and odds. Optionally enter the theoretical probability and the calculator will compare experiment with theory for you.
-
Frequency table — you have several categories. Enter them as
label: countlines (for exampleHeads: 42), or paste a raw list of observations and let the calculator count them. You get a complete relative frequency table with cumulative columns and a bar chart. - Grouped data — you have many numeric measurements. The calculator splits the range into classes, builds the grouped relative frequency distribution and draws the histogram.
For the last two modes you can choose a measurement system — plain numbers, metric (cm, kg, °C, min…), US/Imperial (in, lb, °F, gal…) or one of 24 world currencies — so class boundaries and averages are shown in the units your data actually uses. The relative frequency itself is a proportion and never carries a unit.
Relative frequency meaning, applications and relative frequency table
A relative frequency table lists every outcome next to how often it occurred and what share of the total that represents. It is the standard way of summarising a data set, because the proportions can be compared between samples of different sizes — raw counts cannot.
Here's a relative frequency table for 50 rolls of a six-sided die:
| Value | Frequency | Relative frequency | Percent | Cumulative % |
|---|---|---|---|---|
| 1 | 7 | 0.14 | 14% | 14% |
| 2 | 9 | 0.18 | 18% | 32% |
| 3 | 6 | 0.12 | 12% | 44% |
| 4 | 11 | 0.22 | 22% | 66% |
| 5 | 8 | 0.16 | 16% | 82% |
| 6 | 9 | 0.18 | 18% | 100% |
| Total | 50 | 1.00 | 100% | — |
Theory says each face should turn up 1/6 ≈ 16.67% of the time. None of the observed values matches that exactly, and they don't have to — with only 50 rolls this much scatter is entirely ordinary. Tick compare with equal likelihood in the calculator and it will run a chi-square goodness-of-fit test to tell you whether the deviations are larger than chance would explain.
Relative frequencies are used almost everywhere data is summarised:
- Sports — free-throw percentage, first-serve success rate, conversion of penalties.
- Quality control — the share of defective items in a production batch.
- Medicine — the proportion of patients responding to a treatment.
- Weather — a forecast of a 30% chance of rain is a relative frequency over comparable past days.
- Business — the share of visitors who buy, grouped sales amounts, customer ratings.
- Insurance — claim rates estimated from historical records rather than from theory.
Cumulative relative frequency
The cumulative relative frequency adds up the relative frequencies row by row, so each line answers “what share of the data is at most this value?”. The final row is always 100%. It only makes sense when the categories have a natural order — numbers or ordered classes. For unordered labels such as colours or brands, read the relative frequency column and ignore the cumulative one.
FAQs
What is the difference between frequency and relative frequency?
Frequency is a plain count — how many times something happened. Relative frequency divides that count by the total number of observations, giving a proportion between 0 and 1. Frequency depends on the size of your sample; relative frequency doesn't, which is what makes samples comparable.
How do I calculate the relative frequency of 15 out of 60?
Divide 15 by 60 to get 0.25. Multiply by 100 for 25%, or reduce the fraction to 1/4. All three are the same relative frequency written differently.
Can relative frequency be greater than 1?
No. Since the event cannot occur more often than the number of trials, f ≤ n and the ratio never exceeds 1 (100%). A value above 1 means the frequency or the total was entered incorrectly. Percentages in a table can only add up to more than 100% if the categories overlap.
Is relative frequency the same as probability?
Not quite. Relative frequency is an estimate of probability from data, so it comes with uncertainty — which is why the calculator also reports a confidence interval. Theoretical probability is derived from the structure of the experiment instead. They converge as the number of trials grows.
How many trials do I need?
It depends on the precision you want. The margin of error shrinks roughly with the square root of the number of trials, so quartering the error takes about sixteen times as many trials. The calculator shows the current margin of error, which is the practical way to judge whether you have enough data.
What is a relative frequency histogram?
It's a histogram whose bars show relative frequencies rather than counts, so the total area corresponds to 100% of the data. Choose the grouped data mode and the calculator will build one from your measurements, along with the class boundaries and midpoints.