Histogram

A histogram is a graphical bar chart that visualizes the distribution, central tendency, and spread of continuous numerical data. It organizes measurements into equal-width intervals called bins, where each bar's height represents the count or frequency of observations falling within that range. By discarding time sequence and grouping values by magnitude, a histogram immediately reveals patterns such as symmetry, skewness, clustering, and outliers, making it a foundational tool for evaluating process variation and capability.

0/5 explored
40 shafts, one at a time
9.949.969.9810.0010.0210.0410.0610.0810.1021113112140 shafts measuredfullest bin 10.00–10.02, 13 shafts12345
Bins 0.02 mm wide
This is a histogram of 40 shaft diameters in millimeters. The axis runs from 9.94 to 10.10 mm in eight bins, each 0.02 mm wide. A shaft goes into the bin that covers its value. Each square is one shaft. The first bin, 9.94 to 9.96 mm, holds none.
The peak bin
The tallest stack is the bin from 10.00 to 10.02 mm, with 13 shafts. This bin is the mode. The bins on either side hold 11 each. Together these three bins hold 35 of the 40 shafts. The pile is roughly symmetric around 10.00 mm, the target diameter.
The single shaft at 10.08 mm
One crimson square sits alone in the bin from 10.08 to 10.10 mm. This is the shaft that measured 10.08 mm. On the control chart it is the point beyond the upper limit of 10.06 mm. The histogram shows it apart from the pile, but not when it happened.
The spread of the pile
The pile runs from the 9.96 edge to the 10.10 edge. That spread is 0.14 mm. Thirty-nine of the 40 shafts fall between 9.96 and 10.06 mm. The specification is 9.90 to 10.10 mm. Every shaft is inside it. Shape, center, and spread are what a histogram is built to show.
Time order is gone
The same 40 measurements make the control chart on the control chart page. There they run in time order. They show a run of eight above center and a rising trend. Here they are sorted by size only. The histogram cannot show either pattern. It shows shape, center, and spread, and nothing about when.

Key facts

Introduced by
Karl Pearson in 1891
Data type
Continuous numerical measurements
Interval structure
Equal-width bins
Vertical axis
Observation count or frequency
Starting bin count formula
Square root of total observations
Boundary convention
Edge values placed into upper bin

By Matthew Savas — Founder of Kaizumi. Reviewed 1 September 2026.

A histogram is a bar chart that shows how often continuous measurements fall into a set of equal-width intervals called bins. Each bar's height represents the count or frequency of data points falling within that specific interval, allowing an observer to see the shape, central tendency, and spread of a distribution at a glance. Karl Pearson introduced the term in 1891 as part of his lectures on the graphical representation of statistical data. Unlike charts that track data in the sequence of collection, a histogram discards time order and aggregates values solely by magnitude. This provides an immediate visual summary of process variation, showing whether results cluster near a target, spread evenly across a tolerance window, or divide into multiple sub-groups.

Construction and calculation

Building a histogram involves organizing continuous numerical observations into discrete groups. The procedure follows several systematic steps:

  1. Collect the data points from the process under study, recording each measurement with consistent precision.
  2. Determine the range of the dataset by subtracting the minimum observed value from the maximum observed value.
  3. Select the number of bins. A common starting point for sample sizes of moderate scale is the square root of the total number of observations. For example, the square root of forty is approximately six. Practitioners often round the number of bins up or down to align the bin widths and boundary edges with standard, easily interpretable decimal increments.
  4. Calculate the bin width by dividing the total range by the chosen number of bins, adjusting the interval size slightly upward if necessary to cover the entire range of values and provide convenient edge boundaries.
  5. Define the boundary rules for data points that fall precisely on an edge. A standard convention places a boundary value into the upper bin rather than the lower bin.
  6. Sort each observation into its corresponding bin, count the total number of observations per bin, and construct the chart by drawing adjacent vertical bars whose heights match those frequencies.

Selecting an appropriate bin width is essential to revealing the true structure of the data. Too few bins aggregate diverse measurements together and hide underlying features. Sorting forty items into only two bins, for example, indicates only that most items are near the center, obscuring skewness, secondary clusters, or isolated values. Conversely, choosing too many narrow bins disperses the counts, resulting in a fragmented display where random gaps appear between individual measurements. The same forty values look different at intervals of 0.01 mm, 0.02 mm, and 0.05 mm, and one of those widths will show features that the others hide.

Worked example: shaft diameter distribution

A computer numerical control (CNC) lathe turns metal shafts with a nominal target diameter of 10.00 mm. An operator measures forty finished shafts in sequence to evaluate the stability and distribution of the operation.

The observed values range from a minimum of 9.97 mm to a maximum of 10.08 mm. The calculation of the range is 10.08 minus 9.97, which equals 0.11 mm. To analyze this distribution, the range is divided into eight equal bins of 0.02 mm width, beginning at a lower boundary of 9.94 mm. The eight defined intervals are:

  • 9.94 to 9.96 mm
  • 9.96 to 9.98 mm
  • 9.98 to 10.00 mm
  • 10.00 to 10.02 mm
  • 10.02 to 10.04 mm
  • 10.04 to 10.06 mm
  • 10.06 to 10.08 mm
  • 10.08 to 10.10 mm

Under the boundary rule where an exact edge measurement is placed in the upper bin, a shaft measuring exactly 10.00 mm is counted in the 10.00 to 10.02 mm interval.

The resulting frequency counts across the eight bins are 0, 2, 11, 13, 11, 2, 0, and 1. Two shafts measured 9.97 mm and land in the second bin. Eleven shafts between 9.98 and 9.99 mm fill the third bin. Thirteen shafts at 10.00 or 10.01 mm fill the fourth bin, representing the tallest bar and the mode of the dataset. Eleven shafts at 10.02 or 10.03 mm fill the fifth bin. Two shafts at 10.04 and 10.05 mm fill the sixth bin. The seventh bin contains zero shafts. One shaft, measuring 10.08 mm, stands alone in the eighth bin.

The main body of the distribution is close to symmetric around the target value of 10.00 mm. The total spread from the lowest occupied bin to the highest occupied bin is 0.14 mm. Every shaft in the sample falls inside the customer's specified tolerance limits of 9.90 to 10.10 mm.

When evaluated alongside time-ordered statistical tools, individual features gain operational meaning. The single shaft at 10.08 mm is the specific measurement that a control chart flagged as exceeding its upper control limit of 10.06 mm. While the histogram identifies this value as an isolated observation detached from the main cluster, the control chart establishes when that deviation occurred during the manufacturing run.

Interpretation of distribution shapes

A histogram reveals characteristics of a process that numerical summary metrics like the mean and standard deviation cannot fully convey. A dataset with a mean of 10.00 mm and a standard deviation of 0.02 mm describes the forty shafts in the lathe example, but those exact same statistics would also describe a set with two distinct peaks at 9.98 mm and 10.02 mm and nothing in the middle. The histogram shows the physical pattern behind the summary numbers.

Common distribution patterns include:

  • Unimodal symmetric distributions: A single central peak with frequencies decreasing evenly on both sides indicates a stable, single source of random variation centered on a specific average.
  • Skewed distributions: When measurements trail off more gradually in one direction, the distribution is skewed. A right-skewed distribution has a longer tail extending toward higher values, while a left-skewed distribution has a longer tail extending toward lower values. This asymmetry often indicates a physical or operational boundary, such as zero processing time or an absolute mechanical stop.
  • Bimodal or multimodal distributions: The presence of two or more distinct peaks suggests that data from two or more separate operating conditions, machines, operators, shifts, or material batches have been mixed into a single sample.
  • Isolated values: A bar separated from the main distribution by one or more empty bins, such as the single shaft at 10.08 mm, represents an outlier. Isolated values warrant direct investigation to determine whether they stem from measurement errors, raw material defects, or special causes in the production process.
  • Truncated distributions: A histogram that ends abruptly on one side with a tall bar rather than tapering off gradually indicates that parts beyond that threshold have been sorted out, reworked, or discarded prior to measurement.

Process capability and specification limits

In quality engineering and Six Sigma programs, histograms serve as an intuitive tool to evaluate process capability. Drawing customer specification limits directly onto the horizontal axis shows how the distribution of actual output compares against customer requirements.

A histogram with specification limits drawn on it is the visual form of the capability question. In the worked example of the turned shafts, the distribution sits well inside the lower specification limit of 9.90 mm and the upper specification limit of 10.10 mm. The process output maintains substantial clearance from both thresholds, which is what a Cpk value of 1.67 looks like in physical terms.

If the histogram shifts toward one specification limit, the chart indicates that the process center has drifted, even if the total spread remains narrow. If the width of the histogram exceeds the distance between the specification limits, bars will cross the lines, identifying non-conforming items and illustrating the proportion of defective production.

Applications in operational settings

Histograms apply across diverse operational environments to expose patterns in cycle times, lead times, physical dimensions, and defect rates.

In a healthcare setting, patient wait times in an outpatient clinic averaged 15 minutes, which met the organizational target. When staff plotted individual patient arrival-to-consultation times, the histogram revealed a right-skewed distribution with a long tail reaching 60 minutes. While the mathematical average appeared acceptable, the chart showed that a notable subset of patients experienced excessive delays due to morning scheduling bottlenecks.

In an administrative environment, document processing times for loan applications averaged 3 days, matching the service level plan. Constructing a histogram of processing times showed two distinct clusters. Most documents completed within 1 to 2 days, but a second group required 7 to 8 days. The bimodal shape prompted an investigation that found applications containing missing signatures followed an entirely separate review workflow that lacked dedicated staffing.

Role within lean diagnostic tools

The histogram is one of the standard quality tools used to diagnose variation and prioritize process improvements. It functions best when used in conjunction with related analytical charts:

  • A Pareto chart categorizes discrete attributes, defects, or failure reasons by sorting categories from highest to lowest frequency, helping teams identify which problems to address first. By contrast, a histogram arranges continuous numerical measurements in natural numerical order to examine process spread.
  • A run chart plots data points sequentially over time to display trends, shifts, and cyclical patterns as they occur.
  • A control chart adds statistically determined control limits to a time-ordered plot to differentiate common cause variation from special cause variation.

Because a histogram discards time order, it cannot determine whether a process is drifting upward, cycling with ambient temperature, or stabilizing over time. Combining the structural distribution insight of a histogram with the temporal tracking of run charts and control charts provides a complete representation of process performance.

Frequently asked questions

Why do the bars in a histogram touch each other?
A histogram plots continuous numerical data across contiguous intervals called bins, so adjacent bars touch to reflect an unbroken measurement scale. Standard bar charts display separate categorical groups and leave spaces between bars to show the categories are distinct. On a histogram, a space appears only when an interval contains zero recorded observations.
How does bin width affect the appearance of a histogram?
Choosing too few wide bins aggregates diverse measurements together, concealing features like skewness or secondary clusters. Conversely, setting bins too narrow scatters counts across many intervals, creating fragmented displays with artificial gaps between individual values. Selecting an appropriate width balances these extremes so the true shape of the distribution becomes visible.
What does a bimodal distribution indicate on a histogram?
A bimodal distribution displays two distinct peaks, indicating that data from two different operating conditions have been combined into a single dataset. This shape typically occurs when measurements mix outputs from different machines, operators, work shifts, or material batches. Investigating each group separately reveals the distinct causes behind each peak.
Why is a histogram unable to show if a process is drifting over time?
A histogram groups measurements solely by magnitude and discards the sequence in which data was collected. Because all observations are pooled into frequency bins regardless of time, the chart cannot show whether values are drifting upward, shifting abruptly, or cycling. Tracking time-dependent behavior requires pairing the histogram with a time-ordered tool like a run chart or a control chart.
How does a histogram display outliers?
An outlier appears as an isolated bar separated from the main body of the distribution by one or more empty bins. This gap highlights measurements that fall far outside the normal spread of process variation. Such isolated values point investigators toward special causes, raw material defects, or measurement errors.

Matthew Savas — Founder of Kaizumi. Published 1 January 2025, reviewed 1 September 2026.