The calculated distance (air line) between Ruiru and Naivasha is approximately 47 miles respectively 76 kilometers.
By car or train, the actual journey to Naivasha is certainly longer, as only the direct route (as the crow flies) between Ruiru and Naivasha has been calculated here.