Statistics Calculator › Histogram Maker

Histogram Maker

Paste your data to draw a histogram instantly, with a frequency table you can copy and an SVG you can download.

What a histogram shows

A histogram groups numeric data into equal width ranges (bins) and draws a bar for how many values fall in each. It shows the shape of the distribution at a glance: where values cluster, how spread out they are, whether the data is symmetric or skewed, and whether there are gaps or outliers.

How the bins are chosen

Left empty, the number of bins follows Sturges' rule, about log₂(n) + 1, and the width is rounded to a tidy number so the bin edges are easy to read. For 20 values that gives about 6 bins. Enter your own number to compare: too few bins hide the shape, too many make it noisy.

Each bin includes its lower edge and excludes its upper edge, so a value of 70 falls in the 70 to 75 bin, not 65 to 70. The last bin also includes the maximum.

Reading the shape

Histogram or bar chart?

Use a histogram for numbers on a continuous scale, with touching bars. Use a bar chart for separate categories, with gaps between bars. For a five number summary view of the same data, see the box plot in the statistics calculator.

Formulas follow the NIST/SEMATECH e-Handbook of Statistical Methods: histograms.

Frequently asked questions

How many bins should a histogram have?

There is no single right answer. Sturges' rule (about log₂ n + 1) is a reasonable start for small and medium data sets. Try a few values and choose the one that shows the shape most clearly.

Can I download the histogram?

Yes. Press "Download SVG" under the chart to save it as a scalable image you can use in documents and slides.

Is my data uploaded anywhere?

No. The histogram is drawn in your browser and nothing is sent to a server.

More statistics calculators