How to use the histogram maker
- Paste your numbers into the box: one column from a spreadsheet, or values separated by commas or spaces.
- Leave Bins on Automatic, or choose your own number of bins or bin width (and, optionally, where the first bin starts).
- Add a title and axis label, and pick counts or percentages for the vertical axis.
- Click Make histogram. Tick Overlay a normal curve to compare your data with a bell curve.
- Read the description of the shape and the frequency table, then download the chart as a PNG.
How a histogram is built
A histogram splits the number line into equal-width ranges called bins, counts how many values fall in each, and draws a bar for every bin. The automatic setting picks the number of bins with Sturges' rule, then rounds the width to a tidy number like 2, 5 or 10.
Number of bins: k = ⌈log2 n⌉ + 1
Bin width: w ≈ max − mink
Relative frequency: count in binn × 100%
- n
- How many values are in the data set
- k
- The number of bins (bars)
- w
- The width of each bin, rounded to a convenient number
- ⌈ ⌉
- Round up to the next whole number
- max − min
- The range of the data: the largest value minus the smallest
Worked example
A clinic records how long 12 patients wait, in minutes: 3, 7, 8, 12, 14, 15, 15, 18, 21, 22, 27 and 35. Build a frequency table for a histogram with bins 10 minutes wide.
-
Find the range
35 − 3 = 32 minutes
-
Choose the bins: width 10, starting at 0, so 0–10, 10–20, 20–30 and 30–40
k = 4 bins
-
Count the values in each bin
0–10: 3, 10–20: 5, 20–30: 3, 30–40: 1
-
Find the tallest bar's relative frequency
512 × 100% = 41.7%
What it means: the most common wait is 10 to 20 minutes, which covers 41.7% of patients. The bars fall away more slowly on the right, where one patient waited 35 minutes, so the waits are slightly skewed to the right. That's typical for waiting times, which can't go below zero but occasionally run long.
How to read a histogram
- Center: where the tallest bars are. For a quick number, the mean and median summarize the center.
- Spread: how wide the bars reach. A wide histogram means the values vary a lot; the standard deviation measures this.
- Shape: symmetric, skewed right (long tail of large values) or skewed left (long tail of small values). The calculator measures this with the skewness coefficient.
- Peaks: one peak is typical. Two separate peaks often mean two different groups are mixed in the data, like the heights of adults and children together.
- Gaps and outliers: isolated bars far from the rest are worth checking. They may be data entry errors or genuinely unusual cases.
The shape you see depends partly on the bins you choose. If a feature appears with one bin width but disappears with another, it is probably noise. Real patterns tend to show up across several reasonable settings.