Histogram Maker: Free Online Histogram Chart

Histogram Maker

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.

More ways to save and share

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.

Use the same data in another chart

How many bins should a histogram have?

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.

RuleFormulaGood forBins for 100 values
Square rootk = square root of nQuick estimate by hand, the rule many classrooms use10
Sturgesk = log2(n) + 1Up to about 200 values that look like a bell curve8
Ricek = 2 x cube root of nA little more detail than Sturges10
Scottbin width = 3.49 x standard deviation / cube root of nBell-shaped data of any sizedepends on the data
Freedman-Diaconisbin width = 2 x IQR / cube root of nSkewed data and data with outliersdepends on the data

What the shape tells you

Symmetric, one peakThe mean and the median are close together
Skewed to the rightA long tail of high values. The mean is larger than the median (incomes, waiting times)
Skewed to the leftA long tail of low values. The mean is smaller than the median (scores on an easy test)
Two peaksOften two groups mixed together. Try one column per group
FlatEvery 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.

What Is a Histogram?

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:

  • Bin width is the size of each range, for example 10 points per bar.
  • Frequency is how many values land in a bin. A frequency table lists these counts in rows.
  • Shape is the overall outline: one peak, two peaks, a long tail on one side, or flat.

How to Use the Histogram Maker

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.

  1. Enter your numbers as raw values, or switch to a frequency table if you already have counts per range.
  2. Check that every entry is a number. Remove stray text, units and symbols that are not part of a value.
  3. Set the bins. Leave them on automatic for a sensible starting point, or enter your own bin settings when you need a specific width such as 5 or 10.
  4. Turn on the extras you need: the normal curve to compare your data with a bell shape, and the mean and median to see where the center sits.
  5. Review the chart, then read the frequency table to see the exact count in each bin.
  6. Change the bins and compare. Try a narrower and a wider setting before you settle on the one that shows the shape most clearly.

Worked Example: 40 Exam Scores

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:

  • 50 to 60: 2 students
  • 60 to 70: 5 students
  • 70 to 80: 12 students
  • 80 to 90: 14 students
  • 90 to 100: 7 students

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.

How Many Bins Should a Histogram Have?

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.

RuleFormulaBins for 100 values
Square rootk = square root of n10
Sturgesk = log2(n) + 18
Ricek = 2 x cube root of n10
Scottwidth = 3.49 x standard deviation / cube root of ndepends on the data
Freedman-Diaconiswidth = 2 x IQR / cube root of ndepends 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.

What Does the Shape of a Histogram Tell You?

The shape tells you how your values are distributed and whether the average is a fair summary. Compare the outline with these common patterns:

  • Symmetric with one peak: the mean and the median are close together.
  • Skewed to the right: a long tail of high values, with the mean larger than the median. Incomes and waiting times often look like this.
  • Skewed to the left: a long tail of low values, with the mean smaller than the median, as in scores on an easy test.
  • Two peaks: often two groups mixed together. Try one column of data per group and compare them.
  • Flat: every range is about equally common, like rolls of a single die.

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.

Histogram vs Bar Graph: Which One Do You Need?

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.

Who Uses a Histogram Generator?

Anyone who needs to see how numbers spread can use it. These are typical situations:

  • Students finishing a statistics assignment who need a frequency table and a labeled chart without building them by hand.
  • Teachers checking whether a test was too easy or too hard by looking at the score distribution.
  • Marketers and site owners reviewing the spread of page load times, order values or session lengths before choosing an average to report.
  • Researchers checking whether a sample looks roughly bell-shaped before applying a method that assumes it.
  • Quality teams looking at measurements such as part sizes to spot drift or two mixed sources.

It also helps when you already have a frequency table from a textbook or report and only need the chart.

Best Practices, Common Mistakes and Troubleshooting

Most poor histograms come from the bin setting or from messy input, and both are quick to fix.

Try more than one bin setting

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.

Use clean, round bin widths

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.

Fix input problems

  • The chart looks empty or wrong: look for text, currency symbols or thousand separators mixed in with the numbers, and remove them.
  • Counts do not add up: compare the total in the frequency table with the number of values you entered. A gap means some entries were not read as numbers.
  • One tall bar and several empty ones: a single extreme value is stretching the range. Check it for a typo, such as 1000 instead of 100, before widening the bins.
  • A value on a bin edge: look at the frequency table to see which bin it was counted in, so your written report matches the chart.

Label what the chart measures

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.

Limitations and Accuracy Notes

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.

Frequently Asked Questions

What is a histogram?
A histogram is a chart that groups numbers into consecutive ranges and shows how many values fall in each one. Its bars touch because the ranges are continuous. For example, a histogram of exam scores shows how many students scored 70 to 79, 80 to 89, and so on.
How do I make a histogram with this histogram maker?
Enter your raw numbers or a frequency table, set the bins, and the histogram is drawn for you. Leave the bins on automatic for a starting point, then try a narrower and a wider width. You can add a normal curve, the mean and the median.
How many bins should a histogram have?
There is no single correct number, but rules give a good start. For 100 values, the square root rule suggests 10 bins, Sturges suggests 8 and Rice suggests 10. Too few bins hide the shape and too many show noise, so compare two or three settings.
Can I make a histogram from a frequency table?
Yes. If you already have counts for each range, you can enter the frequency table instead of raw values and the tool draws the histogram from it. Check that the counts add up to your total number of observations before you share the chart.
What is the difference between a histogram and a bar graph?
A histogram shows the spread of one continuous measurement across ranges, so its bars touch. A bar graph compares separate categories such as countries or products, so its bars have gaps. For named categories, use a bar graph maker instead.
Is the histogram maker free, and why does my chart look wrong?
The histogram maker is free and needs no sign-in. If a chart looks wrong, check for text or symbols mixed into the numbers, a single extreme value stretching the range, or a bin width that is too wide or too narrow.
Recommended

Explore VPN options

A VPN changes your network exit. It does not guarantee anonymity.

Hide Your IP Encryption Network coverage
Protect My IP Now