Excel Histogram Change Bin Size

There are two ways to “excel histogram change bin size”: the quick way you copy and the durable way you understand. This page gives you both. The exact Excel answer is above; below, we build the small mental model that makes the fix stick, so the next variation of the same problem solves itself.

Exact answer

In Excel: select numeric values and choose Insert ▸ Statistic Chart ▸ Histogram. In Windows desktop Excel, right-click the horizontal axis ▸ Format Axis ▸ Axis Options to set a positive Bin width or a Number of bins.

On this page7
▤Annotated stepsExcel
1

Put observations in one numeric column without totals. For the worked example, enter the ten delivery-day values in A2:A11.

2

Select A2:A11 and choose Insert ▸ Statistic Chart ▸ Histogram. If you already have a chart, first confirm its chart type is Histogram rather than an ordinary column chart.

3

In Windows desktop Excel, right-click the horizontal axis labels and choose Format Axis ▸ Axis Options. Selecting the vertical frequency axis or the bars opens different settings.

4

Choose Bin width and enter 2. Set Underflow bin to 2 and Overflow bin to 6. Use a positive number; the width has the same units as the source values.

5

Check the four frequencies against 2, 4, 3 and 1. Their sum should equal the ten numeric source observations, including the values in the end bins.

6

For a target bar count, choose Number of bins instead of Bin width. Keep the same boundaries when comparing separate groups, and label the chart with the measured unit and period.

Ctrl+CthenCtrl+Shift+V⌘+Cthen⌘+Ctrl+VPaste values · WindowsMac

What this does

A histogram counts observations within numeric intervals. Bin width is the size of an interval in the units of the data: width 2 means two delivery days per interval, not two deliveries per bar. Number of bins asks Excel to divide the data into that many intervals, including any underflow and overflow bins. Choose the setting that answers the question you need to check. Underflow groups values less than or equal to its threshold; overflow groups values greater than its threshold. These cutoffs can keep outliers from stretching the main scale. The chart frequency should still account for every numeric observation. Gap Width in a column chart changes bar spacing, not the bin boundaries of a histogram. Most people learn this as a sequence of clicks and forget it by next week; learning it as a pattern instead is what lets you apply it to the next, slightly different version of the problem without starting from scratch. That is the difference this page is trying to make. For “excel histogram change bin size”, the reliable version is a short checking loop, not just the first command that appears to work. Run it on a deliberately small range first, watch how the affected cells change, and only then apply the same setup to the full sheet. When this is a ribbon command, the selection matters more than the button: confirm the range, apply the command, then spot-check the output before saving. That is what makes a visual that makes the number obvious at a glance useful in real work: repeatable, auditable, and not dependent on memory or luck.

A worked example

Enter delivery days 1, 2, 3, 3, 4, 4, 5, 6, 6 and 9 in A2:A11. Insert a Histogram, set Bin width to 2, Underflow bin to 2 and Overflow bin to 6. The four groups are ≤2, (2,4], (4,6] and >6; their frequencies are 2, 4, 3 and 1, which sum to 10. The value 4 belongs to (2,4], and 6 belongs to (4,6]. Compare those counts with the source cells before changing the width. Removing the overflow threshold exposes more of the right tail; editing the source value 9 changes the data, while changing bin width only changes how the same observations are grouped. Checking the frequency total and interval boundaries prevents a formatting choice from being mistaken for a change in the underlying observations. Set comparable bins before drawing conclusions about spread, clusters or outliers. If this is something you do often, add the command to the Quick Access Toolbar (right-click it on the ribbon and choose Add to Quick Access Toolbar) or learn its shortcut, so next time it is one click instead of a hunt through the menus.

In Google Sheets

This is a command rather than a formula, so there is no syntax to carry over. Google Sheets arranges its commands in menus across the top instead of a ribbon, names some of them differently and does not have every Excel command — look for the equivalent in the Sheets menus or its help before assuming the steps match. Keep this page bookmarked for the next time the same question comes up. Better still, repeat the steps once in your own workbook — doing it yourself is what turns a copied answer into something you remember. The short version of “excel histogram change bin size”: the answer is at the top of this page, and the sections above explain why each step matters, so a variation of the problem does not stump you. Try it once on a copy of a real file and the steps stick far better than re-reading them.

Common mistakes

  • Selecting the vertical axis and looking for Bin width there. Bin controls belong to the horizontal numeric axis of a Histogram chart.
  • Changing Gap Width in a column chart and expecting the data intervals to change; bar spacing and histogram bins are different settings.
  • Leaving totals or summary rows inside the selected data.
  • Reading a bin boundary as an extra observation. With underflow 2, the value 2 belongs to the underflow bin, and overflow 6 includes values strictly greater than 6.
  • Comparing two distributions with different widths or cutoffs, which makes identical frequencies appear different.

Frequently asked questions

What is a histogram used for?

It shows the distribution of numeric values by counting how many fall into each interval.

How do I change histogram bin size or width?

In Windows desktop Excel, right-click the horizontal axis, select Format Axis ▸ Axis Options, choose Bin width and enter a positive value. Choose Number of bins when the desired number of intervals matters more than their width.

Why can I not find Bin width in Format Axis?

Check that the chart type is Histogram and that you selected the horizontal axis labels. A standard column chart and the vertical frequency axis do not offer the same bin settings.

Can I change histogram bins in Excel for the web on a Chromebook?

Microsoft documents creating a web histogram with Insert ▸ Statistical ▸ Histogram. Its web instructions do not establish the Windows Format Axis bin-editing workflow. If those controls are unavailable in your browser, use desktop Excel to set the bins or build an explicit frequency table with the boundaries you need; the browser version is not Windows desktop Excel.

Histogram or bar chart?

Use a histogram for numeric intervals; use a bar chart for separate categories.

Other ways people ask this

On the way here you may have searched this as “how to change bin size in excel”, “how to change number of bins in excel histogram” and “change bin size histogram excel” — it is all the same task, and this page is the single, complete answer to it.

Why do people search for this in so many different ways?

Because the same task has many names. “how to change bin size in excel”, “how to change number of bins in excel histogram”, “change bin size histogram excel” all point at the one operation explained on this page, which is why they all lead here.