Frequency tables
Of 50 students in an OpenStax example, 16 bought three books, so the relative frequency of "three books" is 16 ÷ 50 = 0.32.
A distribution tells you two things about a variable: which values it takes and how often each one turns up. The simplest way to write a distribution down is a frequency table. One column lists the values or the classes, and the next counts how many times each one occurs. Everything else in this course, from histograms to the normal curve, is a way of drawing or summarising a table like that.
Frequency, relative frequency, cumulative frequency
OpenStax asked 50 part-time students how many books they bought. Eleven bought one book, 10 bought two, 16 bought three, 6 bought four, 5 bought five and 2 bought six. Those counts are the frequencies, and they add to 50. Dividing each by 50 gives the relative frequencies 0.22, 0.20, 0.32, 0.12, 0.10 and 0.04, which add to 1. Running totals give the cumulative frequencies 11, 21, 37, 43, 48 and 50. Cumulative columns answer "how many at most?" questions at a glance: 37 of the 50 students, or 74%, bought three books or fewer.
| Books | Freq. | Rel. freq. | Cum. freq. |
|---|---|---|---|
| 1 | 11 | 0.22 | 11 |
| 2 | 10 | 0.20 | 21 |
| 3 | 16 | 0.32 | 37 |
| 4 | 6 | 0.12 | 43 |
| 5 | 5 | 0.10 | 48 |
| 6 | 2 | 0.04 | 50 |
| Total | 50 | 1.00 |
Drag to turn. Scroll or pinch to zoom.
Grouped data
When the values are many and varied, a table lists classes instead of single values. OpenStax gives the scores of 100 students on a calculus final test grouped by tens: 49.5 to 59.5 has 5 students, 59.5 to 69.5 has 10, 69.5 to 79.5 has 30, 79.5 to 89.5 has 40 and 89.5 to 99.5 has 15. The cumulative frequencies are 5, 15, 45, 85 and 100, so 85 students scored below 89.5. Grouping loses detail: from the table alone you cannot tell whether the five lowest scores were 50 or 59. That is the price of a short summary.
Frequency polygons
A frequency polygon draws the same table as dots joined by lines. Each dot sits above the middle of a class at the height of its frequency, and an empty class is added at each end so the line comes down to the axis. OpenStax uses polygons to lay two distributions on one picture, such as the calculus test scores and the students' final grades, because two outlines overlap more clearly than two sets of bars.
One more table: ages of presidents
OpenStax also groups the ages of US presidents at inauguration into six classes five years wide: 41.5 to 46.5 has 4 presidents, 46.5 to 51.5 has 11, 51.5 to 56.5 has 14, 56.5 to 61.5 has 9, 61.5 to 66.5 has 4 and 66.5 to 71.5 has 2, for 44 in all. The largest class, 51.5 to 56.5, holds 14 ÷ 44 ≈ 0.318 of them. Notice the half-year boundaries: ages are whole numbers, so no president can land on a boundary.
Comparing groups of different sizes
Relative frequencies earn their keep when groups differ in size. Suppose, as a made-up example, that 12 of 40 students in one class and 15 of 60 in another scored above 90. The second class has more high scorers, 15 against 12, but a smaller share of them: 15 ÷ 60 = 0.25 against 12 ÷ 40 = 0.30. Counts answer "how many?", relative frequencies answer "how common?". Before comparing two tables, decide which question you are asking, and check that each table's counts add to its stated total.
| Distribution | Which values occur and how often |
| Frequency | How many times a value or class occurs |
| Relative frequency | Frequency ÷ total; all add to 1 |
| Cumulative frequency | Running total up to this row |
| Frequency polygon | Dots over class midpoints joined by lines |
- Relative frequency of "one book" (11 of 50)?
- Cumulative frequency up to four books?
- What percent of the 50 students bought four books or more?
- Calculus test: how many students scored between 69.5 and 89.5?
- Calculus test: cumulative relative frequency below 79.5?
- Presidents: relative frequency of the class 46.5 to 51.5 (11 of 44)?
- Relative frequencies of a table always add to?
- What does grouping data into classes cost?
- The total
- The exact values inside each class
- The units
- Nothing
- Why do frequency polygons add an empty class at each end?
- To make the line reach the axis
- To add data
- To change the mean
- To make it symmetric
- Why are the presidents' classes bounded at 41.5, 46.5, ...?
- Ages are whole numbers, so none falls on a boundary
- Presidents are half a year old
- To make the mean 50
- It is a law
- A distribution lists values and how often they occur.
- Relative frequency = frequency ÷ total; cumulative frequency is a running total.
- Grouped tables and polygons summarise large data sets at the cost of detail.
Sources for this course (7)
- OpenStax, Introductory Statistics 2e by Barbara Illowsky and Susan Dean (, per the page notice on 2026-10-17): 2.2 frequency tables, relative and cumulative frequency, frequency polygons (calculus final test scores 5, 10, 30, 40, 15; ages of US presidents at inauguration in six classes)
- the 100 soccer player heights, the 50 students' books, the 25 classmates' weekend video game hours and the 22 New York restaurant staff counts (openstax.org/books/introductory-statistics-2e/pages/2-2-histograms-frequency-polygons-and-time-series-graphs)
- 6.1 the standard normal distribution, z-scores, the empirical rule, X ~ N(5, 6)
- heights of Chilean males aged 15 to 18 N(170, 6.28) for 2009 to 2010 and N(172.36, 6.34) for 1984 to 1985, SAT verbal 2012 N(496, 114) with 1,664,479 test takers, Jerome N(16, 4) (openstax.org/books/introductory-statistics-2e/pages/6-1-the-standard-normal-distribution)
- De Moivre and the normal approximation to coin flips: D. Lane, Online Statistics Education, 7.2 History of the Normal Distribution (stats.libretexts.org, Introductory Statistics (Lane) 7.2)
- EBSCO Research Starters, "De Moivre Describes the Bell-Shaped Curve" (1733)
- Quetelet's chest measurements of 5,738 Scottish militiamen (Quetelet 1846, from an 1817 source; Stigler 1986 corrections): R package HistData, ChestSizes and ChestStigler (vincentarelbundock.github.io/Rdatasets/doc/HistData/ChestSizes.html).
Checked: 2026-10-17