The calculated distance (air line) between Margherita and Masaka is approximately 138 miles respectively 221 kilometers.
By car or train, the actual journey to Masaka is certainly longer, as only the direct route (as the crow flies) between Margherita and Masaka has been calculated here.
Air line (approximately)
221 kilometers
119 nautical miles