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