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