The calculated distance (air line) between Yāfā and Modiin Ilit is approximately 54 miles respectively 87 kilometers.
By car or train, the actual journey to Modiin Ilit is certainly longer, as only the direct route (as the crow flies) between Yāfā and Modiin Ilit has been calculated here.
Air line (approximately)
87 kilometers
47 nautical miles