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