Skip to content
ihateDesmos

Histogram maker

Paste a list of numbers and get a histogram with a frequency table. It picks sensible bins automatically, or you can set your own, and you can download the chart as an image.

6065707580859095100024681012ScoreFrequencyExam scores
Frequency table
BinFrequencyRelative frequency
60 to 7028%
70 to 80520%
80 to 901144%
90 to 100728%
Mean
83.56
Median
85
Standard deviation
9.12907
Values
25

How to make a histogram

  1. 1
    Paste your numbers, separated by commas, spaces or new lines.
  2. 2
    Leave the bins blank for an automatic choice, or type how many you want. Try a few, because the picture can change.
  3. 3
    Add a title and label, then download the chart as PNG or SVG.

Histogram or bar chart?

A histogram shows the distribution of a single numerical variable: the x-axis is a continuous scale cut into ranges, so the bars touch. A bar chart compares separate categories, like favourite colours, so its bars have gaps and can be reordered. If you could shuffle the bars without losing meaning, you want a bar chart.

How to choose the number of bins

Too few bins hide the shape; too many turn it into noise. A common starting point is Sturges’ rule, which uses about log₂(n) + 1 bins, and is what the automatic setting starts from, rounded to tidy bin edges. So 100 values get about 8 bins.

Each value counted goes into the bin that contains it, with a value on a boundary going into the higher bin, except at the very top of the range.

What the shape tells you

  • Symmetric, one peak: close to a bell curve, so the mean and median agree.
  • Right-skewed: a long tail of high values, like incomes. The mean is above the median.
  • Left-skewed: a long tail of low values, like scores on an easy exam.
  • Two peaks: often two different groups mixed together.

Frequently asked questions

How do I make a histogram online for free?
Paste your numbers above. The histogram and frequency table appear straight away, and you can download the chart with no sign-up.
What is a frequency table?
A table listing each bin and how many values fall in it. Relative frequency is that count as a percentage of all the values.
Why do histogram bars touch?
Because the x-axis is a continuous scale: one bin ends exactly where the next begins.
Can I make a histogram from a frequency table?
This tool works from raw values. To use a frequency table, repeat each value by its count, or use the full calculator’s histogram function.

Related tools and guides

Try the histogram maker

It opens instantly, with no account and nothing to install.

Open the calculator