Relative Frequency Calculator
How it Works
01Enter Frequency Count
Provide the count of occurrences for a given category or value.
02Enter Total Observations
Provide the total number of data points in your dataset.
03Get Relative Frequency
RF = f/n — result shown as decimal, percentage, and fraction.
04Cumulative Frequency
Cumulative relative frequency builds toward 1.0 across all categories.
Introduction
The relative frequency calculator takes a frequency count and the total number of observations and instantly returns the relative frequency as a decimal, percentage, and fraction. It also computes cumulative relative frequency, which shows the proportion of observations falling at or below each value — essential for constructing empirical cumulative distribution functions (ECDFs).
Relative frequency is the empirical counterpart to probability. When you repeat an experiment a large number of times, the relative frequency of each outcome converges to its theoretical probability — this is the Law of Large Numbers. This connection makes relative frequency tables fundamental to understanding probability theory in practice.
Applications span virtually every field: survey analysis (what percentage of respondents chose each option?), quality control (what fraction of products are defective?), sports statistics (batting average = hits / at-bats), and epidemiology (what proportion of the population has a disease?).
This calculator simplifies the construction of frequency tables from raw data and makes it easy to build relative frequency distributions for histograms, pie charts, and other visualizations that communicate data proportions clearly and accurately.
The formula
RF = f / n
Where:
As Percentage:
RF% = (f / n) × 100%
Cumulative Relative Frequency:
CRF = Σ(relative frequencies up to and including current class)
Cumulative relative frequency at the last class always equals 1.0 (100%).
Calculation In Practice
A class of 40 students was asked their favorite subject:
Relative Frequencies:
Cumulative:
Typical Use Cases
Survey Analysis
Quality Control
Sports Statistics
Epidemiology
Probability Estimation
Technical Reference
By the Law of Large Numbers, RF → P(event) as n → ∞
Frequency Table Components:
Check: Σ relative frequencies = 1.0 (within rounding error)
Histogram vs Bar Chart:
Key Takeaways
Cumulative relative frequency extends this further, allowing you to determine what percentage of observations fall below any given value — the empirical equivalent of a cumulative distribution function. Always verify that your relative frequencies sum to 1.0 (100%) as a check on your arithmetic.
For grouped data, ensure that class intervals are consistent and do not overlap. For categorical data, verify that your categories are mutually exclusive and exhaustive to ensure the relative frequencies are meaningful.