Relative frequency is the count for a value or class divided by the total count, shown as a fraction, decimal, or percent.
Relative frequency is one of those stats skills that keeps showing up: in homework, lab reports, surveys, and quick classroom polls. It turns raw counts into a share of the whole, so you can compare groups even when totals change.
This article walks you through the clean method, shows how to handle categories and class intervals, and gives you checks that catch the usual slip-ups. You’ll end with results you can trust and a table that actually makes sense on the page.
What Relative Frequency Means In Plain Terms
Frequency is a count. Relative frequency is that count as a share of the total.
If 8 students chose option A and there are 40 students total, the relative frequency for A is 8 ÷ 40. That share can be written three ways:
- Fraction: 8/40 (then reduce if you want)
- Decimal: 0.20
- Percent: 20%
The payoff is simple: relative frequency lets you compare categories without getting stuck on raw size. A class of 20 and a class of 200 can still be compared when you use shares.
When You Should Use Relative Frequency
Use it any time you’re turning data into a “how common is this?” statement.
Common places it shows up
- Survey responses (yes/no, multiple choice, ratings)
- Counts by category (sports teams, colors, device types)
- Grouped number data (test-score ranges, height intervals)
- Graphs that show proportions (relative frequency bar charts, percent histograms)
If you can count occurrences, you can convert to relative frequency.
How To Find The Relative Frequency Step By Step
Use the same routine every time. It keeps your work tidy and your totals consistent.
Step 1: List each value or class you’re counting
If your data is categorical, list the categories. If it’s numerical and spread out, decide whether you’re using single values or class intervals (like 60–69, 70–79, and so on).
Step 2: Count the frequency for each row
Tally each occurrence and write the final count in a frequency column. If you’re using class intervals, each data point must land in one interval only.
Step 3: Find the total number of data points
Add all frequencies. That sum is your total, usually written as n. If your total came from a list of raw data, double-check by counting the list length too.
Step 4: Divide each frequency by the total
For each row:
Relative frequency = frequency ÷ total
Step 5: Choose your format and stay consistent
Decimals are common in stats tables. Percents are common in reports and slides. Fractions are fine in math classes. Pick one and stick with it across the whole table.
Step 6: Run two fast checks
- Range check: each relative frequency should be between 0 and 1 (or 0% and 100%).
- Sum check: all relative frequencies should add up to 1 (or 100%), with small rounding wiggles if you rounded.
A Worked Example With Categories
Say you asked 25 learners which study time slot they prefer. Your tally looks like this:
- Morning: 6
- Afternoon: 9
- Evening: 8
- Night: 2
The total is 6 + 9 + 8 + 2 = 25.
Now divide each count by 25:
- Morning: 6/25 = 0.24 = 24%
- Afternoon: 9/25 = 0.36 = 36%
- Evening: 8/25 = 0.32 = 32%
- Night: 2/25 = 0.08 = 8%
Check the sum: 0.24 + 0.36 + 0.32 + 0.08 = 1.00. Clean.
Finding Relative Frequency With Class Intervals
When data has lots of distinct values, a table of single values gets messy. Class intervals fix that by grouping values into ranges.
How to set up class intervals that behave well
- Keep widths equal: if one class covers 10 points, keep them all at 10.
- No overlap: 70–79 and 80–89 don’t share values.
- No gaps: your classes should cover the whole span you plan to report.
- Clear rule for boundaries: in continuous data, use a consistent rule like “include the lower boundary, exclude the upper boundary.”
After you tally the frequency in each class, relative frequency is still the same move: frequency ÷ total.
What To Write In Your Table And What To Leave Out
A strong relative frequency table is easy to scan. It shows the categories or classes, the frequency, and the relative frequency. That’s it. If you want one more column, make it cumulative relative frequency (more on that soon).
If you’re writing for a class assignment, ask what format your instructor wants. If you’re writing a report, pick decimals or percents and keep the rounding rule consistent from top to bottom.
Relative Frequency Cheatsheet By Data Setup
This table helps you decide what to count and how to present it when the data format changes.
| Data Setup | What You Count | Relative Frequency You Report |
|---|---|---|
| Single categorical question | Each category total | Category count ÷ n |
| Multiple-choice with many options | Each option total | Option count ÷ n, then percent |
| Discrete number data (small range) | Each number’s count | Value count ÷ n, shown as decimal |
| Continuous number data (wide range) | Class interval counts | Class count ÷ n, then percent |
| Two groups you want to compare | Counts within each group | Within-group count ÷ group total |
| One dataset across time periods | Counts per period category | Period count ÷ n for that period |
| Histogram-ready grouped data | Bin counts | Bin count ÷ n (axis labeled as percent) |
| Running totals needed | Counts in sorted order | Cumulative sum of relative frequencies |
Finding Relative Frequency In Tables And Graphs
Once your table is set, you can turn it into a graph without changing the math.
Relative frequency bar chart
Use categories on the horizontal axis. Use relative frequency (decimal or percent) on the vertical axis. The tallest bar shows the most common category as a share, not as a raw count.
Relative frequency histogram
Use bins (class intervals) on the horizontal axis. Use relative frequency on the vertical axis. This makes it easier to compare shapes across samples of different sizes.
If you want a clean definition and a reference layout, OpenStax shows relative frequency tables and how the division by the total works in a classroom-style dataset: OpenStax section on frequency and relative frequency.
If you’re pairing a table with a histogram, NIST’s handbook page lays out what a histogram is doing and what it reveals about a dataset’s shape: NIST histogram overview.
Cumulative Relative Frequency Without Confusion
Cumulative relative frequency is a running total of relative frequencies in order. It answers: “Up to this point, what share of the data has shown up?”
You’ll see it most in sorted tables and class-interval tables. It’s used for percentiles and for reading “how much is at or below X” statements.
How to compute it
- Sort rows by value or by class interval from low to high.
- Compute relative frequency for each row.
- Add them as you go: row 2 cumulative equals row 1 + row 2, and so on.
Two checks keep it honest: the cumulative column should never go down, and the last value should land on 1 (or 100%) with rounding wiggles.
Rounding Rules That Keep Your Totals Clean
Rounding is where many tables go sideways. A table can look fine row by row, then fail the sum check because rounding was handled loosely.
A steady way to round decimals
- Pick a precision before you start: two decimals, three decimals, or percent to one decimal place.
- Keep full-precision values in your scratch work.
- Round only in the final table.
If your rounded decimals add to 0.99 or 1.01, that’s often just rounding. If it lands on 0.94, something broke earlier.
Mistakes That Trip People Up
Most errors come from one of these spots. Scan this list when your numbers feel off.
Mixing totals from different places
If you wrote down totals from a survey form, then also tallied from the raw list, make sure both totals match. If they don’t, trust the raw list and fix the tally.
Counting a data point twice
This happens with class intervals that overlap or with unclear boundary rules. Make each data point land in one row only.
Using the wrong denominator
Relative frequency uses the total number of observations, not the number of categories. If you divide by the number of rows, you’ll get nonsense that still looks “neat.”
Switching formats mid-table
If half the column is decimals and the rest is percents, readers can’t compare rows at a glance. Pick one format.
Skipping the sum check
This is the fastest detector. If you skip it, you’ll miss easy fixes.
Relative Frequency Practice Checks You Can Run In One Minute
Before you submit or publish, run these checks. They catch nearly every mistake without extra math.
| Check | How To Do It | What You Should See |
|---|---|---|
| Total matches the raw data | Count the raw list length, then compare with summed frequencies | Both totals match |
| Relative frequency range | Scan the column for negatives or values above 1 | All values are 0 to 1 |
| Percent range | If using percent, scan for negatives or values above 100 | All values are 0% to 100% |
| Sum check | Add the relative frequency column (rounded) once | Near 1.00 or 100% |
| Class intervals behave | Check for overlap and gaps between class limits | No overlaps, no gaps |
| Boundary rule is consistent | Confirm the same include/exclude rule is used for every class | No data point can fit two rows |
| Cumulative column rises | Scan cumulative values from top to bottom | Never decreases |
| Final cumulative total | Look at the last cumulative value | Ends at 1.00 (or 100%) |
How To Find The Relative Frequency With A Calculator Or Spreadsheet
You can do the division by hand, but tools save time once your table has many rows.
Calculator approach
Keep the total on paper. For each row, type frequency ÷ total. If you need percent, multiply by 100 after you get the decimal.
Spreadsheet approach
Put frequencies in one column and the total in a single cell. Then copy the division formula down the relative frequency column. Use a fixed reference to the total cell so the denominator stays the same as you fill down.
After that, format the column as decimals or percents. Then do the sum check with a single SUM cell.
Mini Wrap-Up You Can Use Right Away
If you remember one rule, make it this: relative frequency is a share, so it’s always “row count ÷ total count.”
Build a clean frequency table, divide each row by the same total, choose one format, and run the sum check. That’s the whole skill. Once it clicks, you’ll spot errors in seconds.
References & Sources
- OpenStax.“Frequency, Frequency Tables, and Levels of Measurement.”Shows how relative frequencies come from dividing each frequency by the total and how they can be written as decimals, fractions, or percents.
- NIST/SEMATECH.“Histogram.”Explains what a histogram summarizes, which helps when you graph grouped data using relative frequencies on the vertical axis.