The calculated distance (air line) between Ecublens and Schaffhausen is approximately 127 miles respectively 204 kilometers.
By car or train, the actual journey to Schaffhausen is certainly longer, as only the direct route (as the crow flies) between Ecublens and Schaffhausen has been calculated here.
Air line (approximately)
204 kilometers
110 nautical miles