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