The calculated distance (air line) between Glenrothes and Glasgow is approximately 48 miles respectively 77 kilometers.
By car or train, the actual journey to Glasgow is certainly longer, as only the direct route (as the crow flies) between Glenrothes and Glasgow has been calculated here.
Air line (approximately)
77 kilometers
41 nautical miles