Relative Frequency Calculator

Frequency, relative frequency, percent and cumulative relative frequency from raw data or counts.

Relative frequency = category count ÷ total count. In 20 blood samples with 8 type A, the relative frequency of A is 8 ÷ 20 = 0.40 (40%). Cumulative relative frequency adds the relative frequencies in order.

Free, runs in your browser. Nothing you enter is uploaded.

How to use it

  1. Paste your observations, or switch to entering categories with counts.
  2. Check the totals.
  3. Read the frequency table and the bar chart.

What you enter

What you get

Formula

fᵣ = f / n | cumulative fᵣ = Σ fᵣ up to the value

Worked example: blood types

Input: 20 samples: A ×8, O ×7, B ×4, AB ×1

Result: A 0.40, O 0.35, B 0.20, AB 0.05

Type A was the most common in this sample.

Questions

How do you calculate relative frequency?

Divide how many times a value occurs by the total number of observations. Relative frequencies always add up to 1 (100%).

What is cumulative relative frequency?

The running total of relative frequencies. For ordered numeric data it tells you the share of values at or below each value.

Is relative frequency the same as probability?

It is an estimate of probability from observed data (experimental probability), which approaches the true probability as the sample grows.

Can I paste numbers?

Yes. Numeric values are sorted in order so the cumulative column is meaningful.

Related reading

More Statistics

All free tools · By Dr. Zubair Khalid, DVM, MS, PhD.