How to Determine Histogram Bin Intervals

To show a useful spread of data, you may need to estimate the ideal histogram bin interval. Here's how:

  1. Count the number of data points.
  2. Take the square root of the number of data points and round up to determine the number of bins required.
  3. Divide the specification tolerance (USL-LSL or Max-Min value) by number of bins.

For example:

  • 25 data points = 5 bars
  • 100 data points = 10 bars

If there are too many bars (e.g., more than 50) to display nicely on the page, we limit the number of bars.

Juran's Quality Control Handbook provides these guidelines for the number of bars and states that they are not "rigid" and should be adjusted when necessary.

Number of Data Points Number of Bars

20-50

6

51-100 7
101-200 8
201-500 9
501-1000 10
1000+ 11-20

Learn More

The histogram is just one of the tools included in the QI Macros for Excel SPC Software.
How We Can Help Download Free QI Macros Trial Buy QI Macros for Excel Now