Create a frequency polygon
Enter numeric data and choose how many equal-width classes to use.
About frequency polygons
A frequency polygon is a line graph that shows how observations are distributed across numeric class intervals. Each point uses a class midpoint on the horizontal axis and the class frequency on the vertical axis. Connecting those points makes the overall shape of a distribution easy to inspect. Peaks identify intervals containing many observations, while valleys and long tails reveal gaps, skew, or unusual values. Because every point represents a bin rather than a single record, the graph summarizes even a long data set in a compact form.
This calculator first reads the numbers in your data set, then finds the minimum and maximum. It divides that range into the requested number of equal-width classes. Values on an internal class boundary are assigned to the class on the right, while the final class includes its upper endpoint. That convention ensures every observation is counted exactly once. For each class, the tool reports its lower and upper bounds, midpoint, and frequency. Plot the midpoints against the frequencies and connect adjacent points to construct the polygon.
The number of classes affects the story the graph tells. Too few bins can hide clusters or multiple peaks, whereas too many bins can make random noise appear important. Five to ten classes is often a useful starting point for a modest classroom data set. Larger samples may justify more classes. The square-root rule suggests roughly the square root of the observation count, but subject knowledge and readable class boundaries matter as well. Try nearby class counts and check whether the broad pattern remains stable.
Frequency polygons are especially useful when comparing distributions. Several lines can share one coordinate system more cleanly than overlapping histogram bars. Teachers can compare test-score groups, analysts can contrast response-time periods, and quality teams can monitor measurements from different production runs. Use identical class boundaries whenever you compare groups so that equivalent points describe equivalent ranges.
A frequency polygon summarizes rather than preserves every detail. It should be paired with measures such as the mean, median, spread, and sample size when making statistical claims. Also inspect the original observations before choosing boundaries, because input errors and extreme outliers can stretch the range and compress most points into only a few classes. With sensible bins and clean data, the calculator provides the coordinates needed for a fast, transparent view of distribution shape.
Frequency polygon FAQ
What is a frequency polygon?
A frequency polygon is a line graph of class midpoints against class frequencies. It emphasizes the shape and changes across a grouped distribution.
How is it different from a histogram?
A histogram displays frequencies as touching bars over class intervals. A frequency polygon connects midpoint-frequency coordinates, which makes multiple distributions easier to compare.
How many classes should I use?
Start with five to ten classes for a moderate data set, or try the square root of the sample size. Compare nearby choices and retain boundaries that communicate the stable pattern clearly.
Are boundary values counted twice?
No. An internal boundary goes into the class on its right, and the last class includes the maximum value.
Can I compare two frequency polygons?
Yes, and comparison is one of the format's strengths. Use exactly the same class limits for both groups so corresponding points are meaningful.