Histogram Calculator

Build a histogram of a dataset with equal-width bins and see the frequency in each bin.

Result
—

How to calculate

Choose a class count or enter your own width. Count observations within each interval and divide by the total for relative frequencies.

Worked example

Use Data values 1, 2, 3, 3, 4, 7, 8, 8 · Number of classes 4. The result is 8 observations.

Input and result notes

Intervals include their lower endpoint. Only the final interval also includes its upper endpoint. A custom width overrides the requested number of classes.

Omni's statistics reference

Related calculators