Home › Statistics & Probability Calculators › Histogram Maker (Free, Downloadable PNG)
Histogram Maker
Paste your data and this histogram maker draws a frequency histogram instantly. Leave the bin count blank to use Sturges’ rule (⌈log₂ n + 1⌉ bins), or set your own number of bins to match a textbook question. You can label the chart and axis, and download the finished graph as a PNG for a report or slide.
Below the chart is the frequency table with each bin’s range, count and relative frequency, plus the mean, median and standard deviation of the data. Bins are equal width across the range of the data, with the last bin closed on the right so the maximum value is included, the same convention as NumPy and most spreadsheet tools.
A histogram is the first thing to look at when checking whether data are roughly symmetric, skewed or bimodal before running a t-test or ANOVA. For comparing groups side by side, the box plot maker is often clearer, and for two variables use the scatter plot maker.
Separate values with commas, spaces or new lines.
Result and step-by-step solution
| Values (n) | 26 |
|---|---|
| Bins | 6 (Sturges: ⌈log₂ n + 1⌉) |
| Bin width | 6.1667 |
| Mean / median / SD | 83.8846 / 85 / 9.0126 |
| Bin | Frequency | Relative frequency |
|---|---|---|
| 62 to < 68.167 | 2 | 7.7% |
| 68.167 to < 74.333 | 2 | 7.7% |
| 74.333 to < 80.5 | 4 | 15.4% |
| 80.5 to < 86.667 | 7 | 26.9% |
| 86.667 to < 92.833 | 7 | 26.9% |
| 92.833 to 99 | 4 | 15.4% |
Frequently asked questions
- How many bins should a histogram have?
- Sturges’ rule gives ⌈log₂ n + 1⌉ (about 6 bins for 30 values, 8 for 100). Try a few settings; too few bins hide shape and too many make the chart noisy.
- What is the difference between a histogram and a bar chart?
- A histogram shows the distribution of one numeric variable with touching bars over equal intervals. A bar chart compares separate categories with gaps between bars.
- Which bin does a value on the boundary go in?
- Into the upper bin, except the maximum value, which is placed in the last bin. This matches NumPy’s histogram.
- How do I save the histogram?
- Click Download PNG under the chart. The image is rendered at 1280 × 720 pixels.
Last reviewed: September 25, 2026. Calculations run in your browser and were validated against SciPy.
