Sturges’ Rule Calculator

Sturges’ Rule uses the following formula to determine the optimal number of bins to use in a histogram:
Number of bins = ⌈log2n + 1⌉
To apply Sturges’ Rule to a given dataset, simply enter the sample size of the dataset in the box below and then click the “Calculate” button.

Number of Bins to Use: 6

Leave a Reply

Your email address will not be published. Required fields are marked *