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