Quick Answer
In the data set {A, B, A, C, A, B, A}, the value A appears 4 times out of 7 total, giving a relative frequency of 4/7 = 0.5714, or 57.14%.
Separate values with commas, spaces, or newlines. Works with numbers, text, or categories.
Common Examples
| Input | Result |
|---|---|
| A, B, A, C, A, B, A | A: 0.5714 (57.14%), B: 0.2857 (28.57%), C: 0.1429 (14.29%) |
| 1, 2, 2, 3, 3, 3 | 3: 0.5000 (50.00%), 2: 0.3333 (33.33%), 1: 0.1667 (16.67%) |
| red, blue, red, red, green, blue | red: 0.5000, blue: 0.3333, green: 0.1667 |
| 5, 5, 5, 5 | 5: 1.0000 (100.00%) |
How It Works
Relative frequency measures how often a particular value occurs relative to the total number of observations. The formula is:
Relative Frequency = f / n
Where:
- f = the frequency (count) of a specific value
- n = the total number of data points
The result is always a number between 0 and 1 (inclusive). Multiply by 100 to express it as a percentage. The sum of all relative frequencies in a data set always equals 1 (or 100%).
Frequency Distribution Table
A frequency distribution table lists each unique value alongside its count, relative frequency, and percentage. This is one of the most fundamental tools in descriptive statistics, providing a clear summary of how data is distributed across categories or values.
Cumulative Relative Frequency
In more advanced analysis, cumulative relative frequency adds up the relative frequencies from the smallest value to the largest. This is useful for determining what proportion of data falls at or below a given value. This calculator focuses on individual relative frequencies.
Applications
Relative frequency is used in probability estimation, survey analysis, quality control, and any scenario where understanding the proportion of each category matters. In probability, the relative frequency of an outcome in a large number of trials approximates its theoretical probability (the law of large numbers).
Worked Example
Consider a bag of colored marbles drawn with the following results: red, blue, red, green, blue, red, red, green, blue, red. There are 10 draws total. Red appears 5 times, blue appears 3 times, and green appears 2 times. Relative frequency of red = 5/10 = 0.50 (50%). Relative frequency of blue = 3/10 = 0.30 (30%). Relative frequency of green = 2/10 = 0.20 (20%). The sum of all relative frequencies is 0.50 + 0.30 + 0.20 = 1.00 (100%), as expected.
Related Calculators
Mean, Median, Mode Calculator
Calculate the mean, median, mode, range, and other basic statistics for any data set.
Standard Deviation Calculator
Calculate the standard deviation, variance, mean, and other statistics for any data set.
Percentage Calculator
Calculate percentages: find X% of Y, what percent X is of Y, percentage increase/decrease, and more.
CalculateY