Histogram Maker

Turn your numbers into an easy-to-read frequency graph in seconds. This free histogram maker sorts your values into bins and shows exactly how often each range shows up. Paste your data or upload a CSV. No signup, no software to learn. Your file stays on your device and never touches a server.

Enter Your Data

Comma-separated values, one series per bar.

TITLEBar Graph
NO.BGC–0001
SCALEAUTO
DATE—
Max0
Min0
Avg0
Categories0

Embed on your website

How to Make a Histogram With This Tool

This free histogram maker takes a few seconds to get from raw numbers to a finished chart:

  1. Add your data. Paste raw numbers separated by commas or line breaks, or upload a CSV file. The tool ignores blank cells and text by mistake, so you do not need to clean the file first.
  2. Let the tool set the bins, or choose your own. The default bin count is calculated from your sample size. You can raise or lower it to see how the shape of the chart changes.
  3. Adjust labels and colors. Add a title, label both axes, and pick colors that print well if the chart is going into a report.
  4. Export or embed. Download the chart as a PNG or SVG file, or copy the embed code to place it directly on a blog post, worksheet, or slide.

What Is a Histogram?

A histogram is a chart that shows how often values fall within set ranges. Each bar covers one range, called a bin. The height of the bar shows how many data points landed inside that range. Histograms work with continuous numbers, things like age, weight, test scores, or delivery time.

Histogram vs Bar Graph

People confuse these two because they look similar at first glance. A bar graph compares separate categories, like sales across five regions or votes for four candidates. The bars have gaps, and you can place them in any order. A histogram shows how one continuous variable is distributed, and the bars touch because they must stay in numeric order, each one representing a range of values, not a separate item.

A quick way to tell which one you need: ask if you can rearrange the bars without losing meaning. If yes, you want a bar graph. If the order matters because the bars represent a range of numbers, you want a histogram.

If your question is “how do these groups compare to each other,” use a bar graph. If your question is “how are these values spread out,” use a histogram.

How Many Data Points Do You Need?

A histogram needs enough values to show a real pattern instead of random noise. Most statisticians suggest at least 20 to 30 data points before the shape of the bars becomes reliable. Below that, a single unusual value can distort the whole chart. If you have fewer than 20 numbers, a simple list or a dot plot will usually tell you more than a histogram will.

How Many Bins Should You Use?

This is the question most people get stuck on, and there is no single correct answer for every data set. Too few bins hide the real shape of the data. Too many bins turn the chart into noise that is hard to read.

The most widely used method is Sturges’ rule, published by statistician Herbert Sturges in the Journal of the American Statistical Association in 1926. It sets the number of bins as:

Number of bins = 1 + log₂(n)

where n is the number of data points. With 30 values, this comes out to about 6 bins. With 100 values, it comes out to about 8 bins.

Two other methods are worth knowing:

  • Square root rule: Number of bins equals the square root of n. This is a fast estimate that works well for smaller data sets.
  • Freedman-Diaconis rule: This method looks at the interquartile range of your data instead of just the sample size, so it adjusts automatically when a data set has outliers or an uneven spread.

This histogram graph maker applies a sensible starting bin count for you, based on your sample size, so you never need to calculate anything by hand. You can still move the bin control to test different counts and compare how each version looks.

Reading the Shape of a Histogram

Once your chart is built, its shape tells you something real about the data behind it.

  • Bell-shaped: Values cluster in the middle and drop off evenly on both sides. Statisticians call this a normal distribution, and it shows up often in things like height or measurement error.
  • Right skewed: Most values sit on the lower end, with a smaller number of high values stretching the tail to the right. Household income and home prices commonly look this way.
  • Left skewed: The mirror image of a right-skewed chart, with most values on the higher end and a tail stretching left. Scores on an easy test often look this way.
  • Bimodal: Two separate peaks instead of one. This usually means two different groups are mixed into a single data set, such as combining the heights of children and adults.
  • Uniform: The bars are roughly the same height across the whole chart, meaning every range holds about the same number of values.

Finding the Median, Mode, and Outliers From a Chart

A histogram does more than show shape. It can also point you toward key numbers in your data set.

The tallest bar marks the range where the most values are clustered, which is close to the mode. The median sits near the middle of the chart if the bars are roughly symmetric, though it will lean toward the shorter tail in a skewed chart. Outliers appear as isolated, short bars sitting far away from the main cluster of taller bars, which is often the fastest way to spot a data entry error or a genuinely unusual result.

Frequency vs Relative Frequency

A standard histogram shows the count of values in each bin on the vertical axis. This is a frequency histogram, and it answers questions like “how many students scored between 70 and 80.”

A relative frequency histogram, sometimes called a probability density histogram, shows each bin as a share of the total instead of a raw count, so all the bars add up to 1 or 100 percent. This version is useful when you want to compare two data sets of different sizes, since raw counts would not be a fair comparison.

Histogram Maker vs. Excel or Google Sheets

Spreadsheet tools can build a histogram, but there’s a real cost to doing it that way:

FeatureThis Histogram MakerExcel / Google Sheets
SetupPaste data, done in secondsManually enable Analysis ToolPak or build bins with formulas
Bin sizingAuto-calculated (Sturges’ rule), adjustable with a sliderManual, formula-driven
Learning curveNoneRequires knowing FREQUENCY(), bin arrays, or chart menus
Data privacyStays on your deviceStored in your cloud account
ExportPNG, SVG, embed codeScreenshot or copy-paste chart image
CostFree, no accountFree with account, or paid for advanced features

If you already live in a spreadsheet for other analysis, Excel or Sheets can get the job done. If you just need a clean, accurate histogram fast, a dedicated tool skips the formula work.

Worked Examples

Classroom scores. A teacher records the test scores of 30 students, ranging from 52 to 98. Sturges’ rule suggests about 6 bins. The histogram might show most scores clustering between 70 and 86, with a small group scoring below 60. That pattern points to most of the class understanding the material, with a few students who may need extra support, something a plain list of 30 numbers would not show clearly.

Delivery times. A small business tracks how long 50 orders took to arrive, in days. The histogram reveals a right-skewed shape, most orders arriving in 2 to 4 days, with a thin tail stretching out to 10 days. That tail is the real story, since it points to a shipping problem worth investigating rather than a typical delay.

Package weights. A quality control team checks the weight of 200 packaged items meant to weigh 500 grams. A histogram centered tightly around 500 grams with short, even tails on both sides suggests the packaging process is consistent. A wider spread, or a second peak, would suggest a machine calibration issue.

Frequently Asked Questions

It works best with raw, individual values. If your data is already grouped into ranges, enter the original numbers instead so the tool can calculate accurate bin widths from the actual spread.

Yes. This tool applies one bin width across the whole chart, since uneven widths would make bars impossible to compare fairly.

Not in one chart here, since this tool builds one histogram from one set of values at a time. Build two separate histograms with the same bin settings so the shapes can be compared side by side.

Turn on the Underflow or Overflow bin option, and any values below Min or above Max get bundled into one edge bin instead of being dropped from the chart.

Yes. Enter a value in the Bin Width field to override the default, or adjust Total Bins directly, and the chart rebuilds with your setting.

About This Page

This guide was written and reviewed by Muhammad Umer Shuaib, who builds and maintains bargraphmaker.co along with other educational web tools like a grade calculator. The examples and explanations on this page are created specifically for this guide. This page is reviewed and updated when important information or tool features change.