Quick answer
Relative frequency = count ÷ total. Counts of 5, 3 and 2 total 10, giving relative frequencies of 0.5, 0.3 and 0.2 (50%, 30%, 20%).
Enter the counts of each category. The calculator returns the relative frequencies, percentages and total.
Related tools: Relative Standard Deviation Calculator: Relative standard deviation (RSD) as a percentage. Standard Deviation Calculator: Sample or population standard deviation with variance and mean. Z-Score Calculator: Standardize a value using a mean and standard deviation.
How to use the Relative Frequency Calculator
- Type counts, for example 5, 3, 2.
- Press Calculate to see the result, and use Reset to start again.
| Input | What to enter | Allowed values |
|---|---|---|
| Counts | Text, such as 5, 3, 2 | — |
Formula and method
Formula
relative frequency = count ÷ total
IEEE-754 double precision; shown to at most 6 decimal places.
Each count divided by the total.
Worked examples
This example is verified: each one is an automated test case that the live calculator must reproduce exactly.
Example 1
Inputs: Counts = 5, 3, 2.
| Result | Value |
|---|---|
| Relative frequencies | 0.5, 0.3, 0.2 |
| Percentages | 50%, 30%, 20% |
| Total | 10 |
The first line is the headline result (relative frequencies). Below it the relative Frequency Calculator lists percentages and total, which describe the same case from other angles. IEEE-754 double precision; shown to at most 6 decimal places.
Estimating probability
The relative frequency of an event in many trials approximates its probability (law of large numbers). Rolling a die 600 times and getting 105 sixes gives 0.175, near 1/6.
Details
Relative frequencies sum to 1. At least two counts and a positive total are needed. They're the heights of a histogram scaled to proportions.
From counts to shares
Counts of 5, 3 and 2 total 10, so relative frequencies are 0.5, 0.3 and 0.2, or 50%, 30% and 20%. They always add to 1.
Relative frequencies let you compare groups of different sizes.
What happens with invalid input
These messages are produced by the calculator itself, so you know what to fix.
- Counts: entering "0 0" shows "At least one count must be positive." beside that field and no result.
Choosing between the Relative Frequency Calculator and similar calculators
Each row shows what a related calculator on this site asks for and what it returns, so you can pick the one that matches your question.
| Calculator | You enter | It returns |
|---|---|---|
| [Relative Standard Deviation Calculator](/statistics/relative-standard-deviation-calculator/) | data set and data type | Relative standard deviation |
| [Standard Deviation Calculator](/statistics/standard-deviation-calculator/) | data set and data type | Population standard deviation (σ) |
| [Z-Score Calculator](/statistics/z-score-calculator/) | value, mean and standard deviation | Z-score |
| [Mean Median Mode Range Calculator](/statistics/mean-median-mode-range-calculator/) | data set | Mean |
| [Median Calculator](/statistics/median-calculator/) | data set | Median |
Background: descriptive statistics
Population statistics divide by n and sample statistics divide by n − 1 (Bessel's correction), because a sample tends to understate variability. Use the population version when your data is every value in the group, and the sample version when it is a subset.
Defaults differ between tools, and so do quartile conventions, which can give slightly different values for small data sets; this page states the method it uses.
Assumptions and limitations
- At least two counts, total positive
If a required value is empty, not a number, or outside its allowed range, the form marks that field with a message and shows no result instead of a misleading number. The automated checks deliberately try invalid entries for counts to confirm this.
Frequently asked questions
What is a cumulative relative frequency?
The running total of relative frequencies.
How do I convert to percent?
Multiply a relative frequency by 100: 0.3 becomes 30%.
What do they add up to?
Relative frequencies of all categories add to 1, or 100% when written as percentages.
What is the difference between frequency and relative frequency?
Frequency is a count. Relative frequency divides the count by the total.
How do I turn relative frequencies into percentages?
Multiply by 100. A relative frequency of 0.3 is 30%.
What does the Relative Frequency Calculator calculate?
Relative frequencies and percentages from counts. It returns Relative frequencies, Percentages and Total.
What formula does the Relative Frequency Calculator use?
relative frequency = count ÷ total. Each count divided by the total.
What do I need to enter in the relative Frequency Calculator?
You enter Counts.
How is the result rounded or limited?
IEEE-754 double precision; shown to at most 6 decimal places. At least two counts, total positive.
What is an example of a relative Frequency result?
With counts 5, 3, 2, the relative frequencies is 0.5, 0.3, 0.2.
Related calculators
- Relative Standard Deviation Calculator — Relative standard deviation (RSD) as a percentage.
- Standard Deviation Calculator — Sample or population standard deviation with variance and mean.
- Z-Score Calculator — Standardize a value using a mean and standard deviation.
- Mean Median Mode Range Calculator — Mean, median, mode and range of a data set.
- Median Calculator — Median of a data set.
- Variance Calculator — Sample or population variance.
Sources
- NIST/SEMATECH e-Handbook of Statistical Methods (itl.nist.gov/div898/handbook)
- Standard textbook definitions (e.g. Moore, McCabe & Craig, Introduction to the Practice of Statistics)
Content last reviewed 2026-11-04. Formulas and worked examples are checked by automated tests against independently computed values.