← Back to context

Comment by mistercow

1 year ago

I wonder if this is related, but imperial measurements with a 5 in the numerator (and a power of two in the denominator) are generally just under a power of two number of millimeters.

The reason is fun, and as far as I know, historically unintentional. To convert from 5/(2^n) inches to mm, we multiply by 25.4 mm/in. So we get 5*25.4/(2^n) mm, or 127/(2^n) mm. This is just under (2^7)/(2^n) mm, which simplifies to 2^(7 - n) mm.

This is actually super handy if you're a maker in North America, and you want to use metric in CAD, but source local hardware. Stock up on 5/16" and 5/8" bolts, and just slap 8 mm and 16 mm holes in your designs, and your bolts will fit with just a little bit of slop.