Cylinder measurement and calculations