well you need to know the pitch. every turn of the bolt will produce 1 x pitch. (or fraction of) I suspect that no pitch means it's a m12 x 1.5 (coarse) but could be 1.75 too but that should be noted on the print. you said machined bolt (to me that means an inhouse made part) is the pitch on the print for the bolt?