Uni-Sine
MathematicsStatistics

Frequency polygons

A frequency polygon is a line graph for grouped data. You plot the frequency of each class at the midpoint of its class interval, then join the points with straight lines. Frequency polygons show the shape of a distribution at a glance, and because they are just lines, two or more can share one set of axes for comparison.

How to draw a frequency polygon

Forty people (group A) did a puzzle and their times were recorded in this grouped frequency table. The class 5 < t ≤ 10 means more than 5 minutes, up to and including 10.

Time, t (minutes)FrequencyMidpoint
0 < t ≤ 542.5
5 < t ≤ 10117.5
10 < t ≤ 151512.5
15 < t ≤ 20717.5
20 < t ≤ 25322.5
  1. Find the midpoint of each class. Add the two class boundaries and halve: (5 + 10) ÷ 2 = 7.5.
  2. Draw the axes. Put the data (time) along the horizontal axis with a steady scale, and frequency up the vertical axis.
  3. Plot each point at (midpoint, frequency): (2.5, 4), (7.5, 11), (12.5, 15), (17.5, 7) and (22.5, 3).
  4. Join the points with straight lines, in order, using a ruler. Don't draw a smooth curve.
051015202551015
Group A: time in minutes along the bottom, frequency up the side. Each point sits at the midpoint of its class.

Join only the points you plotted unless the question tells you otherwise. Some textbooks close the shape by adding a point with frequency 0 at the midpoint of an empty class at each end, which turns the line into a true polygon.

practice
Pick an answer, then check it.
On a frequency polygon, where do you plot the point for the class 20 < t ≤ 30?

Reading a frequency polygon

  • The highest point shows the modal class. For group A it is 10 < t ≤ 15, with 15 people.
  • Add the frequencies to get the total. 4 + 11 + 15 + 7 + 3 = 40 people.
  • You can count above or below a class boundary. People who took more than 15 minutes: 7 + 3 = 10, which is 10 ÷ 40 = 25%.
  • You can't read exact values. The data is grouped, so the graph doesn't tell you any individual time, and the lines between points don't represent real data.

Estimating the mean

The midpoints you plotted also give an estimate of the mean. Multiply each midpoint by its frequency, add them up and divide by the total frequency:

(2.5 × 4) + (7.5 × 11) + (12.5 × 15) + (17.5 × 7) + (22.5 × 3) = 10 + 82.5 + 187.5 + 122.5 + 67.5 = 470, and 470 ÷ 40 = 11.75 minutes.

It's an estimate because we have assumed everyone in a class took the midpoint time. The mean, median and mode calculator works this out for any table.

Comparing two frequency polygons

This is where frequency polygons beat bar charts. A second group of 40 (group B) did the same puzzle:

Time, t (minutes)0 < t ≤ 55 < t ≤ 1010 < t ≤ 1515 < t ≤ 2020 < t ≤ 25
Group A frequency4111573
Group B frequency1512148
051015202551015AB
Group A (pink) and group B (black) on one set of axes. B's polygon sits further to the right: B took longer.

To compare them, make one point about average and one about spread or shape, and say what it means in context:

  • Average: group B's modal class is 15 < t ≤ 20, higher than group A's 10 < t ≤ 15. B's estimated mean is 615 ÷ 40 = 15.4 minutes (1 d.p.), against 11.75 for A. On average, group B took longer.
  • Shape: group B's polygon is shifted to the right, and more of its people are in the slower classes: 22 people in B took more than 15 minutes, against 10 in A.

When the totals are different, compare proportions or percentages rather than raw frequencies, or the bigger group's polygon will simply look taller.

Frequency polygons, histograms and frequency diagrams

"Frequency diagram" is a general name for any chart that shows frequencies. The main types:

DiagramBest forHow frequency is shown
Bar chartCategories, or ungrouped discrete dataHeight of separate bars
HistogramGrouped continuous dataArea of bars with no gaps (frequency density for unequal widths)
Frequency polygonGrouped data, especially to compare data setsPoints at class midpoints joined by straight lines
Cumulative frequency graphMedians, quartiles and running totalsRunning total plotted at each upper class boundary

If a histogram has equal class widths, joining the midpoints of the tops of its bars gives the frequency polygon for the same data. For ungrouped discrete data, such as the number of goals scored in each match, you can draw a frequency polygon by plotting each value at its own frequency. The histogram maker draws histograms for grouped data, and the cumulative frequency guide covers running totals.

Common mistakes

  • Plotting at the class boundaries. Use the midpoint, not the start or end of each class.
  • Drawing bars. A frequency polygon is points joined by lines, with no bars.
  • Joining the last point back to the first. The line goes from left to right only.
  • Uneven scales. The horizontal axis must go up in equal steps, even if the first class doesn't start at 0.
  • Comparing without context. "B is higher" isn't enough. Say "on average, group B took longer to finish the puzzle".

Practise statistics questions alongside other topics in today's GCSE Maths Foundation or GCSE Maths Higher short timed paper.

Common questions

What is a frequency polygon?
A line graph for grouped data: the frequency of each class is plotted at the midpoint of the class interval, and the points are joined with straight lines.
How do you draw a frequency polygon?
Work out the midpoint of each class, plot each frequency above its midpoint, then join the points in order with straight lines using a ruler.
Do you plot frequency polygons at the midpoint?
Yes. Each point goes at the midpoint of its class interval. Cumulative frequency graphs are the ones plotted at upper class boundaries.
What is the difference between a histogram and a frequency polygon?
A histogram uses bars whose areas show the frequencies. A frequency polygon uses points at the class midpoints joined by lines, which makes it easier to put several data sets on one graph.
Do you join the ends of a frequency polygon to the axis?
Usually not: join only the points you plotted unless the question asks for more. Some textbooks close the shape with zero-frequency points at each end.
What is a frequency diagram?
Any chart that shows frequencies, such as a bar chart, histogram or frequency polygon.

Revision cards

Say the answer first, then flip the card to check it.

Where to go next

  • Solve it

    Histogram Maker

    Draw histograms with frequency density and cumulative frequency

    Open the tool
  • Test it

    GCSE Maths Foundation

    A new exam-style paper every day, with instant marking and a mark scheme

    Start today's paper
  • Test it

    GCSE Maths Higher

    A new exam-style paper every day, with instant marking and a mark scheme

    Start today's paper
Read next
Maths · StatisticsFrequency density formula: how to work it outThe frequency density formula, how to work it out for a histogram with unequal class widths, reading frequencies back, estimating from bars, and practice.