Histogram Maker

Step 1 / 3

Paste one number per line, or paste CSV or tab-separated data. The first numeric column is used.

Values
Minimum
Maximum
Mean
Median
Histogram bin table
BinRangeFrequency
Accepted values

Turn a column of measurements into an honest view of its distribution without uploading a spreadsheet. Paste one number per line, or paste CSV or tab-separated rows and this Histogram Maker finds the first numeric column, groups its values into equal-width bins, and draws the frequency bars locally in your browser. Keep the automatic bin suggestion, choose a count from 2 to 100, inspect the exact bin table, then export SVG, PNG or CSV.

How to make a histogram

  1. 1

    Paste numeric data

    Use one value per line, or paste a CSV or tab-separated column. A header and non-numeric rows are ignored and reported.

  2. 2

    Set the bins

    Keep the automatic count or choose from 2 to 100 equal-width bins. The automatic setting uses the spread of the values and has a safe fallback for repeated values.

  3. 3

    Read the distribution

    Review the bars, minimum, maximum, mean, median and the accessible table showing every bin range and frequency.

  4. 4

    Export locally

    Download a scalable SVG, a 1200 × 720 PNG or the bin summary as CSV.

What a histogram shows

A histogram summarizes one numeric variable by splitting its range into adjacent intervals called bins. The horizontal axis is the value range, and the vertical axis is the number of observations in each range. Unlike a bar chart, the bins are continuous numeric intervals: touching bars show that the underlying values can fall anywhere along the same scale.

For a chosen minimum a, maximum b and k equal-width bins, the width is:

bin width = (b − a) / k

Each input value is counted once. A value equal to the maximum goes into the final bin so no observation disappears at the upper boundary. This tool uses an interquartile-range based automatic suggestion when the data has enough spread, with a Sturges-rule fallback when that width would be unusable. You can always override it with a manual count.

Bin range Example values Frequency
10 to 15 12, 14, 15 3
15 to 20 16, 18, 19 3
20 to 25 21, 24 2

The intervals in a real histogram share borders, so a boundary convention is needed. The visual range labels are rounded for readability; the internal counts use full numeric precision.

Choosing a useful number of bins

Too few bins can hide separate clusters. Too many make random noise look meaningful. Start with the automatic result, then try one modestly smaller and one modestly larger count. A conclusion that changes radically with a small bin adjustment deserves more data or a second diagnostic, not a stronger claim.

Histograms are especially useful for spotting a long tail, a possible outlier, a gap, multiple peaks, or an unexpectedly wide spread. They do not prove a distribution, explain a cause, or replace a statistical test. A single repeated value is displayed in one centered bin so the tool can remain truthful about a dataset with no spread.

Histograms versus bar charts

Use a histogram for measured or counted numeric values such as response time, length, temperature, score or purchase amount. Use a bar chart for named categories such as products, countries or survey answers. Reordering a categorical bar chart is fine. Reordering a histogram is not, because the numeric order and contiguous bins carry the meaning.

All parsing, binning and rendering happen in the current browser tab. The data is not sent to a chart service, placed in the funnel URL or stored in a request to our servers. Funnel settings are kept only in this tab’s session storage and can be cleared with Start over or by closing the tab.

For background, see the NIST/SEMATECH Engineering Statistics Handbook on histograms, the W3C guidance on accessible data tables, and MDN’s SVG accessibility reference.

Frequently Asked Questions

Yes. Paste a numeric column directly. The tool also accepts comma-separated, semicolon-separated and tab-separated rows, then uses the first column containing numeric values. A text header and other non-numeric rows are ignored and the notice tells you how many rows were skipped.

Each bin combines nearby values into one count. Wider bins smooth detail; narrower bins show more local variation. Neither choice is universally correct. Compare a few sensible counts and avoid treating a single displayed shape as proof of a pattern.

Yes. Finite negative values, positive values and decimals can be binned together. The value parser accepts common decimal notation, including Arabic digit forms. Empty, non-numeric and infinite values are excluded rather than turned into zero.

There is no numeric range to divide, so the tool shows one centered bin containing every accepted value. That is a faithful indication of zero observed spread, not a conventional multi-bin distribution.

No. Parsing, chart creation and exports run locally in your browser. In the optional multi-step view, the current input and settings are kept only in this tab’s session storage so they survive the next step. They are not included in the URL or sent in a server update.

Related Tools

Tool available in other languages