🧮
🧮 Math & statistics

Frequency Polygon Calculator (class midpoints & points to plot)

Results update as you type.

Your numbers

Understanding the frequency polygon calculator — concept and principle

This calculator turns raw data into a frequency table with equal-width classes and lists the points of the frequency polygon: each class midpoint with its frequency, plus an empty class at each end. It also reports the modal class. Use it for statistics homework, to compare distributions or to prepare a graph on paper or in a spreadsheet.

20 scores in 5 classes20 scores in 5 classes44.574.5104.5midpoints, plus empty end classesWidth · start10 · 49.5Frequencies2, 3, 6, 6, 3Modal classes74.5 · 84.5
Join the class midpoints and close the shape at zero on both ends.

How it is calculated

Classes: [lower, lower + width), starting at the first lower boundary you choose

Frequency = number of values in each class

Midpoint = lower boundary + width ÷ 2

Points to plot: (midpoint, frequency), with an extra class of frequency 0 at each end

The principle

A frequency polygon is a line-graph version of a histogram: instead of bars, it joins the tops of the bars at their midpoints. Adding a zero-frequency class at each end brings the line down to the x-axis, so the area under the polygon matches the total of the histogram. Because lines are easy to overlay, polygons are good for comparing two distributions on one graph.

Worked example

Default inputs: 20 scores from 54 to 95, first boundary 49.5, width 10.

  1. Classes and frequencies: 49.5 – 59.5: 2, 59.5 – 69.5: 3, 69.5 – 79.5: 6, 79.5 – 89.5: 6, 89.5 – 99.5: 3.
  2. Number of classes 5, number of values 20, highest frequency 6, last upper boundary 99.5.
  3. Midpoints: 54.5, 64.5, 74.5, 84.5, 94.5, plus 44.5 and 104.5 for the empty end classes.
  4. Points to plot: (44.5, 0), (54.5, 2), (64.5, 3), (74.5, 6), (84.5, 6), (94.5, 3), (104.5, 0).
  5. Modal class midpoints: 74.5, 84.5 (a tie).

How to read the result

The polygon peaks across the 70s and 80s and falls off on both sides, a roughly symmetric shape. Two equal highest classes mean the data have a broad top rather than a single peak. Changing the width or the starting boundary can change the look, so try more than one choice.

Common mistakes

Keep in mind: A frequency polygon summarises grouped data; the exact values inside each class are lost.

Frequently asked questions

What is a frequency polygon?

A line graph that joins the points (class midpoint, frequency) of a frequency table.

Why add classes with zero frequency?

So the polygon starts and ends on the x-axis.

How is it different from a histogram?

A histogram uses bars; a frequency polygon joins the bar tops at their midpoints.

Sources: OpenStax, Introductory Statistics 2e (2023), §2.2 Histograms, Frequency Polygons, and Time Series Graphs

Checked 9 Nov 2026. OpenStax, Introductory Statistics 2e (2023), §2.2 Histograms, Frequency Polygons, and Time Series Graphs — Example 2.10 (points at the class midpoints such as 54.5 for 49.5–59.5, joined by line segments, with an empty class at each end so the graph touches the x-axis).

🧮 All math & statistics tools →🌍 Calculators by country →