All guides
histogramstatisticsdata visualization

What Is a Histogram? Definition, Examples, and Best Uses

A clear explanation of histograms — what they show, how they differ from bar charts, and how to read distribution shape, skewness, and outliers.

By ChartsMakers Editorial Team·6 min read·Published 2026-05-10·Reviewed 2026-09-23

A histogram is a bar chart for numerical data — except the bars don't represent categories. They represent ranges of values, and their height shows how many data points fall in each range. Together, they show the shape of your data's distribution.

Use the free histogram maker to paste numeric values, adjust the bin count, and export the resulting distribution.

The core idea

Imagine you have 100 test scores. A histogram asks: how many scores fell between 50–60? Between 60–70? Between 70–80? Each range is called a bin, and each bar's height answers that question for its bin.

Unlike a bar chart where each bar is an independent category, histogram bars are continuous — adjacent bars share edges because the number line is continuous.

Anatomy of a histogram

  • Bin (interval) — the range of values each bar covers. All bins have equal width. Example: 10-point bins for test scores (60–70, 70–80, 80–90).
  • Frequency — the height of each bar, representing how many values fall in that bin (raw count).
  • X axis — the number line of the measured variable (scores, heights, temperatures).
  • Y axis — the count or frequency of values in each bin.
  • Bin width — how wide each range is. Fewer, wider bins give a smoother picture; more, narrower bins show more detail.

How to read a histogram

The overall shape of the bars tells the story:

ShapeWhat it meansExample
Bell curve (symmetric)Data clusters around a central valueHeights of adults
Right-skewed (tail right)Most values are low; a few are very highIncome distribution
Left-skewed (tail left)Most values are high; a few are very lowEasy exam scores
Bimodal (two peaks)Two distinct groups exist in the dataMixture of two populations
UniformValues spread roughly evenlyRolling a fair die many times
Spike / gapUnusual concentration or absence of valuesData entry errors, rounding

Histograms vs bar charts

They look similar but represent completely different data:

  • Histogram — continuous numerical data. Bars touch (no gaps). X axis is a number line. Order is fixed (numbers have a natural order).
  • Bar chart — categorical data. Bars have gaps. X axis has category labels. Order can be rearranged.

A histogram of exam scores shows how many students scored in each range. A bar chart of exam scores by subject shows how subjects compare. Same underlying data, completely different questions.

What histograms do not show

A histogram hides individual values. When you see a bar from 70–80 with height 15, you know 15 students scored in that range — but you don't know whether they scored 71 or 79. For small datasets where individual values matter, a dot plot or stem and leaf plot is more informative.

Histograms also don't directly show the median or quartiles. For a distribution summary with those statistics, use a box plot.

Choosing bin count

The number of bins dramatically changes what a histogram reveals. Too few bins: the distribution looks flat and featureless. Too many bins: noise drowns out the shape.

A practical starting rule: use the square root of your sample size (√n). For 100 data points, start with 10 bins. Adjust from there until the distribution shape becomes clear.

Real-world examples of each distribution shape

Understanding shape labels is easier with real dataset examples:

  • Bell curve (normal) — adult heights in a large population. Most people cluster around 170 cm (women) or 177 cm (men); very few are extremely short or tall. Both tails taper symmetrically.
  • Right-skewed — household incomes in most countries. Most households earn a modest amount; a small number earn extremely large amounts, pulling a long tail to the right. The median is well below the mean.
  • Left-skewed — age at death in a developed country. Most people live into their 70s–80s; very few die in infancy or childhood now, so the tail extends to the left. The median is above the mean.
  • Bimodal (two peaks) — heights in a mixed-gender population without separate male/female grouping. Two peaks emerge: one around 163 cm (women) and one around 177 cm (men). A bimodal histogram is almost always a sign that two subgroups are mixed in the data.
  • Uniform — the last two digits of a random sample of phone numbers (00–99). Each value should appear roughly equally often. A uniform histogram is flat across all bins.
  • Spike or gap — ages reported in survey data. Many surveys show spikes at round numbers (30, 40, 50) because people round their reported age. Gaps in otherwise continuous data suggest rounding, data entry errors, or excluded values.

When you see a bimodal histogram, the right next step is almost always to split the data by a likely grouping variable and make two separate histograms — one for each subgroup.

Skewness: which direction is the tail?

Skew describes where the long tail is, not where most data is:

  • Right (positive) skew — tail points right. The distribution has a few very high values. Most data piles up on the left. Mean > median.
  • Left (negative) skew — tail points left. The distribution has a few very low values. Most data piles up on the right. Mean < median.

A quick way to remember: the skew direction is the direction the tail points, not where the bulk of data sits.

When to use a histogram

When to use
  • You have continuous numerical data (measurements, scores, times, amounts)
  • You want to understand the shape, center, and spread of a distribution
  • You have 20+ data points (fewer points → dot plot is better)
  • You're checking whether data follows a normal distribution

FAQ

Q

What's the difference between a histogram and a frequency distribution?

A frequency distribution is the table — it lists each bin and its count. A histogram is the visualization of that table. They contain the same information; the histogram makes the shape visible quickly.

Q

Can a histogram show negative values?

Yes — if your data contains negative values (temperatures, profit/loss), the X axis extends into negative territory. The histogram works identically.

Q

Why do histograms use bins instead of showing exact values?

For large datasets, showing every individual value would produce hundreds or thousands of bars. Binning groups nearby values together to reveal the overall distribution shape rather than individual noise.

Q

How is a histogram different from a density plot?

A density plot is a smoothed version of a histogram — instead of discrete bars, it draws a continuous curve. Both show the same distribution shape; density plots are more aesthetically smooth but require more statistical assumptions.

References

How this guide is reviewed

This guide is maintained by the ChartsMakers Editorial Team and reviewed for statistical accuracy, product behavior, and clarity. Sources used for factual checks are listed in the References section. See our editorial policy.

Want to try it with your data?

Paste your data into the Histogram Maker.