Pie chart glossary · Updated November 25, 2026 by Ryan Doyle, who built Pie Chart Generator.
What Is a Frequency Table?
A frequency table lists each category or value in a data set next to the number of times it occurs, called its frequency. If 25 students name their favorite pet and 10 say dog, the dog row reads 10. The frequencies add up to the number of observations, and that total is the whole a pie chart divides.
How to make a frequency table
- Write each category or value once in the first column. For numbers spread over a wide range, such as test scores, use equal class intervals instead (50-59, 60-69, 70-79).
- Go through the data one item at a time and make a tally mark in the matching row. Draw every fifth mark across the four before it, so the marks read in groups of five.
- Count the tally marks in each row and write the count in a Frequency column.
- Add up the Frequency column. The total must equal the number of observations; if it doesn't, an item was missed or counted twice.
- Add columns if you need them: relative frequency (frequency ÷ total), percent, cumulative frequency (a running total) or the pie slice angle (frequency ÷ total × 360).
Worked example: tally, frequency and pie chart angle
Twenty-five students named their favorite pet. The tally and frequency columns come from counting; the last two come from dividing each frequency by 25.
| Pet | Tally | Frequency | Percent | Pie slice angle |
|---|---|---|---|---|
| Dog | ||||/ ||||/ | 10 | 40% | 144° |
| Cat | ||||/ || | 7 | 28% | 100.8° |
| Fish | ||| | 3 | 12% | 43.2° |
| Rabbit | ||| | 3 | 12% | 43.2° |
| Hamster | || | 2 | 8% | 28.8° |
| Total | 25 | 100% | 360° |
||||/ is one group of five: four marks with the fifth drawn across them. Percent = frequency ÷ 25 × 100. Angle = frequency ÷ 25 × 360.
To turn it into a pie chart, type the Pet and Frequency columns into the chart maker. It works out the percents and angles itself.
Grouped frequency table
When the data are numbers with many different values, list ranges instead of single values. Here are 20 test scores: 52, 58, 61, 64, 67, 68, 70, 71, 73, 74, 75, 77, 78, 81, 83, 85, 86, 88, 92, 97.
| Score | Frequency | Cumulative frequency |
|---|---|---|
| 50-59 | 2 | 2 |
| 60-69 | 4 | 6 |
| 70-79 | 7 | 13 |
| 80-89 | 5 | 18 |
| 90-99 | 2 | 20 |
| Total | 20 |
Cumulative frequency is a running total: 13 students scored 79 or lower.
- Make the classes the same width and keep them from overlapping: 60-69 then 70-79, never 60-70 then 70-80, or a score of 70 fits two rows.
- Five to ten classes is usual. Too few hides the shape of the data; too many leaves rows with 0 or 1.
- Grouped numbers have an order, so chart them as a histogram, not a pie chart.
A frequency table from real data
This is the file format of every chart downloaded from this site, from our download log (20,978 charts, January 29 to November 25, 2026). Format is a category, so each format is one row and each download is counted once.
| File format | Frequency | Relative frequency | Pie slice angle |
|---|---|---|---|
| PNG | 10,783 | 0.514 | 185.0° |
| 3,841 | 0.183 | 65.9° | |
| JPEG | 3,788 | 0.181 | 65.0° |
| SVG | 2,566 | 0.122 | 44.0° |
| Total | 20,978 | 1.000 | 360.0° |
Source: this site's anonymous download log. No chart contents are stored.
The row with the highest frequency is the mode: PNG, with 10,783 downloads. A frequency table of slice counts from the same log has 5 slices as its mode (4,259 charts).
Mean, median and mode from a frequency table
When the values are numbers, a frequency table also gives the averages without writing out every data point. Twenty students counted their siblings:
| Siblings (x) | Frequency (f) | f × x | Cumulative frequency |
|---|---|---|---|
| 0 | 4 | 0 | 4 |
| 1 | 8 | 8 | 12 |
| 2 | 5 | 10 | 17 |
| 3 | 2 | 6 | 19 |
| 4 | 1 | 4 | 20 |
| Total | 20 | 28 |
- Mean = total of f × x ÷ total frequency = 28 ÷ 20 = 1.4 siblings.
- Median: with 20 values, it sits between the 10th and 11th. The cumulative column passes 10 in the row for 1, so the median is 1.
- Mode: the value with the highest frequency, which is 1 (8 students).
Two-way frequency table
A two-way frequency table counts two categories at once. Forty students were asked whether they walk or ride the bus to school, and each was also sorted by grade.
| Walk | Bus | Total | |
|---|---|---|---|
| Grade 7 | 12 | 8 | 20 |
| Grade 8 | 9 | 11 | 20 |
| Total | 21 | 19 | 40 |
Each row and each column adds up to its total, and the totals add up to 40, the number of students.
To compare the grades fairly, turn each row into percents: 12 of 20 Grade 7 students walk (60%), against 9 of 20 in Grade 8 (45%).
Make a frequency table in Excel or Google Sheets
- Categories: put the raw answers in column A (A2:A26), type each category once in D2:D6, then in E2 type =COUNTIF($A$2:$A$26,D2) and fill it down. The same formula works in Excel and Google Sheets.
- Let the sheet list the categories for you: =UNIQUE(A2:A26) in Excel 365 or Google Sheets.
- Number ranges: type the top of each class (59, 69, 79, 89, 99) in a column and use =FREQUENCY(A2:A21, D2:D6). It returns one more count than there are bins, for values above the last one. Excel 365 and Google Sheets spill all six counts from one cell; older Excel needs the formula entered over six selected cells with Ctrl+Shift+Enter.
- Without formulas: a pivot table. In Excel, Insert > PivotTable, then drag the column into Rows and again into Values, set to Count. In Google Sheets, Insert > Pivot table, add the column under Rows and under Values, summarized by COUNTA.
Common mistakes
- A total that doesn't match the number of observations.
- Overlapping or uneven class intervals in a grouped table.
- Leaving out a category with a frequency of 0 when the question asks for every option. Keep the row in the table; a pie chart simply has no slice for it.
- Putting answers from a pick-all-that-apply question in one table and then into a pie chart. One person can appear in several rows, so the frequencies add up to more than the number of people.
Can I watch it explained?
Yes. This four-minute video walks through the pet tally, the grouped test scores, the siblings averages and the two-way table on this page.
Related terms
- Relative frequency: Relative frequency is how often a category occurs divided by the total number of observations.
- Categorical data: Categorical data sorts things into named groups, such as eye color, country or product, instead of measuring them on a number line.
- Histogram: A histogram shows how numeric data is spread out by counting values that fall into ranges (bins) and drawing a bar for each bin.
- Central angle: The central angle of a slice is the angle it makes at the center of the circle, and it equals the slice's share of 360 degrees.
- Percentage: A percentage is a part of a whole written out of 100, so 25% means 25 of every 100.
Questions
Frequently asked questions
What is the difference between a frequency table and a frequency distribution?
A frequency distribution is the pattern of how often each value occurs; a frequency table is one way to write it down, as rows of values and counts. A histogram or bar chart shows the same distribution as a picture.
How do you find the total frequency?
Add the Frequency column. It equals the number of observations: 25 students, 25 answers.
Can you make a pie chart from a frequency table?
Yes, when each observation falls in exactly one category. Each row becomes a slice, and its angle is frequency ÷ total × 360. For grouped number ranges, a histogram is the better chart.
Sources (read November 25, 2026)
- Frequency distribution, Wikipedia: frequency tables, grouped classes and cumulative frequency.
- FREQUENCY function, Microsoft Support: returns one more element than the bins array.
- COUNTIF function, Microsoft Support: counting cells that match a category.
- Our pie chart statistics: file formats and slice counts, January 29 to November 25, 2026.