The calculated distance (air line) between Solothurn and Zürich is approximately 49 miles respectively 78 kilometers.
By car or train, the actual journey to Zürich is certainly longer, as only the direct route (as the crow flies) between Solothurn and Zürich has been calculated here.