Find the range: highest value minus lowest value
Decide the number of classes
Divide the range by the number of classes
Round up to a convenient whole number if needed
Use the result as the class width
Check that all data values fit into the class intervals
