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