No menu items!

Sturges’ Rule Calculator


Suppose that we are given a large number of raw data values. The data values need to be divided into class intervals in order to present them in the form of a frequency distribution table.

The Sturges rule is used to calculate the number of intervals that the data must be divided into. The obtained frequency distribution can also be used to draw a histogram for the data values.

In order to obtain the optimal number of class intervals, simply enter the total number of data values in the Sturges’ Rule Calculator below.

Number of Bins to Use: 6

It is important to use the Sturges rule to calculate the optimal number of bins/class intervals because if there are too few class intervals then the resulting frequency distribution will not be very informative.

On the other hand, if there are too many bins then the resulting frequency distribution will be too detailed and it will become difficult to interpret the data.

The Sturges rule is given by the formula, \text{Number of class intervals k}=log_2(N) + 1.

Here, k denotes the optimal number of class intervals/bins and N denotes the total number of data values. If the value of k is a decimal fraction then it must be rounded up to the nearest integer value.

Hey 👋

I'm currently pursuing a Ph.D. in Maths. Prior to this, I completed my master's in Maths & bachelors in Statistics.

I created this website for explaining maths and statistics concepts in the simplest possible manner.

If you've found value from reading my content, feel free to support me in even the smallest way you can.

Share this article

Recent posts

Popular categories

Recent comments