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