Histogram Maker: Free Online Histogram

Paste a list of numbers and get a histogram with automatic or custom bins and a frequency table.

Chart type

Data

Options

0 for automatic

Overrides the number

Blank for automatic

Bins include their lower edge; the last also includes its upper edge.
BinCountShare
50 to under 6026.7%
60 to under 70620.0%
70 to under 801136.7%
80 to under 90723.3%
90 to 100413.3%

Your data and settings stay in this browser.

Make a histogram from a list of numbers: test scores, heights, times, prices, any measurements. Type or paste the numbers, separated by spaces, commas or new lines (a column copied from a spreadsheet works), and the histogram groups them into equal-width bins and counts how many fall in each. By default it picks the number of bins with Sturges' rule and rounds the width to a tidy step such as 5 or 10. You can set the number of bins yourself, or a bin width and where the first bin starts, for example bins of 10 starting at 50 for test marks. Each bin includes its lower edge and runs up to, but not including, the next, except the last, which also includes its upper edge. A frequency table under the graph lists every bin with its count and share of the total. The bars touch because the bins follow the number line with no gaps. Add a title and axis labels, show the counts on the bars, choose a palette and download a PNG or SVG. To compare the spread of several groups side by side, use the Box Plot Maker; to compare separate categories, the Bar Graph Maker.

Common use cases

  • Seeing how test scores are spread
  • Statistics homework and coursework
  • Checking measurements for skew or outliers
  • Frequency tables with a matching graph

How to use

  1. Type or paste your numbers
  2. Leave the bins on automatic, or set the number, width or starting point
  3. Check the frequency table under the graph
  4. Add a title and labels, then download the histogram

FAQ

How many bins should a histogram have?

There's no single right answer. Sturges' rule (about log₂ of the count, plus one) is a common starting point and is what Automatic uses. Too few bins hide the shape; too many make it jagged. Try a few widths and keep the one that shows the pattern clearly.

Which bin does a number on an edge go in?

The higher one: a bin from 60 to 70 holds 60 but not 70, which goes in the 70 to 80 bin. The largest number goes in the last bin even if it sits exactly on its top edge.

Why do the bars touch?

Because the bins are next to each other on a number line with nothing between them. Gaps would suggest missing ranges.

Can I make a frequency polygon or relative frequency histogram?

The table gives each bin's share of the total as a percentage, which you can use for a relative frequency graph. For a frequency polygon, put the bin midpoints and counts into the Line Graph Maker.