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