Home » Math Theory » Statistics and Probability » Histogram

Histogram

Quick answer

A histogram is a graph that shows how often values fall into equal ranges (called bins or class intervals) of numerical data. The ranges go along the x-axis, the frequency goes up the y-axis, and the bars touch because the ranges join with no gaps. Unlike a bar graph, which compares separate categories, a histogram shows the shape of continuous data such as heights or test scores.

Reviewed by the Helping with Math Team · Updated 22 October 2026

What is a histogram?

In Statistics, a histogram is used to show a frequency distribution: how many values lie in each range. Students usually meet histograms in Grade 8 or earlier, and practice Histogram worksheets with real data.

Frequency distribution

Start with a frequency table. Split the data into equal ranges and count the values in each.

Example 1

Twenty students scored: 52, 58, 61, 63, 65, 67, 68, 71, 72, 73, 74, 76, 77, 78, 81, 83, 85, 88, 92, 96. Make a frequency table with ranges of 10.

Solution

50 to 59: 2. 60 to 69: 5. 70 to 79: 7. 80 to 89: 4. 90 to 99: 2. The counts add up to 20, so every score is counted once.

Histogram of 20 test scores in bins of 10 from 50 to 100, with touching bars024685060708090100Test score (bins of 10)FrequencyScores of 20 students
The histogram of Example 1. Each bar covers a range of 10 marks, the bars touch, and the tallest bar (70 to 79) shows where most scores are.

Parts of a histogram

  • Title: what the data is about.
  • x-axis: the ranges (bins) of the data, written in order with no gaps.
  • y-axis (y-axis): the frequency, or how many values are in each bin.
  • Bars: one for each bin. The height shows the frequency, and neighboring bars touch.

How to draw a histogram

  1. Find the smallest and largest values.
  2. Choose a bin width so you get about 5 to 10 equal bins.
  3. Count the values in each bin to make a frequency table.
  4. Draw the axes: bins along the bottom, frequency up the side.
  5. Draw a bar for each bin up to its frequency, with no gaps between bars.
  6. Add a title and label both axes.

The bin width changes how the histogram looks. Bins that are too wide hide details; bins that are too narrow make the shape bumpy.

Histogram vs bar graph

Histograms look like bar graphs, but they are used for different data.

Histogram compared with a bar graphHistogramBar graph5060708090Test scores (bars touch)RedBlueGreenFavorite colors (gaps)
A histogram shows number ranges, so its bars touch. A bar graph shows separate categories, so its bars have gaps.
HistogramBar graph
Numerical (quantitative) dataCategories (qualitative) data
Bars touchGaps between bars
Bins are in a fixed number orderBars can be in any order
Shows the shape of the dataCompares separate groups
Example: heights in ranges of 5 cmExample: favorite fruit

Types of histograms (shapes)

  • Symmetric (bell shaped): the left and right halves are mirror images, with most values in the middle. Heights of adults often look like this.
  • Skewed right: a long tail to the right. Most values are low with a few very high ones, such as household incomes.
  • Skewed left: a long tail to the left. Most values are high with a few low ones, such as scores on an easy test.
  • Uniform: all bars about the same height, such as the results of rolling a fair die many times.
  • Bimodal: two peaks, often because two groups have been mixed together.
Histogram shape explorer

Symmetric: one peak in the middle, both sides alike. 200 values, 10 bins of width 10.

Try it: choose a data shape and a bin width. The explorer draws a histogram of 200 values from 0 to 100. Wider bins smooth the picture; narrower bins show more detail.

Example 2

A histogram of the ages of people at a playground has a tall bar at 0 to 10 years and another tall bar at 30 to 40 years, with short bars between. What shape is it and why?

Solution

It is bimodal: there are two peaks, one for children and one for their parents.

Key facts and summary

  • A histogram shows how many values fall in each equal range of numerical data.
  • The bars touch because the ranges join.
  • The x-axis shows the bins; the y-axis shows the frequency.
  • Shapes include symmetric, skewed right, skewed left, uniform and bimodal.
  • Bar graphs are for categories; histograms are for numbers.

Histograms are one of the many tools in mathematics for making sense of data.

More practice: Constructing Statistical Displays 6th Grade Math Worksheets and Understanding Picture Graph and Bar Graph 2nd Grade Math Worksheets.

Check yourself: histograms
4 quick questions. Tap an answer to see if you are right.

  1. Do the bars in a histogram have gaps between them?

  2. The bar over 60 to 70 reaches a height of 8. What does that mean?

  3. A histogram has a tall left side and a long tail to the right. What is its shape?

  4. Which data set suits a histogram?

Answered 0 of 4.

Each answer shows a short explanation. Press Try again to reset the quiz.

Histogram FAQs

What is a histogram used for?

To show how numerical data is spread out: where most values are, how wide the spread is and what shape the data has.

Why do the bars in a histogram touch?

Because the bins are ranges that join each other. One bin ends exactly where the next begins.

What is the difference between a histogram and a bar graph?

A histogram shows numerical data in ranges with touching bars. A bar graph compares categories and has gaps between bars.

How do you choose the bin width?

Pick a width that gives about 5 to 10 equal bins across the range of the data. Round numbers such as 5 or 10 are easiest to read.

What does a skewed histogram mean?

The data has a long tail on one side. Skewed right has a few very high values; skewed left has a few very low values.

Practice with worksheets

Link/Reference Us

We spend a lot of time researching and compiling the information on this site. If you find this useful in your research, please use the tool below to properly link to or reference Helping with Math as the source. We appreciate your support!

  • "Histogram". Helping with Math. Accessed on November 18, 2026. https://helpingwithmath.com/histogram/.

  • "Histogram". Helping with Math, https://helpingwithmath.com/histogram/. Accessed 18 November, 2026.

  • Histogram. Helping with Math. Retrieved from https://helpingwithmath.com/histogram/.