The calculated distance (air line) between Swakopmund and Rehoboth is approximately 169 miles respectively 272 kilometers.
By car or train, the actual journey to Rehoboth is certainly longer, as only the direct route (as the crow flies) between Swakopmund and Rehoboth has been calculated here.
Air line (approximately)
272 kilometers
147 nautical miles