Double Histogram Maker

Compare two distributions on one chart. Both data sets share the same bins, so differences in center, spread and shape stand out instantly.

  • 100% free
  • No sign-up
  • No watermark
  • PNG · JPG · SVG · PDF

Your work is saved automatically in this browser. Nothing is uploaded.

Analyze your data

ClassFreq.RelativeCum.Cum. %
[140, 145)00%00%
[145, 150)00%00%
[150, 155)00%00%
[155, 160)10.5%10.5%
[160, 165)84%94.5%
[165, 170)3819%4723.5%
[170, 175)3819%8542.5%
[175, 180)5929.5%14472%
[180, 185)4422%18894%
[185, 190)105%19899%
[190, 195]21%200100%
Total200100%

Your data

200 numbers
200 numbers

Separate numbers with commas, spaces or new lines. Paste a column from Excel or Google Sheets, or drop an .xlsx / .csv file here.

Start from an example

What is a double histogram?

A double histogram (or comparative histogram) plots two data sets, such as the heights of men and women or test scores before and after a course, on the same bins and axes. Because the bins line up, you can compare the two groups bin by bin instead of guessing across two separate charts.

How to make a double histogram

  1. Paste the first group’s values into the first data box and the second group’s into the second.
  2. Rename each data set so the legend reads clearly, for example “Before” and “After”.
  3. In the Bins tab, pick a bin width and choose Overlap, Side by side or Stacked.
  4. If the groups differ in size, switch the y-axis to Percent.
  5. Download the histogram or copy each group’s frequency table.

What to compare

  • Center: which group has higher typical values? Turn on the mean or median lines in the Design tab.
  • Spread: is one group more variable? Compare the standard deviations in the Statistics view.
  • Shape: is one group skewed or bimodal while the other is symmetric?
  • Overlap: how many values could belong to either group?

Tips for comparing histograms

  • Always use shared bins. Different bin widths make two histograms impossible to compare; this tool shares them automatically.
  • Use contrasting colors with about 60% opacity when the bars overlap.
  • Add the normal curve for each group to compare the overall shapes without the noise of individual bins.

Only have one group? Use the main histogram maker. Want proportions? Try the relative frequency histogram maker.

Frequently asked questions

What is a double histogram?

A double histogram shows the distributions of two data sets on the same axes, using the same bins. It makes it easy to compare where each group is centered, how spread out it is, and how much the two overlap.

Should I overlap the histograms or put them side by side?

Overlapping (semi-transparent) bars are best for seeing how much two distributions overlap. Side-by-side bars make exact heights easier to compare in each bin. Stacked bars show the combined total. Switch between them in the Bins tab.

My two groups have different sizes. How do I compare them fairly?

Switch the y-axis to Relative or Percent in the Bins tab. Each group is then scaled to its own total, so a group of 30 and a group of 300 can be compared directly.

Can I compare more than two data sets?

Yes. Click 'Add data set' to compare up to 6 groups on the same histogram.

How do I make a double histogram from a spreadsheet?

Put each group in its own column with a name in the first row. Click 'Import Excel / CSV', then choose a column for each data set, or click 'Plot every column as its own data set'.

More histogram makers