The calculated distance (air line) between Gan Yavne and Ramat Gan is approximately 21 miles respectively 34 kilometers.
By car or train, the actual journey to Ramat Gan is certainly longer, as only the direct route (as the crow flies) between Gan Yavne and Ramat Gan has been calculated here.