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