Originally Posted by
wschruba
There are two common M5 sizes, M5x0.8 (coarse thread) and M5x0.5 (fine thread).
My first source didn't list the M5x0.5 threading but further Googling did come up with it as a fine thread standard. However, I would be very surprised if any bike maker would bother with it.