How to Draw a Histogram in Excel | Built-In Chart vs. ToolPak

Excel offers two direct ways to draw a histogram: the Insert Statistic Chart for instant results, or the Data Analysis ToolPak for manual bin control.

Whether you’re analyzing test scores or sales data, knowing how to draw a histogram in Excel gives you an instant visual of how your numbers are distributed. Two reliable methods exist, and the right choice depends on how much control you need over bins and output. The first method takes under thirty seconds. The second takes a couple of minutes but hands you every adjustment lever. This walk-through covers both, with the exact steps and settings you’ll need either way.

Creating a Histogram in Excel: The Step Order That Works

The fastest route uses Excel’s built-in statistical chart feature. Select your numeric data — a single column or row of numbers works best — then go to Insert > Insert Statistic Chart > Histogram. Excel drops a default histogram onto the sheet right away, with automatically calculated bins.

The chart may need small adjustments. To change binning, right-click the horizontal axis and choose Format Axis. The Axis Options pane gives you four settings: Bin width (set a fixed interval), Number of bins (how many bars), Overflow bin (group everything above a threshold into one bar), and Underflow bin (group everything below a threshold). Type in your values and the chart updates in real time.

If the chart doesn’t look right at first, check that every cell in the selected range contains a number. A single text entry can quietly prevent the histogram from plotting properly.

The Data Analysis ToolPak: Manual Bin Control

When you need to specify exact bin boundaries — for a test where 0–59, 60–69, 70–79, and 80–100 are the only meaningful buckets — the ToolPak method gives you that precision.

First, enable the add-in if it isn’t already showing under the Data tab. Go to File > Options > Add-ins, select Analysis ToolPak from the list, and click Go. Check the box and hit OK. The Data Analysis button now appears in the Data tab.

Next, prepare a bin range. In a separate column, list the upper boundary of each bin in ascending order — for the test-score example: 59, 69, 79, 89, 100. Select Data > Data Analysis > Histogram. Set the Input Range to your data, the Bin Range to your boundaries, pick an output location, and check Chart Output. The result is a frequency table with a histogram chart right next to it.

The chart the ToolPak produces is a basic column chart. To make the bars touch, right-click the bars, open Format Data Series, and set Gap Width to 0%.

Adjusting Bins and Axis Settings in Your Histogram

Both methods let you refine how the data gets grouped after you create the chart. Right-click the horizontal axis and open Format Axis. The bin settings live under Axis Options > Bins:

  • Bin width — sets a fixed interval (e.g., every 10 units).
  • Number of bins — tells Excel how many bars to use; it calculates the width automatically.
  • Overflow bin — collects all values above this number into one catch-all bar on the right.
  • Underflow bin — collects all values below this number into one bar on the left.

Changing one bin setting recalculates the others automatically. If you set a bin width of 5 and a number of bins at the same time, the width value wins. Stick with one approach per axis.

What Are the Most Common Histogram Mistakes?

Most problems come from a small set of oversights. The table below shows the typical errors and how to fix each one in a few seconds.

Mistake Why It Happens The Fix
Chart shows no bars or an error Source data includes non-numeric entries (text, blanks, or symbols) Verify every selected cell contains a number; remove or replace any non-numeric values
ToolPak Histogram option is missing The Analysis ToolPak add-in isn’t enabled Go to File > Options > Add-ins and activate it
Frequency table appears but no chart Chart Output wasn’t checked in the Histogram dialog Run the ToolPak again and check Chart Output before clicking OK
Bars have wide gaps between them Default column spacing leaves white space between bars Right-click the bars > Format Data Series > set Gap Width to 0%
Histogram looks lumpy or groups wrong The bin range for the ToolPak contains raw values instead of upper boundaries Enter bin upper limits in a separate column, sorted smallest to largest
Overflow bin isn’t working The threshold value sits at or below the highest data point Set the overflow bin value above your maximum data value

Which Method Should You Choose?

The built-in Insert Statistic Chart wins for speed and simplicity — select your data, click three times, and the histogram is ready. Use it for quick exploratory looks at any numeric distribution. The ToolPak method earns its place when you need exact bin boundaries, a separate frequency table, or both. It takes a minute longer to set up, but the control over bin edges makes it the right pick for graded score ranges, fixed pricing tiers, or any scenario where the bin boundaries aren’t negotiable.

Microsoft’s official histogram guide covers both workflows with screenshots and is the reference for the steps above. If you’re on an older version of Excel and the Insert Statistic Chart option isn’t there, the ToolPak method works back through Excel 2010.

Either method produces the same kind of visualization — bars touching, no gaps, showing how your data clusters. The difference is how much say you have over where the bucket lines fall.

References & Sources