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