Skip to content

Histogram Calculator

Statistics
0.0(0)

Helps determine class intervals and frequencies for constructing a histogram (visual representation of frequency distribution).

How To Use

How to use this calculator

Start with your values, or try a preset.

Step 1

Enter Number of Data Points, Minimum Value in Data Set, Maximum Value in Data Set, and Number of Classes (Suggested: sqrt(n)) in the units shown.

Step 2

Read Lower Bound of First Class, Range, Class Width, Rounded Class Width, and Upper Bound of First Class in the results panel. Results update as you change the inputs.

Step 3

Choose a preset to load an example, then adjust the values for your situation.

Worked Examples

Example calculations

See the inputs and their calculated results.

Small Dataset

Number of Data Points: 25; Minimum Value in Data Set: 5; Maximum Value in Data Set: 55; Number of Classes (Suggested: sqrt(n)): 5

Lower Bound of First Class: 5; Range: 50; Class Width: 10; Rounded Class Width: 10; Upper Bound of First Class: 15

Medium Dataset

Number of Data Points: 75; Minimum Value in Data Set: 10; Maximum Value in Data Set: 110; Number of Classes (Suggested: sqrt(n)): 8

Lower Bound of First Class: 10; Range: 100; Class Width: 12.5; Rounded Class Width: 12.5; Upper Bound of First Class: 22.5

Large Dataset

Number of Data Points: 150; Minimum Value in Data Set: 0; Maximum Value in Data Set: 100; Number of Classes (Suggested: sqrt(n)): 10

Lower Bound of First Class: 0; Range: 100; Class Width: 10; Rounded Class Width: 10; Upper Bound of First Class: 10

Explore the topic

Explore More Math & Statistics Calculators

Use calculators for algebra, geometry, trigonometry, probability, statistics, averages, z-scores, tests, and graphing tasks.

Explore tools
People Also Calculate

Related Calculators

Continue with another tool on a related topic.