Bug/500 diameter calculator