The calculated distance (air line) between Hanoi and Ba Vì is approximately 30 miles respectively 48 kilometers.
By car or train, the actual journey to Ba Vì is certainly longer, as only the direct route (as the crow flies) between Hanoi and Ba Vì has been calculated here.