Terminology
In the UK we refer to these products as hexagon headed bolts and setscrews, however, in the USA they refer to them as cap screws.
Another confusing terminology associated with these is the fact that a grub srew is also reffered to as a set screw….confusing isn’t it.
Sizes
As mentioned, a set screw is fully threaded along the length of the body, therefore the length is stated by the measurement from under the head to the end.
The length of a bolt is also stated by the measurement from under the head to the end, but the length of the thread is determined by the diameter, as shown above.
Examples: M10 x 100 bolt = 26mm thread or 1/4″UNC x 2″ bolt = 3/4″ thread or 1/2″BSW x 5″ bolt = 1″ thread.
The plain section (known as the shank) is the remainder of the length.
Note: These sizes are based on the DIN and British Standard specifications for standard bolts, however some manufacturers choose to add an extra turn or two of thread which increase the overall thread length and shortens the resulting plain shank section. There are also less popular hexagon bolts with differing specifications.