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