Histogram Maker

Paste a column of numbers, or upload a spreadsheet, and see how they are distributed. Choose the number of bins and download the histogram as PNG or the bin counts as Excel.

  • Runs in your browser
  • Free
  • No sign-up

Paste cells from Excel or Google Sheets, or type rows separated by tabs or commas.

Exam scores024681050–60: 225060–70: 446070–80: 997080–90: 668090–100: 4490100Score (25 values, 5 bins)
Chart data as a table
BinFrom (inclusive)ToCount
50–6050602
60–7060704
70–8070809
80–9080906
90–100901004

How to Make a Histogram Online

  1. Add your data. Paste cells copied from Excel or Google Sheets into the Data box, or upload an .xlsx, .xls or .csv file. The sample data shows the layout.
  2. Check the headers. The first row is used as column names when it has no numbers in it; untick "First row is headers" if that guess is wrong.
  3. Give the chart a title. It is drawn at the top of the image and used for the file names.
  4. Download. PNG for slides, documents and email (drawn at twice the on-screen size so it stays sharp), SVG for print and the web, or Excel for the numbers behind the chart.

When to Use a Histogram

A histogram shows the shape of one set of numbers: where most values fall, how spread out they are, whether the data is skewed, and whether there are outliers. Exam scores, delivery times, order sizes and response times are typical.

It is not a bar graph of categories. Each bar is a range of values (a bin), the bars touch because the ranges are continuous, and the height is how many values fall in that range.

How to Lay Out Your Data

One column of numbers, with or without a header. If you paste several columns, the first column that contains numbers is used. Text and blank cells are skipped and counted under the chart.

How to Make a Histogram in Excel

To build the same chart natively in Excel, download the Excel file above (or use your own sheet) and:

  1. Select the column of numbers.
  2. In Excel 2016 or later, go to Insert > Insert Statistic Chart > Histogram.
  3. To change the bins, right-click the horizontal axis, choose Format Axis and set Bin width or Number of bins.

In older versions, list the upper edge of each bin in a column and use =FREQUENCY(data, bins) to count them, then chart the counts as a column chart. Excel's automatic bins use Scott's rule, so its default bin count can differ from this tool's.

What This Histogram Maker Does Not Do

  • Bins are equal width with rounded edges (for example 50-60, 60-70). Each bin includes its lower edge and excludes its upper edge, except the last bin, which includes both.
  • The default number of bins follows Sturges' rule (about 1 + log2 of the count). Change it with the Bins box.
  • One data series. To compare two distributions, make two histograms with the same bins.

Other Chart Makers

Every chart maker takes the same pasted or uploaded data, and you can switch type in the Chart type box without retyping anything. To chart a whole workbook column by column, with grouping by sum, count or average, use the Excel chart maker.

Frequently Asked Questions

Related Tools