Type a tool name, for example "keyword density" or "transcript".
Turn raw numbers or a frequency table into a histogram. Set the bins, add a normal curve, the mean and the median, and get the frequency table.
The link holds the data and the settings after the # sign, so they are not sent to us. Anyone with the link can read them.
Type in the cells, or copy cells in Excel or Google Sheets and paste them into the first cell.
Too few bins hide the shape, too many show noise. These rules give a starting point. Automatic uses the larger result of Sturges and Freedman-Diaconis, then rounds the bin width to an even number.
| Rule | Formula | Good for | Bins for 100 values |
|---|---|---|---|
| Square root | k = square root of n | Quick estimate by hand, the rule many classrooms use | 10 |
| Sturges | k = log2(n) + 1 | Up to about 200 values that look like a bell curve | 8 |
| Rice | k = 2 x cube root of n | A little more detail than Sturges | 10 |
| Scott | bin width = 3.49 x standard deviation / cube root of n | Bell-shaped data of any size | depends on the data |
| Freedman-Diaconis | bin width = 2 x IQR / cube root of n | Skewed data and data with outliers | depends on the data |
| Symmetric, one peak | The mean and the median are close together |
|---|---|
| Skewed to the right | A long tail of high values. The mean is larger than the median (incomes, waiting times) |
| Skewed to the left | A long tail of low values. The mean is smaller than the median (scores on an easy test) |
| Two peaks | Often two groups mixed together. Try one column per group |
| Flat | Every range is about equally common (rolls of one die) |
A histogram shows how numbers are spread over ranges, so its bars touch. For separate names such as countries or products, use a bar graph.
Your data stays in this browser. It is saved here so the chart is still there when you come back, and it is never uploaded.
A histogram maker turns a list of numbers into a chart that shows how the values are spread across ranges. Enter raw data or a frequency table, choose your bins, and get a histogram with an optional normal curve, mean and median, plus a frequency table. It suits students, analysts and researchers.
A histogram is a chart that groups numeric values into consecutive ranges, called bins, and shows how many values fall in each one. The height of each bar is the frequency, meaning the count of values in that range. Because the ranges run end to end on a number line, the bars touch.
That touching is the clue that separates a histogram from a bar graph. A bar graph compares separate categories such as countries or products, so its bars have gaps. A histogram describes one continuous measurement such as test scores, wait times, ages or page load times.
Three ideas matter when you read one:
You can build a histogram in a few steps: add your data, set the bins, switch on the overlays you want, and read the chart and table.
Suppose a teacher enters 40 exam scores that range from 52 to 98. With a bin width of 10, the frequency table could look like this:
The counts add up to 40, which is a quick check that every value was placed in a bin. The tallest bars sit on the right, and a short tail trails off to the left. If the tool reports a mean of about 78 and a median of 80, the mean is smaller than the median. That fits a distribution skewed to the left, which is common on an easy test where most people score high and a few score low.
For comparison, the Sturges rule suggests about 6 bins for 40 values: log2(40) is roughly 5.3, plus 1. Five bins of width 10 is close to that and gives clean, readable boundaries.
There is no single correct number, but a few published rules give a good starting point. Too few bins hide the shape, and too many show random noise. The automatic setting in this histogram maker takes the larger result of the Sturges and Freedman-Diaconis rules, then rounds the bin width to an even number.
| Rule | Formula | Bins for 100 values |
|---|---|---|
| Square root | k = square root of n | 10 |
| Sturges | k = log2(n) + 1 | 8 |
| Rice | k = 2 x cube root of n | 10 |
| Scott | width = 3.49 x standard deviation / cube root of n | depends on the data |
| Freedman-Diaconis | width = 2 x IQR / cube root of n | depends on the data |
Here n is the number of values and k is the number of bins. Use the square root rule for a quick estimate by hand. Sturges works for up to about 200 values that look like a bell curve. Scott suits bell-shaped data of any size, and Freedman-Diaconis is the better choice for skewed data or data with outliers.
The shape tells you how your values are distributed and whether the average is a fair summary. Compare the outline with these common patterns:
Use the mean and median lines to confirm what you see. When they sit far apart, report the median, because a few extreme values pull the mean toward the tail. To see the center and spread of the same data in one picture, a box plot maker is a useful companion. For a quick check of the numbers themselves, the average calculator returns the mean, median, range and more.
Use a histogram when your data is a continuous measurement and you want to see its distribution. Use a bar graph when each bar stands for a separate named category and you want to compare totals or counts. A histogram of ages groups people into ranges like 20 to 29 and 30 to 39. A bar graph of sales by product compares unrelated items side by side.
If your data is made of names, labels or yes and no answers, build it with the bar graph maker instead. Choosing the wrong chart type is one of the most common reasons a graph misleads readers.
Anyone who needs to see how numbers spread can use it. These are typical situations:
It also helps when you already have a frequency table from a textbook or report and only need the chart.
Most poor histograms come from the bin setting or from messy input, and both are quick to fix.
The same data can look smooth with 6 bins and jagged with 30. Check at least two settings. If a peak appears only at one width, it is probably noise, not a real feature.
Widths like 5, 10 or 25 are easier to read than 7.3. Pick a width that matches how people think about the data, such as 10-point score bands or 5-year age groups.
When you share the image, add a title and units, and state the bin width. Readers cannot judge a distribution without knowing the size of each range.
A histogram is a summary, and any summary hides some detail. Individual values are grouped, so you cannot read exact numbers from a bar. Small samples, such as fewer than 20 values, produce rough shapes that can change a lot with one new data point, so avoid strong conclusions from them.
The normal curve is a visual guide only. It does not prove your data is normally distributed, and a curve that fits well by eye is not a formal statistical test. The bin rules in the table are widely used guidelines, not guarantees, and your judgment about the data should have the final word.
Ready to see your own distribution? Enter your numbers or frequency table above, adjust the bins until the shape is clear, and use the frequency table to back up what you see. For more math and data helpers, browse the online calculators and utilities collection.
Your report has been submitted. We will look into this issue.
A VPN changes your network exit. It does not guarantee anonymity.
Themes, plugins, code, video, audio, graphics & more from 90,000+ authors.
Web Development
Design & Media
Unlimited Access
Explore Envato Market