Basic statistics

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.

✅ No login needed100% freeRuns in your browserNothing savedYour data stays on your device
Frequency Distribution Table Maker✅ Free · no login📚 Cite this tool
Your data never leaves your PC. Everything you type is calculated on your own computer or phone. Nothing is saved, not even in your browser, and it is gone when you close the page. Nothing is uploaded, stored or seen by Codanics, and no login is needed.

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.

Citation · APA 7th edition

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.

🚀 Follow Codanics channel on WhatsApp for more updatesNew free tools, scholarships, PhD positions and research tips, straight to your phone. Free lessons on YouTube too.

How to use the frequency distribution table maker

  1. Paste your raw numbers into the box, separated by spaces, commas or new lines.
  2. Leave the class width blank to use Sturges’ rule, or type your own width and starting value (for example width 10 starting at 40).
  3. Read the frequency table, then the histogram and ogive. For words or labels, use the Categories tab.
  4. 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

Number of classes (Sturges): k = 1 + log₂(n) ≈ 1 + 3.322 · log₁₀(n) Class width: w = range ÷ k (round up to a tidy number) Midpoint: (lower + upper) ÷ 2 Relative frequency: f ÷ n × 100% Cumulative frequency: running total of f
  1. Find the smallest and largest values and the range.
  2. Choose the number of classes, usually 5 to 15. Sturges’ rule is a common starting point.
  3. Choose a width and a starting value so that every value fits and the classes do not overlap.
  4. Count the values in each class (a tally helps by hand).
  5. 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.

ClassfRelative %Cumulative f
40 to <5026.67%2
50 to <60516.67%7
60 to <70723.33%14
70 to <80930.00%23
80 to <90516.67%28
90 to <10026.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.
Already have a grouped table and need the mean, median and SD? Use the grouped data calculator. For exact summary statistics from the raw data, use the descriptive statistics calculator, or check the shape with the normality test calculator.
Learn the statistics behind these numbers. Codanics has free statistics, R and Python lessons on YouTube and full courses for researchers.

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

Made by Dr. Muhammad Aammar Tufail, Codanics. First published 24 November 2026, last updated 24 November 2026. Found a bug or have an idea for a new tool? Tell us on the WhatsApp channel or in the comments on YouTube. Results are for learning and planning; check important analyses with a statistician or your supervisor.