πŸ›  Utilities & Productivity

Histogram Generator

Paste numbers, pick the number of bins and see a text histogram with bin ranges and counts. Free, runs in your browser.

Loading calculator…
Share: WhatsApp Facebook X / Twitter

What This Calculator Tells You

A histogram shows how values are distributed: how many fall into each range (bin). It reveals things averages hide β€” whether data is clustered, skewed, spread out or has two peaks.

Paste your numbers and choose the number of bins. The tool splits the range from the smallest to the largest value into equal-width bins and draws a quick text histogram with the count in each.

What to Enter

  • Numbers β€” values separated by commas, spaces or new lines.
  • Bins β€” how many equal-width ranges to use. A common starting point is the square root of the number of values (e.g. 10 bins for 100 values).

Worked Examples

1. Customer ages

22, 25, 27, 31, 33, 34, 35, 38, 41, 45, 47, 52 with 4 bins.

  • Bin width 7.5; counts 3, 4, 2, 3 for 22–29.5, 29.5–37, 37–44.5 and 44.5–52.
  • Most customers are in their late 20s to mid 30s.

2. Order values

Paste 200 order totals with 14 bins.

  • A long tail to the right is typical: most orders are small, a few are large. That is why median order value is often more useful than the mean.

3. Page load times

Two separate peaks suggest two groups β€” for example, cached and uncached pages β€” worth investigating separately.

  • Try a few different bin counts; the right number makes the shape clear without hiding detail.

How to Read Your Result

  • Symmetric bell shape: mean and median are similar; standard deviation describes spread well.
  • Skewed right (long tail of high values): use the median for a typical value.
  • Two peaks: you may have two different groups mixed together.
  • Gaps or isolated bars: possible outliers or data-entry errors.

Common Mistakes to Avoid

  • Too few bins hide the shape; too many make it noisy.
  • Including text or blank cells β€” only numbers are counted.
  • Comparing histograms with different bin widths side by side.
  • Confusing a histogram with a bar chart. Histograms show ranges of one numeric variable; bar charts compare categories.
Built and maintained by GenAlpha Tools Editorial. Uses the standard published formula shown above. How we calculate · Report an error

When to Use This Calculator

  • Check the distribution of sales, ages, response times or scores.
  • Spot skew and outliers before running statistics.
  • Choose between mean and median for reporting.
  • Teach or learn how distributions work.

Frequently Asked Questions

How many bins should I use?

Start with about √n (square root of the number of values), then adjust until the shape is clear. Sturges' rule (1 + logβ‚‚n) is another common guide.

How is bin width calculated?

Bin width = (maximum βˆ’ minimum) Γ· number of bins. The highest value is placed in the last bin.

Can I download the chart?

The output is text you can copy. For a styled image, paste the bin counts into a spreadsheet chart.

Is my data uploaded?

No. Everything is calculated in your browser.

Do you store the values I enter?

No. All calculations happen in your browser. Your data never leaves your device.

Related Guides

Related Calculators