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