Relative Frequency Histogram Maker

Turn raw data into a histogram of proportions. Every bar shows the share of values in its bin, with a matching relative frequency table.

  • 100% free
  • No sign-up
  • No watermark
  • PNG · JPG · SVG · PDF

Your work is saved automatically in this browser. Nothing is uploaded.

Analyze your data

ClassFreq.RelativeCum.Cum. %
[40, 50)43.3%43.3%
[50, 60)1915.8%2319.2%
[60, 70)3226.7%5545.8%
[70, 80)3428.3%8974.2%
[80, 90)2218.3%11192.5%
[90, 100]97.5%120100%
Total120100%

Your data

120 numbers

Separate numbers with commas, spaces or new lines. Paste a column from Excel or Google Sheets, or drop an .xlsx / .csv file here.

Start from an example

What is a relative frequency histogram?

A relative frequency histogram looks just like an ordinary histogram, but the y-axis shows the proportion of observations in each bin rather than the raw count. Because every bar is a fraction of the whole, the heights always add up to 1 (or 100%), whatever the size of your data set.

How to make a relative frequency histogram

  1. Paste or type your raw data into the data box, or import an Excel or CSV file.
  2. Check the bins in the Bins tab. Choose a bin width that gives clean class intervals, such as 5 or 10.
  3. Keep the y-axis on Relative for decimals, or switch to Percent.
  4. Add a title and axis labels, then download your histogram or copy the relative frequency table.

Relative frequency formula

For each bin: relative frequency = f ÷ n, where f is the number of values in the bin and n is the total number of values.

ScoreFrequency (f)Relative frequency (f ÷ 40)
50–6040.10 (10%)
60–70100.25 (25%)
70–80140.35 (35%)
80–9080.20 (20%)
90–10040.10 (10%)
Total401.00 (100%)

The frequency table under the chart does this calculation for you, including cumulative relative frequency.

Why use relative frequency?

  • Compare groups of different sizes on the same scale. Add a second data set or use the double histogram maker.
  • Estimate probabilities: a bar of 0.35 means about a 35% chance that a randomly chosen value falls in that bin.
  • Communicate clearly: “35% of students scored 70–80” is easier to grasp than “14 students”.

Need running totals instead? Try the cumulative frequency histogram maker, or go back to the main histogram maker.

Frequently asked questions

What is a relative frequency histogram?

A relative frequency histogram shows the proportion of values in each bin instead of the count. Each bar's height is the bin's frequency divided by the total number of values, so all the bars add up to 1 (or 100%).

How do you calculate relative frequency?

Relative frequency = frequency of the bin ÷ total number of values. For example, if 12 of 60 students scored 70–80, the relative frequency of that bin is 12 ÷ 60 = 0.2, or 20%.

Can I show percentages instead of decimals?

Yes. In the Bins tab, choose 'Percent' for the y-axis. The bars then add up to 100% and the axis is labelled automatically.

When should I use relative frequency instead of frequency?

Use relative frequency when you compare groups of different sizes, such as two classes with 25 and 60 students. Counts would make the bigger group look more important; proportions put them on the same scale.

What is the difference between relative frequency and density?

Relative frequency is the share of values in a bin. Density is that share divided by the bin width, so the total area of the bars equals 1. Density is the right choice when bins have different widths or when you overlay a probability curve.

More histogram makers