A histogram shows how often values fall within specific ranges in a dataset. It takes continuous numerical data, like ages, weights, or test scores, groups them into intervals called bins, and uses the height of each bar to display how many data points land in each range. The result is a picture of your data’s overall shape, letting you see patterns that would be invisible in a spreadsheet.
What the Axes Represent
The horizontal axis (x-axis) represents the variable being measured, broken into equal-width ranges. If you’re looking at the ages of 500 people, for example, the x-axis might show ranges like 20–29, 30–39, 40–49, and so on. The vertical axis (y-axis) represents how many data points fall into each range. This is most commonly labeled as a frequency (the raw count) or a percentage of the total.
There’s also a less common version called a density histogram, where the y-axis is scaled so that the area of each bar, not its height, represents the proportion of data in that range. Density histograms are useful when comparing datasets of different sizes, but for everyday purposes, frequency and percentage histograms are what you’ll encounter most.
What Bins Are and Why They Matter
Because continuous data can take on virtually infinite values, a histogram groups those values into ranges called bins. A bin width of 10 years for age data, for instance, puts everyone aged 20 through 29 in one bar and everyone aged 30 through 39 in the next. The number of bins you choose changes how the histogram looks. Too few bins and you smooth out important details. Too many and the chart becomes noisy, with lots of short bars that make it hard to see the overall pattern.
There are mathematical rules for choosing bin width (the earliest and still widely used one is Sturges’ rule), and most software picks a reasonable default automatically. But if a histogram looks oddly jagged or suspiciously smooth, adjusting the bin width is the first thing to try.
Distribution Shape: The Main Insight
The most valuable thing a histogram reveals is the shape of your data’s distribution. That shape tells you a lot about what’s typical, what’s rare, and whether the data behaves predictably.
Symmetric (Bell-Shaped)
In a symmetric distribution, the left and right halves of the histogram are roughly mirror images. The classic bell curve is the most familiar example. When data is symmetric, the average, the middle value, and the most common value all land in roughly the same spot, making it easy to summarize with a single “typical” number. Age distributions in large, diverse samples often approximate this shape.
Skewed Right
A right-skewed histogram has a long tail stretching toward higher values. Most of the data clusters on the left, with a few unusually high values pulling the tail to the right. Income data is a classic example: most people earn in a middle range, but a small number of very high earners create that long right tail. In medical research, variables like creatinine levels and hospital stay duration often show this pattern. Data that has a natural lower bound (like zero) but no firm upper limit tends to skew right.
Skewed Left
A left-skewed histogram is the opposite: most values cluster on the right, with a tail extending toward lower values. This shows up when there’s a natural upper bound. Ejection fraction, a measure of how well the heart pumps blood, is a real-world example. Most healthy hearts score near the top of the scale, but disease pulls some values downward, creating that leftward tail.
Bimodal
Sometimes a histogram has two distinct peaks instead of one. This bimodal shape often signals that two different groups are mixed together in the same dataset. If you plotted the heights of all adults without separating by sex, you’d likely see two humps, one centered around the average height for women and another for men.
Spotting Outliers and Gaps
Histograms make unusual values jump out visually. An outlier appears as a lone bar sitting far from the rest of the data, clearly separated by empty space. If you’re looking at the shelf life of products and one bar sits far to the right of all the others, that product is lasting dramatically longer than the rest. If something isn’t even connected to the main cluster of bars, it’s almost certainly an outlier worth investigating.
Gaps, where entire ranges have zero data points, are just as informative. A gap might mean there’s a natural divide in your data, or it might point to missing measurements or a collection error. Either way, a histogram makes these empty zones obvious in a way that summary statistics like averages never would.
How a Histogram Differs From a Bar Chart
Histograms and bar charts look similar at a glance, but they serve different purposes. A bar chart displays categorical data: things like city names, product types, or survey responses that fall into distinct groups. A histogram displays numerical data that flows along a continuous scale. This distinction drives one key visual difference: the bars in a histogram touch each other, emphasizing that the data moves along a continuous number line. In a bar chart, the bars have gaps between them (typically 30 to 40 percent of the bar width) because each category is separate and independent.
If you’re charting the number of students in each academic department, that’s a bar chart. If you’re charting how many students scored within each ten-point range on an exam, that’s a histogram. Swapping the two leads to a chart that’s technically misleading, even if it still looks reasonable to a casual viewer.
Practical Uses in Health and Research
In medical and health research, histograms are a standard first step in exploring data. Researchers at institutions like the Mayo Clinic use them to check the shape of variables before running statistical tests, because many common tests assume the data follows a roughly bell-shaped distribution. If a histogram reveals heavy skew, researchers know to use different analytical methods or to transform the data first.
Beyond the lab, histograms are useful anytime you want to understand a batch of numbers. Looking at your monthly expenses over a year, a histogram would show whether most months cluster around the same amount or whether spending is all over the map. Tracking daily step counts, you’d quickly see whether your activity is consistent or whether a few very active days are inflating your average. The strength of a histogram is that it shows the full picture, not just a single summary number, so you can see what “normal” actually looks like in your data and how much variation exists around it.

