Relative Frequency Calculator

Convert raw counts into relative frequencies and cumulative percentages for up to 8 groups.
For frequency tables, surveys, and probability distributions.

Relative Frequencies

Relative frequency converts raw counts into proportions, making it possible to compare datasets of different sizes. If 200 students sit an exam and 50 score an A, the relative frequency of A is 50/200 = 0.25 (25%). That same rate from a school of 800 students means four times as many A-scorers but the same 25%, which is why relative frequencies travel well between datasets while raw counts do not.

The formula is straightforward: rf_i = f_i / N, where f_i is the count for group i and N is the total across all groups. Each relative frequency falls between 0 and 1, and they must sum to exactly 1.0 (100%). This self-check is a useful sanity check on your data entry.

Cumulative relative frequency adds the proportions in order from first to last group. When data is arranged from smallest to largest, the cumulative value at any point tells you what percentage of observations fall at or below that value. The group where cumulative frequency crosses 0.50 contains the median. Crossings at 0.25 and 0.75 bracket the interquartile range.

Relative frequency tables are the first step in several more advanced tools: frequency polygons, ogive (cumulative frequency) plots, and empirical CDF graphs. Textbooks in statistics, economics, and epidemiology all start here.

Enter the count for each group. Blank groups are left out of the table and keep their numbering, so filling groups 1, 3 and 5 gives you a table that still calls them Group 1, Group 3 and Group 5 rather than silently renumbering them. Negative counts are treated as zero and flagged, since a frequency below zero is a data-entry slip rather than a value.

One caution about the cumulative column. It is only meaningful when your groups are already ordered from smallest to largest, because “the percentage at or below this point” assumes there is an order to be below. For unordered categories like favourite colour or country of origin, read the relative frequencies and ignore the cumulative ones entirely. The calculator has no way to know which kind of data you have entered, so it reports both and leaves that judgement to you.


How we build and check this calculator

This calculator runs entirely in your browser, so the numbers you enter stay on your device. The math behind it is written by hand and tested against worked examples and standard references before the page goes live.

SuperGlobalCalculator is independently built and maintained. See how we build and verify our calculators.

Embed This Calculator

Copy the code below and paste it into your website or blog.
The calculator will work directly on your page.