How to Calculate Relative Frequency: A Step-by-Step Guide

Relative frequency shows how often a value occurs compared to the total number of observations. It is calculated by dividing the frequency of a specific value by the total count. While our Relative Frequency Calculator does this instantly, understanding the manual process helps you grasp the concept deeply. This guide walks you through each step.

What You'll Need

  • A dataset (list of values or categories)
  • Paper and pencil (or a simple calculator)
  • Basic arithmetic skills (addition, division)

Step-by-Step Process

Step 1: Count the Total Number of Observations (n)

Add up all data points in your dataset. For example, if you have 20 test scores, n = 20. This total is the denominator for every relative frequency calculation.

Step 2: List Each Unique Value or Category

Identify every distinct value in your dataset. For example, if the dataset is color preferences (Red, Blue, Green), the unique values are Red, Blue, Green. If it's numeric, list each different number.

Step 3: Count the Frequency (f) for Each Value

Tally how many times each unique value appears. The frequency is the count for that value. Make a table: column 1 for value, column 2 for frequency.

Step 4: Calculate Relative Frequency for Each Value

Use the formula: Relative Frequency = f / n. Divide each value's frequency by the total number of observations. This gives a decimal between 0 and 1. For more on the formula, see our Relative Frequency Formula page.

Step 5: (Optional) Convert to Percentage

Multiply the relative frequency by 100 to get a percentage. For example, 0.25 becomes 25%. Percentages are often easier to interpret.

Step 6: (Optional) Calculate Cumulative Relative Frequency

Add the relative frequencies in order as you go down the list. The last cumulative value should equal 1 (or 100% for percentages).

Step 7: Verify Your Results

Add up all relative frequencies. They should sum to 1 (or 100% if converted). If not, double-check your counts and division.

Worked Example 1: Favorite Fruits

Suppose you survey 30 people on their favorite fruit: Apple (12), Banana (10), Cherry (8).

  1. Total n = 12 + 10 + 8 = 30
  2. Unique values: Apple, Banana, Cherry
  3. Frequencies: Apple 12, Banana 10, Cherry 8
  4. Relative frequencies:
    • Apple: 12/30 = 0.4
    • Banana: 10/30 ≈ 0.333
    • Cherry: 8/30 ≈ 0.267
  5. Percentages: Apple 40%, Banana 33.3%, Cherry 26.7%
  6. Cumulative: 0.4 → 0.733 → 1.0 (or 40% → 73.3% → 100%)
  7. Sum check: 0.4 + 0.333 + 0.267 = 1.0 ✓

These results show that Apple is the most preferred fruit, relative to the group. For more on interpreting such values, visit Interpreting Relative Frequency.

Worked Example 2: Exam Scores

A class of 15 students scored: 70, 75, 80, 85, 70, 90, 75, 80, 85, 70, 75, 80, 85, 90, 95.

  1. Total n = 15
  2. Unique values: 70, 75, 80, 85, 90, 95
  3. Count frequencies:
    • 70 appears 3 times
    • 75 appears 3 times
    • 80 appears 3 times
    • 85 appears 3 times
    • 90 appears 2 times
    • 95 appears 1 time
  4. Relative frequencies (f/15):
    • 70: 3/15 = 0.2 (20%)
    • 75: 3/15 = 0.2 (20%)
    • 80: 3/15 = 0.2 (20%)
    • 85: 3/15 = 0.2 (20%)
    • 90: 2/15 ≈ 0.1333 (13.3%)
    • 95: 1/15 ≈ 0.0667 (6.7%)
  5. Check sum: 0.2+0.2+0.2+0.2+0.1333+0.0667 = 1.0 (approximately; rounding may cause slight deviation).

Notice that scores 70-85 each account for 20% of the class, while higher scores are less frequent. To learn more about the base concept, read What is Relative Frequency?

Common Pitfalls

  • Using wrong total: Ensure n is the total number of observations, not the number of unique values.
  • Rounding errors: When working with fractions, round consistently (e.g., to 2-3 decimals) but note that cumulative sums may not exactly equal 1 due to rounding.
  • Confusing frequency with relative frequency: Frequency is a count; relative frequency is a proportion.
  • Forgetting to sort: For cumulative frequency, order values logically (e.g., ascending for numbers).
  • Omitting categories with zero frequency: If a value does not appear, its relative frequency is 0; include it only if needed for completeness.

Why Calculate By Hand?

Manual calculation builds intuition. You see how each value contributes to the whole. Once you understand the process, you can use tools like our Relative Frequency Calculator to save time.

For students wanting a simpler breakdown, check Relative Frequency for Students. For quick answers, see the FAQ.

Try the free Relative Frequency Calculator ⬆

Get your Relative frequency is the proportion of times a value occurs in a dataset, calculated by dividing the frequency of that value by the total number of observations. result instantly — no signup, no clutter.

Open the Relative Frequency Calculator

Contact Us