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