Reading graphs · 6 min read

How to read a histogram

The first graph to draw for any numeric variable. What the shapes mean, and how not to be fooled by the bin width.

Advertisement
Updated November 2026 · Plain English

A histogram is often the first graph you should draw for any numeric variable. It shows the whole shape of the data at once: where values cluster, how spread out they are, whether the distribution is symmetric or lopsided, and whether there are surprises such as two peaks or isolated extreme values. This guide explains how to read one, the shapes you will meet most often and what each implies for your analysis, and the one setting (the bin width) that can make the same data look completely different.

What a histogram shows

A histogram divides the range of the data into intervals called bins and draws a bar for each bin whose height is the number of values falling inside it. The horizontal axis is the measured variable; the vertical axis is the count (or sometimes the proportion or density).

Histogram vs bar graph

They look similar but answer different questions. A bar graph compares a summary (usually the mean) across separate categories, and the order of the bars is arbitrary. A histogram shows the distribution of a single continuous variable; the bars touch because the bins are adjacent ranges of one scale, and their order is fixed.

The shapes you will see most often

ShapeWhat it looks likeTypical examplesWhat it means for analysis
Symmetric, bell-shapedOne central peak, tails of similar length on both sidesMeasurement error, heights, many lab assaysMean and SD describe it well; t-tests and ANOVA are appropriate.
Right-skewedPeak on the left, long tail stretching to the rightIncomes, reaction times, concentrations, hospital staysMean is pulled above the median. Consider medians, a log transformation, or rank-based tests.
Left-skewedPeak on the right, long tail to the leftScores on an easy exam, age at death in rich countriesMean is pulled below the median. Same options as right skew.
BimodalTwo distinct peaksA mix of two groups (e.g. responders and non-responders)A single mean misrepresents everyone. Look for a hidden grouping variable.
UniformRoughly flatRandom numbers, evenly spread datesMean is fine; extremes are not unusual.
Isolated bar far from the restA gap, then a lone barData-entry errors, unit mix-ups, true extremesInvestigate before analysing; see handling outliers.

A useful quick check on skewness: compare the mean with the median. In a right-skewed distribution, mean > median; in a left-skewed one, mean < median. In a symmetric one, they are close. See mean vs median.

Bin width changes the picture

The same data can look smooth, jagged, or even two-peaked depending on how many bins you use:

Common starting rules suggest about √n bins, or Sturges' rule: log2(n) + 1 bins (about 7 bins for 100 values). There is no single correct choice; the honest approach is to check that any feature you report (a second peak, a gap) is still visible at a couple of different bin widths. StatFlo lets the plotting library choose bin edges automatically, with up to 30 bins, which works well for typical sample sizes.

How many values do you need?

Histograms of small samples are unreliable. With 10 values, the shape is mostly noise: even data drawn from a perfect normal distribution will often look lopsided or lumpy. As a rough guide, histograms become informative from about 30 values and dependable from about 100. For small samples, a dot plot or a box plot with individual points shows the same information more honestly.

Comparing groups with histograms

Overlaying the histograms of two or three groups (as StatFlo does, with semi-transparent bars) works well when the groups have similar sample sizes and do not overlap too heavily. Keep these points in mind:

A checklist for reading any histogram

  1. Centre: where is the bulk of the data?
  2. Spread: how wide is the range of typical values?
  3. Shape: symmetric, skewed left or right, one peak or two?
  4. Unusual values: isolated bars, gaps, or impossible values (negative weights, percentages above 100)?
  5. Sample size: are there enough values for the shape to mean anything?
  6. Robustness: would the main features survive a different bin width?

Making one in StatFlo

  1. Upload a file with one or more numeric columns.
  2. Choose Histogram as the graph type and select the columns you want.
  3. Label the X axis with the variable and its units; the Y axis shows counts.
  4. Use what you see to choose your summary statistics and test: a symmetric shape points to means and t-tests or ANOVA; a skewed one points to medians and Mann-Whitney U or Kruskal-Wallis. The test picker walks you through the decision.

Draw a histogram of your data.

Upload a CSV or Excel file and choose Histogram: one click per variable, groups overlaid.

Open StatFlo