Converts raw category counts into percentages of the whole dataset.
How it works
Each category’s count is divided by the total count across all categories and converted to a percentage.
What this does not include
This does not include grouping continuous numeric data into bins — for that, use this site’s histogram calculator instead.
How to use this calculator
- Enter the count for each category (two or three categories supported).
A worked example
Category counts of 20, 30, and 50 (total 100) convert directly to relative frequencies of 20%, 30%, and 50% — since the counts already sum to a round total, the percentages match the raw counts exactly.
What the variables mean
| Variable | Meaning |
|---|---|
| Category count | How many observations fall into each category |
| Relative frequency | That category’s count as a percentage of the total |
Edge cases worth knowing
All relative frequencies in a complete dataset always sum to 100% — a quick way to sanity-check that no category was missed or double-counted.
A total count of zero across all categories makes the percentages undefined — there’s no total to divide each count by, so the calculator returns no result.
Frequently asked questions
Do relative frequencies always add up to 100%?
Yes — since every count is divided by the same total, the resulting percentages across all categories will always sum to exactly 100%.
What’s the difference between frequency and relative frequency?
Frequency is the raw count; relative frequency expresses that count as a proportion or percentage of the total, making it easier to compare across datasets of different sizes.
Where is relative frequency commonly used?
Survey results, election polling, and any situation where showing a category’s share of the whole matters more than the raw count.