π 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.
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.
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
Text Bar Chart Generator
Turn labels and values into a quick text bar chart you can paste into email, Slack or reports, with total and max.
Calculate Now β πSurvey Results Analyzer
Paste survey answers by question to get answer counts for text questions and averages for rating questions. Free and private.
Calculate Now β