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