Skip to content

Quality Tools

Histogram Generator

See the shape of your data — centring, spread, skew, and outliers — and how it sits against specification limits.

Bulk Data Input

Paste multiple values separated by spaces, commas, or new lines:

Shaft Diameter Measurements

22110
2
24.6-24.7
2
24.7-24.8
1
24.8-25.0
1
25.0-25.1
2
25.1-25.2
2
25.2-25.3
Diameter (mm)
Y-axis: Frequency

Central Tendency

Mean: 24.950

Median: 24.950

Mode: None

Variability

Std Dev: 0.227

Variance: 0.052

Range: 0.700

Distribution

Count: 10

Min: 24.600

Max: 25.300

BinRangeCountFreq%
124.60 - 24.7220.20020.0%
224.72 - 24.8320.20020.0%
324.83 - 24.9510.10010.0%
424.95 - 25.0710.10010.0%
525.07 - 25.1820.20020.0%
625.18 - 25.3020.20020.0%

📊 Distribution Analysis

Shape: Approximately symmetric (normal-like)

Sample Size: Small sample - collect more data for reliable analysis

Understanding histograms

A histogram is a graphical representation of the distribution of numerical data. It provides a visual interpretation of data by showing the frequency of occurrence of different value ranges in your dataset.

Histograms are essential for quality management because they help identify:

  • Distribution patterns (normal, skewed, bimodal)
  • Process centring and spread
  • Outliers and unusual values
  • Position relative to specification limits
  • Data clustering and gaps

How to create and interpret histograms

  1. Collect your measurement data
  2. Determine the appropriate number of bins
  3. Calculate bin width and boundaries
  4. Count the frequency for each bin
  5. Plot the histogram and analyse the pattern
ShapeWhat it suggests
Normal (bell-shaped)Stable process with common-cause variation
Skewed rightLong tail to the right — check for delays or a natural lower bound
Skewed leftLong tail to the left — check for an upper limit or sorting
BimodalTwo peaks — possibly mixed populations (two machines, shifts, or suppliers)
UniformFlat — drifting process or several overlapping distributions
Gaps / outliersMissing data, measurement errors, or special causes

Histogram applications in quality management

AreaTypical uses
Process controlMonitor dimensional variation, check centring, spot drift, validate improvements
Statistical analysisAssess normality, estimate capability, compare before/after data
Problem solvingDetect mixed populations, find measurement errors, verify corrective actions

Worked example: machined shaft diameter

An illustrative study of 100 shafts with a specification of 25.0 mm ± 0.5 mm. The histogram looks close to normal, with a mean of 25.02 mm and a standard deviation of 0.18 mm.

Cp — spread only
(25.5 − 24.5) ÷ (6 × 0.18) = 0.93
Cpk — spread and centring
min(0.48, 0.52) ÷ (3 × 0.18) = 0.89

A normal model predicts about 99.4% of parts within specification. But with Cp below 1.0 the spread is wider than the tolerance allows by the usual standards (Cp ≥ 1.33). Re-centring the 0.02 mm offset would barely move Cpk — the real work is reducing variation.

Frequently asked questions

How many bins should I use for my histogram?
A good rule of thumb is 5–20 bins depending on your data size: 5–10 bins for small datasets (< 50 points), 10–20 for larger ones (> 100 points). You can also use Sturges’ rule: bins = 1 + 3.322 × log₁₀(n).
What’s the difference between a histogram and a bar chart?
Histograms show the distribution of continuous data, with adjacent bars representing ranges of values. Bar charts compare discrete categories, with gaps between bars.
How do I know if my data is normally distributed?
Look for a bell-shaped, symmetric histogram, with most data clustered around the centre and fewer points at the extremes. For formal testing, use statistical tests such as Shapiro-Wilk or Anderson-Darling.