Histogram Maker

Turn raw numbers into a professional frequency histogram in seconds for free, online, and no sign-up required. Auto-calculates optimal bin widths and shows live descriptive statistics.

Drag & Drop your CSV or Excel file here or

Supported formats: CSV, Excel (.xlsx, .xls)

Enter one numeric value per row below. You can also paste a column of numbers from Excel or Google Sheets directly into the table.

Customization

Bin Settings

X-Axis Range (optional)

Colors

Bar Opacity
80
Border Width
1
Histogram Maker

Made with DataViz Kit

See the kinds of histograms you can build with this tool.

Frequency histogram showing distribution of test scores Score Distribution
Probability density histogram with custom color Probability Density
Sales data histogram with custom bins Sales Data Histogram

What is a Histogram?

A histogram is a statistical chart that displays the frequency distribution of a continuous dataset. Unlike a bar chart which compares discrete, separate categories, a histogram groups numerical data into adjacent intervals called bins (or class intervals). The height of each bar represents the count (frequency) of values that fall within that range, giving you an immediate visual summary of how your data is distributed.

Histograms are one of the most fundamental tools in exploratory data analysis (EDA). They reveal the underlying shape of a distribution whether it is symmetric, skewed left or right, bimodal, or uniform and help analysts spot outliers, clusters, and gaps that raw numbers alone cannot convey. Our free online histogram maker handles all the calculations automatically, letting you focus on interpreting the story your data tells.

When to Use a Histogram

  • Visualizing the distribution shape of test scores, measurements, or survey responses
  • Identifying whether data follows a normal (bell-curve) distribution
  • Detecting outliers and gaps in a dataset
  • Analyzing process performance in quality control (e.g., product dimensions)
  • Summarizing large datasets like hundreds or thousands of values into a readable chart
  • Comparing frequency distributions before and after a change

Histogram vs Bar Chart โ€” Key Difference

This is the most common point of confusion. A bar chart compares distinct categories (apples vs oranges, Q1 vs Q2) with gaps between the bars. A histogram displays a continuous numerical range with no gaps โ€” the touching bars visually communicate that the data flows from one interval directly into the next. If you have categories, use our bar graph maker. If you have a column of numbers you want to understand the spread of, a histogram is the right tool.

How Bin Count Affects Your Histogram

The most important decision in creating a histogram is choosing the number of bins. Too few bins and you lose detail because the entire distribution compresses into two or three large bars. Too many bins and you get noise as every value gets its own bar and the shape becomes impossible to read.

Our histogram graph generator offers four methods so you always get an appropriate starting point:

  • Sturges' Rule (default): bins = โŒˆlogโ‚‚(n) + 1โŒ‰. Works best for roughly normal distributions with up to a few hundred data points. The most widely taught formula in introductory statistics.
  • Square Root Rule: bins = โŒˆโˆšnโŒ‰. A simple, conservative rule that avoids over-smoothing. Useful when data is uniformly distributed.
  • Rice Rule: bins = โŒˆ2 ยท n^(1/3)โŒ‰. A middle-ground formula that tends to produce slightly more bins than Sturges' for larger datasets.
  • Custom: enter any number of bins between 2 and 100. Use this when you have domain knowledge about meaningful class intervals (e.g., age groups in 5-year bands).

After generating your chart, try adjusting the bin count up and down to see which setting reveals the most useful pattern in your data.

Key Features of Our Free Histogram Maker

Flexible Data Input

  • Upload Excel (.xlsx, .xls) or CSV files with header rows detected and skipped automatically
  • Paste a column of numbers directly from Excel or Google Sheets with Ctrl+V
  • Enter values manually in the single-column data table
  • Supports any numeric format including decimals and negatives

Live Descriptive Statistics

Every time you generate a histogram, a statistics panel updates instantly showing count, mean, median, standard deviation, minimum, and maximum for your dataset. This removes the need to open a spreadsheet separately as the core descriptive statistics are right next to the chart.

Full Visual Control

  • 4 auto-binning methods plus manual bin count (2โ€“100 bins)
  • Custom X-axis range to focus on a specific data window
  • 7 color presets with individual fill and border color pickers
  • Bar opacity and border width sliders for fine-tuned styling
  • Optional frequency labels on each bar
  • Probability Density mode which normalizes the Y-axis to show relative density instead of raw counts, useful for comparing distributions of different sizes
  • Chart title and axis labels that appear on all exported files

Three Export Formats

  • PNG: high-resolution with transparent background, perfect for reports and slides
  • JPEG: smaller file size for presentations and web use
  • SVG: true scalable vector export with bars, axes, gridlines, and labels โ€” not a screenshot of the canvas

How to Make a Histogram Online โ€” Step by Step

1

Enter Your Data

Type values into the table, paste a column from Excel or Google Sheets, or upload a CSV/Excel file. Each row should be one numeric value.

2

Choose Bin Settings

Select Sturges' Rule for a sensible default, or switch to Custom to specify exactly how many intervals you want. Optionally set an X-axis range to exclude outliers.

3

Customize Appearance

Pick a color scheme, adjust opacity and border width, add a chart title and axis labels, and toggle frequency labels or density mode.

4

Export Your Chart

Download as PNG or JPEG for slides and reports. Download as SVG for a crisp, infinitely scalable vector file that works in any design tool.

Histogram Maker for Excel Users

Excel's built-in histogram tool requires enabling the Analysis ToolPak add-in, configuring bin ranges manually in a separate column, and re-running the tool every time your data changes. Our histogram maker for Excel users is simpler: copy your data column (including any header row and the tool auto-detects and skips it), paste it directly into the data table, and your histogram is ready in one click. No add-ins, no bin configuration tables, no re-running. If you need the chart in Excel afterward, download the PNG or SVG and insert it as an image.

Understanding Distribution Shapes

Once you have your histogram, here is how to read what the shape is telling you:

  • Bell curve (normal distribution): symmetric, single peak in the center. Common in natural measurements like height or test scores. Mean โ‰ˆ median โ‰ˆ mode.
  • Right-skewed (positively skewed): long tail on the right, most values clustered on the left. Common in income data, time-to-failure data. Mean > median.
  • Left-skewed (negatively skewed): long tail on the left. Common in age-at-retirement data. Mean < median.
  • Bimodal: two distinct peaks. Often signals two different groups mixed in one dataset (e.g., exam scores for two classes combined).
  • Uniform: all bins roughly equal height. Suggests values are spread evenly across the range, possibly from a random or flat distribution.
  • Right-heavy with outlier spike: most bars short, one bar much taller at the extreme. Inspect those values; they may be data entry errors or legitimate anomalies.

Probability Density Histograms

When comparing two datasets of different sizes, raw frequency counts are misleading because the larger dataset will always look taller. Enabling Probability Density mode in our tool normalizes the Y-axis so that the total area of all bars equals 1. This lets you compare the shape of distributions directly, regardless of sample size. It is the format used in academic publications and statistical software like R and Python's matplotlib.

Our Other Statistical and Data Visualization Tools

Ready to Visualize Your Distribution?

Whether you are a student analysing survey responses, a data analyst checking normality assumptions, or a quality engineer reviewing process measurements, our free online histogram maker delivers publication-ready charts in under a minute. Enter your data above and generate your first histogram with no sign-up, no watermarks, and no limits.

Explore our full suite of free data visualization tools.

Frequently Asked Questions about Histograms

A bar chart compares separate, discrete categories โ€” there are visible gaps between the bars. A histogram displays the frequency distribution of a single continuous numerical variable โ€” the bars touch each other because the data flows from one interval directly into the next. Use a bar chart to compare things like "sales by region." Use a histogram to understand the spread and shape of a continuous dataset like "ages of survey respondents" or "product weights."

There is no single correct answer, but Sturges' Rule โ€” bins = โŒˆlogโ‚‚(n) + 1โŒ‰ โ€” is a widely accepted default for datasets under a few hundred values. For 50 data points this gives roughly 7 bins; for 200 it gives about 9. If the auto-calculated result hides important features of your distribution, switch to Custom mode and manually test 5, 10, 15, and 20 bins to find which reveals the most useful pattern. The goal is to show the shape clearly without either over-smoothing or adding noise.

Select your column of numbers in Excel (including the header row if it has one), copy it with Ctrl+C, then click anywhere in the data table on this page and paste with Ctrl+V. The tool automatically strips the header and fills in all values. Alternatively, save your data as a CSV file and drag it onto the upload zone. Both methods are faster than using Excel's Analysis ToolPak, which requires configuring a separate bin range column before generating the chart.

A frequency histogram shows how often values fall within each interval (bin). The X-axis represents the range of values divided into equal-width bins, and the Y-axis shows the count of data points in each bin. It answers questions like "how many students scored between 70 and 80?" or "how many products weigh between 500g and 510g?" Taller bars mean more values fall in that range; shorter bars mean fewer values.

A probability density histogram normalizes the Y-axis so the total area of all bars equals 1. Instead of showing raw counts, each bar height represents the probability density โ€” how likely a randomly selected value is to fall in that bin. This format is useful when comparing two distributions of different sample sizes, because raw frequency counts would make the larger dataset look artificially more prominent. Enable it using the "Show Probability Density" toggle in the customization panel.

Yes. The SVG export on this tool generates a true vector file from the chart data. It is not a screenshot of the canvas. The file includes the bars, axes, gridlines, axis labels, and chart title as scalable vector paths, which means it will print sharply at any size and can be edited in tools like Illustrator, Figma, or Inkscape. This is the format to use for academic publications, high-resolution posters, or professional reports.

Yes, DataViz Kit is 100% free. You can generate unlimited histograms, access all binning methods, customization controls, and live statistics, and download PNG, JPEG, and SVG files without creating an account or paying any fee. Your data is also never uploaded to our servers and all processing happens locally in your browser.

The statistics panel updates every time you generate a chart and shows six key measures. Count is the total number of values. Mean is the arithmetic average. Median is the middle value when sorted and is less affected by outliers than the mean. Standard deviation measures how spread out values are from the mean; a small std dev means values cluster tightly, a large one means they are widely spread. Min and Max are the smallest and largest values in your dataset.

A frequency distribution table lists the same information as a histogram in text form with each bin range alongside its count and percentage. A histogram is the visual representation of that table. Our tool automatically calculates the frequency distribution behind the scenes when you generate your chart. You can read the exact counts by hovering over the bars in the interactive tooltip, which shows both the count and the percentage of the total for each bin.