Frequency Distribution Table Maker: Class Intervals, Relative and Cumulative Frequency, Histogram and Ogive
Paste your raw data and get a ready-made frequency distribution table: class intervals (chosen with Sturges’ rule or set by you), midpoints, frequency, relative frequency, cumulative frequency, plus a histogram and an ogive. A second tab counts categories such as blood groups or survey answers.
Example: marks of 30 students out of 100.
- PriceFree, no login or sign-up needed
- Your dataCalculated in your browser; nothing is saved
- Works onPhone, tablet or computer, any modern browser
- Made byDr. Muhammad Aammar Tufail, Codanics
- Published24 November 2026
- Last updated24 November 2026
📚 How to cite this tool
This tool is free. If it helped your thesis, paper, report or assignment, please cite it. It keeps the tools free and helps other students find them.
Tufail, M. A. (2026). Frequency distribution table maker [Online tool]. Codanics. Retrieved 24 November 2026, from https://codanics.com/tools/frequency-distribution-table-maker/
In-text citation: (Tufail, 2026) · Narrative: Tufail (2026)
The access date is today’s date, filled in automatically. Author: Muhammad Aammar Tufail. Published 24 November 2026.
How to use the frequency distribution table maker
- Paste your raw numbers into the box, separated by spaces, commas or new lines.
- Leave the class width blank to use Sturges’ rule, or type your own width and starting value (for example width 10 starting at 40).
- Read the frequency table, then the histogram and ogive. For words or labels, use the Categories tab.
- Press Copy table for Excel to paste the table into a spreadsheet or report.
What is a frequency distribution table?
A frequency distribution table shows how many times values fall into each category or class interval. It turns a long list of raw numbers into a short summary that shows where data cluster, how spread out they are and whether the shape is symmetric or skewed.
How to make a grouped frequency table
- Find the smallest and largest values and the range.
- Choose the number of classes, usually 5 to 15. Sturges’ rule is a common starting point.
- Choose a width and a starting value so that every value fits and the classes do not overlap.
- Count the values in each class (a tally helps by hand).
- Add relative and cumulative columns, then draw the histogram and ogive.
Worked example: marks of 30 students
The 30 marks run from 45 to 93, a range of 48. Sturges gives k = 1 + log₂(30) = 5.91, so about 6 classes. The width 48 ÷ 6 = 8 is rounded up to 10, starting at 40.
| Class | f | Relative % | Cumulative f |
|---|---|---|---|
| 40 to <50 | 2 | 6.67% | 2 |
| 50 to <60 | 5 | 16.67% | 7 |
| 60 to <70 | 7 | 23.33% | 14 |
| 70 to <80 | 9 | 30.00% | 23 |
| 80 to <90 | 5 | 16.67% | 28 |
| 90 to <100 | 2 | 6.67% | 30 |
The modal class is 70 to <80, and the shape is roughly symmetric. The ogive shows that 14 students (46.7%) scored below 70.
Tips and common mistakes
- Classes must not overlap. Use “40 to under 50” or stated limits 40–49 for whole numbers, never 40–50 and 50–60 together.
- Keep widths equal so bar heights in the histogram are comparable.
- Too few classes hide the shape; too many make it noisy. Try a couple of widths.
- Histogram vs bar chart: histogram bars touch because the classes are continuous; bar charts for categories have gaps.
Frequently asked questions
How do I make a frequency distribution table?
Find the range, choose the number of classes (for example with Sturges’ rule), set an equal class width, count how many values fall in each class, then add relative and cumulative frequency columns.
What is Sturges' rule?
Sturges’ rule suggests k = 1 + log₂(n) classes, where n is the number of values. For 30 values it gives about 6 classes. It works best for moderate, roughly symmetric data sets.
How do I calculate the class width?
Divide the range (largest − smallest) by the number of classes and round up to a convenient number. For a range of 48 and 6 classes, 48 ÷ 6 = 8, rounded up to 10.
What is cumulative frequency?
Cumulative frequency is the running total of frequencies down the table. The last value equals n. Plotted against the upper class boundaries, it gives the ogive, which you can use to estimate the median and quartiles.
What is relative frequency?
Relative frequency is the frequency of a class divided by the total number of values, often shown as a percentage. All relative frequencies add up to 100%.
Is my data uploaded or saved?
No. The table is made in your browser and nothing is saved or uploaded.
Do I need to log in or create an account to use the frequency distribution table maker?
No. There is no login, no sign-up and no email required. Open the page and start using it straight away, for free, on any device.
How do I cite this tool in my thesis or paper?
Use the citation box on this page. In APA 7th edition: Tufail, M. A. (2026). Frequency distribution table maker [Online tool]. Codanics. Retrieved [date you used it], from https://codanics.com/tools/frequency-distribution-table-maker/. BibTeX, RIS (EndNote, Mendeley, Zotero), MLA, Harvard, Chicago and Vancouver formats are also available.
Free guides and courses from Codanics
More free tools
See all free Codanics tools → · Codanics on YouTube · WhatsApp channel