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