@mhoye Nifty. As they're pretty close to 0.6/1.6, I just add a half and a tenth to go km -> mi, and add that to the original value to go the other way mi -> km. Some prefer to divide by 5 then multiply by 3 (same 0.6 ratio) but I find 2 simple additions to be easier (for my brain).
@0xThylacine Yep, my way exactly. And for some reason when we talked about miles at school, the number 1.609344 got burned into my head. Though I can't seem to remember the value for nautical miles...