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