Class width formula